Skip to content

asmorkalov/OpenCV-Edison-IoT-Lab

Repository files navigation

  1. Setup

Презентация: https://docs.google.com/presentation/d/1QTjIc7SYYPDvMjUz48SvLBXkPsa0FZaft1zA4e31U6g/edit?usp=sharing

$ sudo apt-get install -y wget git cmake build-essential
$ git clone <repo_path>
$ ./setup.sh # installs all required deps
  1. Simple processing

$ cd 1.Simple
$ cmake -DOpenCV_DIR=../opencv-build/
$ make
$ ./simple ../lena.png
  1. Live video

$ cd 2.Live
$ cmake -DOpenCV_DIR=../opencv-build/
$ make
$ ./live
  1. Face detection

$ cd 3.FaceDetect
$ cmake -DOpenCV_DIR=../opencv-build/
$ make
$ ./facedetect ../lena.png
  1. Edges - device

$ cd 3.FaceDetect
$ cmake -DCMAKE_TOOLCHAIN_FILE=../edison.toolchain.cmake -DOpenCV_DIR=../opencv-build-board/
$ make
scp ./facedetect root@192.168.2.15:/home/root/
scp ../lena.png root@192.168.2.15:/home/root/
$ ssh root@192.168.2.15 "/home/root/facedetect /home/root/lena.png"
  1. FaceDetect - device

$ cd 3.FaceDetect
$ cmake -DCMAKE_TOOLCHAIN_FILE=../edison.toolchain.cmake -DOpenCV_DIR=../opencv-build-board/
$ make
scp ./facedetect root@192.168.2.15:/home/root/
scp ../lena.png root@192.168.2.15:/home/root/
$ ssh root@192.168.2.15 "/home/root/facedetect /home/root/lena.png"
  1. Общее

Сессия screen для работы с устройством: sudo screen /dev/ttyUSB0 115200

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published