K kkingstoun Member Licensed User Longtime User May 27, 2013 #1 Is it possible to measure the brightness of the image - the camera preview? I need a real-time measure several points on the screen or the whole screen . I used the class cameraExclass to see the live view. I get an array of bits. What shows the individual bits in the array? Kking
Is it possible to measure the brightness of the image - the camera preview? I need a real-time measure several points on the screen or the whole screen . I used the class cameraExclass to see the live view. I get an array of bits. What shows the individual bits in the array? Kking
Erel B4X founder Staff member Licensed User Longtime User May 28, 2013 #2 How many frames per second do you need to handle? You can use CameraEx.PreviewImageToJpeg, then create a Bitmap from the bytes array (InputStream.InitializeFromBytesArray with Bitmap.Initialize2) and use Bitmap.GetPixel to get the pixels colors. Upvote 0
How many frames per second do you need to handle? You can use CameraEx.PreviewImageToJpeg, then create a Bitmap from the bytes array (InputStream.InitializeFromBytesArray with Bitmap.Initialize2) and use Bitmap.GetPixel to get the pixels colors.
K kkingstoun Member Licensed User Longtime User May 28, 2013 #3 May I ask You, how many frames I could get? I would like to test this solution in lite paramedical uses so more is better for me. Upvote 0
May I ask You, how many frames I could get? I would like to test this solution in lite paramedical uses so more is better for me.
Erel B4X founder Staff member Licensed User Longtime User May 30, 2013 #4 You will need to test it. It depends on many factors including the device and preview size. I believe that at least a few images per second. Upvote 0
You will need to test it. It depends on many factors including the device and preview size. I believe that at least a few images per second.