项目作者: Barbalho12

项目描述 :
Authentication system with facial identification using a BeagleBone Black
高级语言: C++
项目地址: git://github.com/Barbalho12/face-detector.git
创建时间: 2016-06-10T23:55:00Z
项目社区:https://github.com/Barbalho12/face-detector

开源协议:

下载


Face Detector

Authentication system with facial identification using a BeagleBone Black

Network settings on host

  1. sudo su
  2. iptables --table nat --append POSTROUTING --out-interface wlan0 -j MASQUERADE
  3. iptables --append FORWARD --in-interface eth1 -j ACCEPT
  4. echo 1 > /proc/sys/net/ipv4/ip_forward

Network settings on Beagle

  1. sudo su
  2. route add default gw 192.168.7.1
  3. echo "nameserver 8.8.8.8" >> /etc/resolv.conf
  4. /etc/init.d/networking restart

Installing [OpenCV] on BeagleBone Black

Dependency Installation:

  1. sudo apt-get install build-essential
  2. sudo apt-get install cmake git libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev
  3. udo apt-get install python-dev python-numpy libtbb2 libtbb-dev libjpeg-dev libpng-dev libtiff-dev libjasper-dev libdc1394-22-dev
  1. # Download OpenCV:
  2. wget https://github.com/opencv/opencv/archive/3.1.0.zip
  3. # Finalizado o download execute:
  4. unzip opencv-3.1.0.zip
  5. cd opencv-3.1.0/
  6. mkdir release
  7. cd release
  8. cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local ..
  9. make
  10. sudo make install

Note: To run the program you still need to install other libraries that can be found at the repository algorithm-analysis-in-beagle:

Configurando ambiente

To run the server, just compile the project in [QT] and run it.

To run the project on the client, run the script compila.sh:

  1. ./complila.sh

And then execute passing the parameters:

  • IPCAM (camera IP or 0 case connected via usb)
  • IP_SERV (server IP)
  • SLEEP_TIME (wait time between each read)
  • SIZE_FACE_MIN (minimum face size detected in pixels)
  1. ./detectFace-client IP_CAM IP_SERV SLEEP_TIME SIZE_FACE_MIN

By default:

  • IPCAM=0
  • IP_SERV=192.168.7.1
  • SLEEP_TIME=4
  • SIZE_FACE_MIN=200

Print screen of the system in operation

F1

F2

F3

F4

F5

[QT]: https://www.qt.io

[OpenCV]: https://opencv.org