https://www.youtube.com/watch?v=PUEF9bM5s2E
The idea is to use face recognition and blockchain (especially matic) to have an automated payment systems for public transports. Imagine Tag based tollways for humans without the need for any hardware / physical cards. You can simply walk in, we'll scan the face and deduct the costs from your eth blockchain wallet.
- Install all dependencies using
pipenv install
in the face-rec folder - Install all node dependencies in the matic folder using
npm install
- Start the python web server using python3 app.py inside the face-rec folder
- Register a face at
localhost:5000/signup
- Test the product at
localhost:5000/camera-in
and thenlocalhost:5000/camera-out
- Dlib face recognition module
- openCV
- Flask server
- Web3.js
- maticJS
- NodeJS server
Feature: Facial Recognition
# The first example has two steps
Scenario: User enters into X metro station
Then the facial recognition platform looks for the user in database.
Then An api is called for the transection of blockchain contract to init
# The second example has three steps
Scenario: User Exits from Y metro station
Then The facial recognition looks for the user in database
Then it calculates the fare for the distance travelled
Then An api is called for the deduction of fare from the smart contract