Skip to content

Detect peoples, helmets, heads and read barcodes which is placed of one of those three objects. Detect peoples, helmets, heads and read barcodes which is placed of one of those three objects. Using Python, PyZbar, Dynamsoft and OpenCV Config files for my GitHub profile.

Notifications You must be signed in to change notification settings

denistruhlaz/Object-detection

Repository files navigation

Object detection and barcode reading using YOLOv4 and openCV

  • Main program is called program.py where is object detection and barcode reader united as one.
  • barcodeRead.py is only for reading barcodes from camera or picture using PyZbar which support all 1D barcodes and QR code.
  • objectDetection.py is only for detecting object from camera or from video.
  • barcodeReadDynamsoft.py is for reading barcodes with dynamsoft library which support all 1D and 2D barcodes.
  • barcodeReadPyZxing.py is for reading barcodes with pyZxing open-source library.

In model.data you need to put yolo4-helmet-detection.weight file which can be downloaded for here: https://drive.google.com/file/d/1h-Ro2EA363bNQIP6GaQNQhI0zP-5fxMK/view?usp=sharing

If you want to run on normal yolov4.weight file:

Folder structure:

  • In samples.data folder you can find basic videos and photos which on you can test on.
  • Every result will be saved in outputs folder(currently overwrite function is active which means that second result will overwrite first result)

About

Detect peoples, helmets, heads and read barcodes which is placed of one of those three objects. Detect peoples, helmets, heads and read barcodes which is placed of one of those three objects. Using Python, PyZbar, Dynamsoft and OpenCV Config files for my GitHub profile.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages