1 | initial version |
ok, your camera is seeing enough water for saying if the object is close of not to the boat. Try what I have mentioned:
You can detect the boat, the other object and the distance on water between them. try to interpret the distance on a log scale and set a threshold like if the converted distance (as exp(dist)
) is smaller than it, the object is close.
HINT: you can have 2 areas: front and side for different actions...
Try a first version and come back if you get stocked.