Skip to content Skip to sidebar Skip to footer

Detecting Object In An Image With Python Pil

I want to Detect objects in an image by using simple python pil codes. For example Open an image and tell me how many objects are in the image but not too professional. Can someone

Solution 1:

I don't think PIL/Pillow is the correct tool for this. I have successfully implemented object detection on images by using opencv (installing pyopencv and importing cv2). The install was not so straight forward, but once you are able to import cv2 then it is just a matter of calling cv2.matchTemplate with the correct parameters. Hope it helps.


Post a Comment for "Detecting Object In An Image With Python Pil"