Coder Social home page Coder Social logo

changeable_region_detection's Introduction

changeable_region_detection

Yolov5 detection for regional detection

###For the environments:

pip install -r requirements.txt

###For running:

The default weight is yolov5s.pt you can change it by add --weights xxx.pt like:
python detect.py --source data/images --weights xxx.pt

run python detect.py --source data/images for image detection

run python detect.py --source xxx.mp4 for video detection

run python detect.py --source 0 for stream detection use your own camera

The results are saved in yolov5/results/

If you want to change the detection region, go to detect.py line 96 to change the four points:

hl1, wl1, hl2, wl2, hl3, wl3, hl4, wl4

or you can further load points for regional detection

changeable_region_detection's People

Contributors

kinseys avatar

Stargazers

 avatar Castlefield avatar EchoGuy avatar xiaobingchan avatar  avatar  avatar  avatar Rui avatar 賴溡雨Lai Shih-Yu avatar Mark avatar  avatar  avatar HOU avatar  avatar  avatar  avatar yeop._.04 avatar  avatar Zliang avatar  avatar

Watchers

 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.