arunponnusamy / cvlib

A simple, high level, easy to use, open source Computer Vision library for Python.
http://arunponnusamy.com/cvlib/
MIT License
647 stars 127 forks source link

Invalid bounding boxes returned occasionally #40

Open LukeBilsborrow opened 3 years ago

LukeBilsborrow commented 3 years ago

Sometimes the bounding boxes returned by the detect_faces method are invalid. I'm having a issue where some bounding boxes have the same start and end x (zero total width) and sometimes the start_y is LARGER than end_y.

Any idea why this might be? These boxes are clearly not as intended

arunponnusamy commented 3 years ago

Hey @LukeBilsborrow , can you share a sample image and the code you are using so that I can reproduce this issue on my end and see what's going on ?