0

i'm trying to detect ellipse egg-like shaped objects using opencv. color detection doesn't work properly in my case, because of different lighting angles. how would i be able to detect ellipse egg-like shapes in a real world environment?

things i've tried so far:

  • color detection (too many different lighting angles)
  • contour matching
  • calculating the form factor of the object

i can include my code if needed, but i don't think it will add much value.

FrankK
  • 482
  • 8
  • 23
  • 3
    Could you provide sample images? – Rick M. Jun 09 '17 at 10:14
  • Have you tried color detection in different colorspaces? Color range thresholds are a little non-intuitive to set up. – alkasm Jun 09 '17 at 10:31
  • 1
    Possible duplicate of [ellipse detection in opencv python](https://stackoverflow.com/questions/42206042/ellipse-detection-in-opencv-python) – Ramesh-X Jun 09 '17 at 15:31

0 Answers0