GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - wangke0809/GiaoCameraRobot: Camera Monitor | 深度学习 视频监控 钉钉预警 人物识别 动作识别

BranchesTags
Open more actions menu

Latest commit

 

History

13 Commits
13 Commits

Folders and files

NameName
Last commit message
Last commit date
docs
docs
 
 
images
images
 
 
test
test
 
 
tinyface
tinyface
 
 
tools
tools
 
 
.gitignore
.gitignore
 
 
GiaoRobot.py
GiaoRobot.py
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
camera.py
camera.py
 
 
config.py.example
config.py.example
 
 
logger.py
logger.py
 
 
push.py
push.py
 
 
recognition.py
recognition.py
 
 
requirements.txt
requirements.txt
 
 
storage.py
storage.py
 
 
utils.py
utils.py
 
 

Repository files navigation

GiaoCameraRobot is the mascot of SIPL Lab.

passing codecov passing

English | 中文

Overview

I named her Xiao Giao, and she could monitor every movement in the laboratory through the camera.

Xiao Giao uses OpenCV to obtain camera data, uses TinyFace to detect faces, and recognizes people and actions by fine-tuning ResNet50. Send DingTalk notifications when someone is detected entering or leaving.

Getting Started

Installation

  • Clone this repo:
git clone https://github.com/wangke0809/GiaoCameraRobot.git
cd GiaoCameraRobot
  • Install PyTorch 0.4+ and torchvision.
    • For pip users, please type the command pip install -r requirements.txt.

Configuration

cp config.py.example config.py

Get the region to be monitored:

cd tools
python getMonitorRegion.py

Get image detection threshold:

cd tools
python getDiffThreshold.py

Fill the region and threshold into config.py

Download TinyFace pre-trained model into current directory, and download ResNet50 pre-trained model into tools directory.

Run

python GiaoRobot.py

Train the Model

Of course, you can't run normally by following the above steps, because the model has not been trained yet! You need to close the person and action detection module first, and collect enough training samples through face detection.

Step 1: Prepare training dataset

cd tools
python imagesDrawBoxes.py

Step 2: Annotate training dataset

cd tools
python getTrainDataSet.py

Step 3: Train the model

cd tools
python trainModel.py

Related Projects

  • face-detection-pytorch

About

Camera Monitor | 深度学习 视频监控 钉钉预警 人物识别 动作识别

Topics

deep-learningpytorch

Resources

Readme
MIT license
Activity

Stars

12 stars

Watchers

2 watching

Forks

1 fork
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.