hongbii Active Member Licensed User Longtime User Jul 21, 2015 #1 Hello all, is there a way to process image by using camera library? for example recognize some word or colour without taking the picture?(b4a and b4i)
Hello all, is there a way to process image by using camera library? for example recognize some word or colour without taking the picture?(b4a and b4i)
hongbii Active Member Licensed User Longtime User Jul 21, 2015 #3 thank you for reply, what should i do if i want to do some simple image process by using camera?
Erel B4X founder Staff member Licensed User Longtime User Jul 21, 2015 #4 I'm afraid that there is no such thing as simple image processing. If you want to find a word then you can use an ocr web service: https://www.b4x.com/android/forum/pages/results/?query=ocr This however is not suitable for real time recognition.
I'm afraid that there is no such thing as simple image processing. If you want to find a word then you can use an ocr web service: https://www.b4x.com/android/forum/pages/results/?query=ocr This however is not suitable for real time recognition.
hongbii Active Member Licensed User Longtime User Jul 21, 2015 #5 Thank you for the information Mr Erel, Erm if just want to recognize the majority colour of the picture in certain time interval or if i want to use the camera to read the UART data from maybe colour LED generate by microcontroller.(Just doing experiment) is that possible to do that? What should i study ? Thank you very much.
Thank you for the information Mr Erel, Erm if just want to recognize the majority colour of the picture in certain time interval or if i want to use the camera to read the UART data from maybe colour LED generate by microcontroller.(Just doing experiment) is that possible to do that? What should i study ? Thank you very much.
Erel B4X founder Staff member Licensed User Longtime User Jul 22, 2015 #6 You can convert the preview image to a standard Bitmap and then go over the bitmap pixels. It will probably be too slow for anything useful.
You can convert the preview image to a standard Bitmap and then go over the bitmap pixels. It will probably be too slow for anything useful.
wonder Expert Licensed User Longtime User Jul 23, 2015 #7 How is the preview converted into a bitmap?
Erel B4X founder Staff member Licensed User Longtime User Jul 23, 2015 #8 See this example: https://www.b4x.com/android/forum/threads/23601/#content