Giter Site home page Giter Site logo

object-detection-app's Introduction

Install

  • Install python3
  • Install PIP
  • install library opencv, pillow

pip install opencv-contrib-python

pip install pillow

download YOLOv3 weights, Read More YOLOv3

put yolov3.weights to folder yolov3/yolov3.weights

Run

python3 TA2020.py

or

python TA2020.py

or

./run.sh

Note

Why i Choose YOLO as pre-trained model for this project ?, because that's the most accurate pre-trained model than other pre-trained. even though my laptop need 2 second to detect object on image, but maybe other machine could run this faster than that (based claim from developer YOLO that this framework could run 1000% faster on GPU)

object-detection-app's People

Contributors

riochndr avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

object-detection-app's Issues

Error Run System without ROI

python version 3.8
opencv version 4.5

D:/praktikum/latihan/object-detection-app/surveillance.m4v
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Users\Who Am i\AppData\Local\Programs\Python\Python38\lib\tkinter_init.py", line 1883, in _call
return self.func(*args)
File "D:\praktikum\latihan\object-detection-app\TA2020.py", line 104, in runDetector
self.detectorVideo()
File "D:\praktikum\latihan\object-detection-app\TA2020.py", line 131, in detectorVideo
self.updateDetectorVideo()
File "D:\praktikum\latihan\object-detection-app\TA2020.py", line 136, in updateDetectorVideo
result = self.brain_tracker.track_object_inframe(
File "D:\praktikum\latihan\object-detection-app\brainTracker.py", line 27, in track_object_inframe
self.check_objects_trough_ROI()
File "D:\praktikum\latihan\object-detection-app\brainTracker.py", line 190, in check_objects_trough_ROI
if self.is_trough_ROI(self.objects_tracked[i]) == True:
File "D:\praktikum\latihan\object-detection-app\brainTracker.py", line 195, in is_trough_ROI
return self.is_inside_box(self.box_ROI, obj[2])
File "D:\praktikum\latihan\object-detection-app\brainTracker.py", line 66, in is_inside_box
parent[x], parent[y], parent[w], parent[h] = parent_box
TypeError: cannot unpack non-iterable NoneType object
[Finished in 21.4s]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.