Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/imagemlt/pilocker
Face recognition application build on raspberry pi with webpy and face++ api
https://github.com/imagemlt/pilocker
raspberry-pi webpy
Last synced: about 9 hours ago
JSON representation
Face recognition application build on raspberry pi with webpy and face++ api
- Host: GitHub
- URL: https://github.com/imagemlt/pilocker
- Owner: imagemlt
- Created: 2017-07-25T15:38:14.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-08-21T02:28:05.000Z (about 7 years ago)
- Last Synced: 2023-10-19T19:10:22.756Z (about 1 year ago)
- Topics: raspberry-pi, webpy
- Language: HTML
- Size: 3.4 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PiLocker
## what is it
This application is a face recognition application build on raspberry pi with webpy and face++ api.## requires
* Raspberry Pi with Raspbian
* Specific camera module for RPi
* Python with webpy and PiCamera extension
* Face++ sdk
> note: this application run on 800x600 screen,and by default uses the gpio 7.
## start
just type
```shell
./PiLocker.py
```
then the web application will run and you can lauch it with your browser.
To make the application be accessed after the raspberry pi booted, you should do the following to enable the application run with full-screen chrome browser.
edit the file:
```shell
sudo nano /etc/xdg/lxsession/LXDE-pi/autostart
```
Comment out this line:
```shell
@xscreensaver -no-splash
```
Add these lines:
```shell
@xset s off @xset -dpms @xset s noblank /usr/bin/chromium --noerrdialogs --kiosk --incognito "http://localhost:8080"
```
edit the /etc/rc.local, add these lines before the line "exit 0":
```shell
cd YOUR_PROJECT_BASE_DIR && python ./PiLocker.py &
```
Then you can enjoy the lock.