Skip to content

5. How to use

ZerenZhao edited this page Apr 16, 2023 · 3 revisions

Code

Go to the GitHub: https://github.com/Zeren-Zhao/parcel_sorting_car/

Run

  1. Down load the code
  2. Extract all
  3. Open terminal
  4. Use cd get in the folder which contains the main.cpp
g++ -pthread main.cpp -o main -lwiringPi -lzbar -usr/local/include/opencv2 -lopencv_core -lopencv_highgui -lopencv_imgproc -lopencv_imgcodecs -lopencv_video -lopencv_videoio
./main

Clone this wiki locally