Giter Site home page Giter Site logo

ifnotabhielse / yolov7-object-counter-v1.2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dogank01/yolov7-object-counter-v1.2

0.0 0.0 0.0 36.19 MB

Distance Detector (People) with Yolov7

License: Apache License 2.0

Shell 0.01% Python 1.19% Jupyter Notebook 98.81% Dockerfile 0.01%

yolov7-object-counter-v1.2's Introduction

Yolov7-Close-People-CounterV1.2

Counting Close People with Yolov7

  • Censoring and counting all cigarettes on the screen and saving smoker's faces in the folder or any database
  • Useful for public non-smoking areas
  • Code can run on Both (CPU & GPU)
  • Video/WebCam/External Camera/IP Stream Supported

How to run Code:

  • clone the repository:
  • !git clone https://github.com/DoganK01/YOLOV7-OBJECT-COUNTER-V1.2.git
  • cd /content/YOLOV7-OBJECT-COUNTER-V1.2

Upgrade pip with the mentioned command below.

  • pip install --upgrade pip

Install requirements

  • !pip install -r requirements.txt

Weights get

  • %%bash
  • wget -P /content/YOLOV7-OBJECT-COUNTER-V1.2/weights https://github.com/WongKinYiu/yolov7/releases/download/v0.1/yolov7x.pt

Upgrade pyyaml

  • !pip install --upgrade pyyaml==5.3.1

Using Counter Example:

  • !python detect.py --weights /content/Yolov7-Close-People-Counter/weights/yolov7x.pt --source /content/Yolov7-Close-People-Counter/inference/images/bus.jpg --no-trace

Results

bus

Sample Video:

https://www.youtube.com/watch?v=fnMa_puCUow

yolov7-object-counter-v1.2's People

Contributors

dogank01 avatar

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.