I’m rendering a dynamically changing numpy bitmap array and trying to improve my framerate. Currently I’m using openCV: This takes ~20ms, which is not bad. But can I do better? Setting this has no noticeable effect. But does openCV offer a better technique than imshow to make use of a GL drawing surface? And is there any viable alternative to
Tag: bitmap
How to convert and save a list of ints to a bitmap image?
I’m trying to convert a list of numbers that I believe represent bytes that together constitute a bitmap image, into said image file (saved to disk) and/or simply converted into a form usable by tesseract. I’d prefer to be able to visualize the images, though, to make sure the conversion actually worked properly. I don’t know the shape of the