+ 1
How to find out number of straw's in a given packet through image processing using open CV python
2 Respuestas
+ 6
Assuming you have a good top-down view of the packet of straws, you should be able to select a good threshold value to binarize the image so that the edge of straws appear white and the inner hollow part of the straws appear black. With a bit more enhancements if necessary, you should be left with a binary image consisting of blobs. You should then be able to detect and count the number of blobs using SimpleBlobDetector.
https://stackoverflow.com/questions/8076889/how-to-use-opencv-simpleblobdetector
+ 1
Thanks