J joneden Active Member Licensed User Longtime User May 2, 2014 #1 Hi All, I'm converting an application that I have for Windows to run on an industrial PC running Android. I have used Aforge to take the webcam input and do some analysis looking for blobs of specific colours. Now I need to do this on Android. Is anyone aware of any library that will look at an image and then indicate if there is the presence of a certain colour. The analysis would need to work for the colour +/- a certain range and also to have a minimum blob size to ensure that single pixel detection doesn't fire an affirmative hit. I'm hoping that there is something out there as I dread having to write my own code for this! Thanks in advance for any pointers. Regards Jon
Hi All, I'm converting an application that I have for Windows to run on an industrial PC running Android. I have used Aforge to take the webcam input and do some analysis looking for blobs of specific colours. Now I need to do this on Android. Is anyone aware of any library that will look at an image and then indicate if there is the presence of a certain colour. The analysis would need to work for the colour +/- a certain range and also to have a minimum blob size to ensure that single pixel detection doesn't fire an affirmative hit. I'm hoping that there is something out there as I dread having to write my own code for this! Thanks in advance for any pointers. Regards Jon
Erel B4X founder Staff member Licensed User Longtime User May 4, 2014 #2 Do you want to do it in realtime? You can use the camera preview event to get the preview frames. You will need go over the bitmap data and analyze it. Upvote 0
Do you want to do it in realtime? You can use the camera preview event to get the preview frames. You will need go over the bitmap data and analyze it.
J joneden Active Member Licensed User Longtime User May 6, 2014 #3 Hi Erel, Yes was wanting to do it in real time. My main issue is that I have potentially multiple colours that I am watching out for so have to check one at a time. I'm thinking at the moment that I need to look into the OpenCV Java code and strip that back for my purposes. Assuming that no better solutions are available. Regards Jon Upvote 0
Hi Erel, Yes was wanting to do it in real time. My main issue is that I have potentially multiple colours that I am watching out for so have to check one at a time. I'm thinking at the moment that I need to look into the OpenCV Java code and strip that back for my purposes. Assuming that no better solutions are available. Regards Jon