how to detect and count pills (capsules)
Which algorithm is use full to detect pills and capsules. And after detection count the number of capsules on the table using opencv android.
Since I am not a favorite of providing of the shelf solutions but rather insights on how to tackle this problem, I will try to explain how I would go ahead with this problem.
as per our discussion , i am use findContours then after find area and drawContours but camera distance give different number pills from different distance. how to solve distance problem ? you have any idea regarding this.
Hello @Nehalkumar I am working on the pill count project in my college . Can you let me know how you did it so that I can have an idea.
Asked: 2014-07-23 02:15:28 -0600
Seen: 2,643 times
Last updated: Jul 31 '14
First of all, before people start suggesting approaches, are these images examples of the cases this is going to be used on? These seem as google grabbed examples, whereas computer vision problems depend A LOT on the actual situation, so providing examples that will need the algorithm to work on, will be much better.
How to detect capsules from image using opencv android ? Just now i am using generalize Hough transform algorithm to detect capsules
... answer my question !
These images are from google. But in my criteria 5 to 10 capsule on table and user start app camera and count the capsules. like i have 10 live capsules on table and count it
background is white(normal no another item at background) and light is appropriate for detect. it's depend on shape(cylinder shape)
Then please add pictures that represent your problem. If I describe a solution for these images, which are quite difficult, then it will never work for you ...
Hello StevenPuttemans i upload images please check and give solution how to detect all pills using opencv android
I do not provide copy paste solutions. I will think about some guidelines and get back to you.
ok i am also think on it and you get then update me . Thank you....