SaraKit it is equipped with two motor drivers and interfaces for two cameras, which enables the construction Line follower.
Run sample Linefollower
We've prepared simple example which shows how to run LineFollower with SaraKIT, its avilable on this repository.
Example requires opencv so we need to install it
sudo apt-get install python3-opencv
for now you can run sample which controls the engines depending on the deviation of the line from the center-target
You can find C++ and Python code for Raspberry Pi4 in the
SaraKIT Github repository: