Skip to content

BlackbirdLabss/face-detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


FDetect
FDetect

Just click and get result of Face Detection.

FeaturesRequirementsIPCam ConfigurationInstalationCreditsColabolator

My Project GIF

Key Features

  • Face Detection
    • HOG model
    • Haarcascade model
  • Visualization
    • Data realtime total face in line chart
  • Show total face has been detection
  • Input camera from source has connect in computer
  • Input source from IPCam using RTSP protocol

Requirements

  • Ezviz IPCam (You can use another IPCam product like Hikvision)
  • Python 3.3+ or Python 2.7
  • Windows
  • Anaconda

IPCam Configuration

Using Cable LAN
  1. Connect your rj45/lan cable to your pc like this
    FDetect
  2. Type "ipconfig" in cmd and look ip address for adapter lan to check whether the cable is connected to the PC
  3. Install ezviz studio app from this link
  4. Sign up your account and see below "all devices" to expand
  5. Look your display for IPCam and click Network to get ip address
  6. To test your camera use VLC media player and click Open Stream Network
Wifi Router
  1. Install ezviz from play store/app store
  2. Follow the intructions from the app until you can connect to IPCam and see your IPCam's video in screen
  3. If IPCam has connected, open ezviz studio
  4. Look your display for IPCam and click Network to get ip address
How to match in IP address and RTSP Protocol

IP Cam uses the url format

rtsp://admin:password@ipaddress:554  

Note the configuration above is not the main one and it must depend on the product from the IPCam that you are using.

Installation

Basic configuration

install dlib and cmake library with follow this if you using anaconda just type in anaconda's terminal:
conda install -c conda-forge dlib
conda install -c "conda-forge/label/cf201901" dlib
conda install -c "conda-forge/label/cf202003" dlib
Download

# Clone this repository
$ git clone 

# Go into the repository
$ cd 

# Install dependencies
$ pip install
- face_recognition
- opencv
- flask

# Run the app
$ python main.py
Run app

Open file demo.html in browser

Note when the app crush, check your network has connected with IPCam.

Credits

This software uses the following open source packages:

Colabolator

Mam syefrida