OpenCV Installation
sudo apt-get install libopencv-dev
sudo apt-get install python-opencv
sudo pip3 install imutils
sudo pip3 install opencv-python
The libopencv-dev is a meta package. It has dependencies to many packages that do
contain the necessary libraries and header files that OpenCV require.
Python-OpenCV and OpenCV-Python are libraries of Python bindings designed to solve
computer vision problems.
More information:
https://docs.opencv.org/3.0-beta/doc/py_tutorials/py_setup/py_intro/py_intro.html
Imutils contains a series of convenient functions which make basic image processing
functions such as translation, rotation, resizing, skeletonization, and displaying Matplotlib
images easier with OpenCV.
More information:
https://github.com/jrosebr1/imutils
libatlas-base-dev libjasper-dev libqtgui4 python3-pyqt5 libqt4-test are Python packages
for FPV functions and sending jpeg stream to PC.
Then you need to install zmq and pybase64 for FPV function:
sudo apt-get install libatlas-base-dev libjasper-dev libqtgui4 python3-pyqt5 libqt4-test
sudo pip3 install zmq pybase64
libatlas-base-dev libjasper-dev libqtgui4 python3-pyqt5 libqt4-test are Python packages
includes the static libraries and symbolic links needed for program development.
Zmp(ZeroMQ): Carries messages across inproc, IPC, TCP, TIPC, multicast.
Homepage: http://zeromq.org/
pybase64: It provides a fast base64 implementation for base64encoding/decoding.
Homepage: https://github.com/mayeut/pybase64
Download Packages for WS_2812:
sudo pip3 install rpi_ws281x
rpi_ws281x is a Raspberry Pi library for controlling WS281X LEDs.
Download Program for the PiCar-B
git clone https://github.com/adeept/Adeept_PiCar-B.git
Set AP-Hotspot
Configure the Raspberry Pi as the Wi-Fi hotspot mode to build up a direct communication
between the PC and the car.
If the RPi Car starts and there is no Wi-Fi to connect with, the RPi Car will set a
AP-Hotspod itself. You can connect it with your PC:
Search Wi-Fi SSID name: AdeeptCar
Password: 12345678