Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 953 Bytes

README.md

File metadata and controls

18 lines (14 loc) · 953 Bytes

Class Count System

To use yolov5 to count class students which cameras are hikcameras.

Introduction

Using yolov5 training by myself to get student heads and count the number of class. Using onvif to control hikvision cameras to goto preset position, get stream image data and put iimages into model to get head number. In the end, your can upload the student number with pymysql to mysql. All information can store as logger.

operating

  1. you should set your camera ip in ./config/defaults.py, add your own ips.
  2. set passwd and username in camSubCountingClass.py this line
  3. run mainControl.py
python mainControl.py

Setting

  1. you can change the time table in ./config/defaults.py or system.yaml
  2. your can change epoch time, which is all ips run one epoch time. default is 300s.