Hello. I am new and I need to know which of the following are possible which make with B4A and not because they are supported by a mobile. It is an application that analyzes images in real time to show some information at the end of the process.
- Start the camera. It is possible using the library CameraEx.
- Access the camera preview: if the function Sub Camera1_preview (Data () As Byte) of the same library.
- Extract RGB values of each pixel vector Data ()?. I think this format Data Ybr.
-Loop through all the pixels for values. Do you think that will be too slow? Can you capture less resolution to go faster?
All this should make about 20 times per second. Is it too much effort for a phone?
I will share a small library which can convert from NV21 to RGB888 in short (provided that you don't plan to do the same app, and rate mine with many stars ).
Many Thx JordiCP.
It is very nice, but not usefull for my problem, sorry.
Some way I can process preview images, but I need to process as quick as I can the full resolution image that comes from _PictureTaken event, without saving it, and hopefully without having out-of-memory problems.
Anyway thank you very much for your effort.
Any other suggestion will be greatly appreciated.