EasyManua.ls Logo

ADEEPT RaspTank - Opencv Color Recognition; Opencv Watch Dog Function

ADEEPT RaspTank
69 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
www.adeept.com
62
After connection, the program will save the IP address. For the next use, if the IP address
of the Raspberry Pi has not changed, you may press Enter directly next time to connect.
After the connection is made successfully, the Video window shows up.
Now you may control the car by the keyboard based on the instructions on the GUI.
OpenCV Color Recognition
By default, the Robot finds the biggest yellow object in its view and follows it. When it gets
close enough, it would stop, and if it gets too close to the yellow object, it would go back.
OpenCV Watch Dog Function
If the camera on the robot detects an object moving or changing, the LEDs on the robot
will turn red. This feature is developed based on Adrian Rosebrock's OpenCV code on
pyimagesearch.com. You can also learn more about the OpenCV to gain more fun to play
with, such as syncing the captured image to the dropbox after detecting the motion of the
object. The example program we provide just makes the LEDs display red however. For
other functions, you can install the corresponding packages according to your needs, just
by changing the code in FPV.py.

Related product manuals