wsh32 / airhockey

PIE Final - Air Hockey Playing Robot
2 stars 0 forks source link

Puck tracker doesn't always capture puck #28

Closed wsh32 closed 2 years ago

wsh32 commented 3 years ago

Depending on lighting, the puck isnt always tracked.

Case where it works: image

Case where it doesn't work: image

We may need to either figure out a way to have consistent lighting or recalibrate the color tracker. The HSV values are currently found in src/airhockey_vision/config/detect_green.yaml.

wsh32 commented 3 years ago

Also sometimes it doesnt capture the center correctly image

wsh32 commented 3 years ago

images.zip

Heres a bunch of test images

iserrato commented 3 years ago

Lighting would help with this issue significantly

wsh32 commented 2 years ago

switched to a matte blue vinyl cut puck: image

Looks like this issue is mostly resolved. Note that there are a couple of odd cases where the system picks up the blue "Air" text instead of the puck, but this was fixed by coloring in that light blue with a black sharpie