dependabot[bot] 88097711e3 Bump opencv-python from 4.1.2.30 to 4.2.0.32
Bumps [opencv-python](https://github.com/skvark/opencv-python) from 4.1.2.30 to 4.2.0.32.
- [Release notes](https://github.com/skvark/opencv-python/releases)
- [Commits](https://github.com/skvark/opencv-python/commits)

---
updated-dependencies:
- dependency-name: opencv-python
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-12 23:11:03 +00:00
2021-03-20 17:46:08 -03:00
2021-03-20 17:50:35 -03:00
2021-03-20 17:46:09 -03:00
2021-03-20 17:50:10 -03:00
2021-03-20 17:46:07 -03:00
2021-03-20 17:55:13 -03:00

Real-time object detection application

Web application for real-time object detection on video streaming via web browser.

layout

Installation

Create and activate an virtual environment, as follows:

$ cd cloned/directory/
$ python -m venv env
$ env/Scripts/activate

After have installed and activated the environment, install all the dependencies:

$ pip install -r requirements.txt

After that, you can run the following command and access the application at 127.0.0.1:5000 on your browser.

$ python application.py

obs.: This application was tested only on Google Chrome.

Download model

To download the yolov3.weights, just run:

$ cd models/
$ python dl-weights.py

Usage

  • Camera preview: Enables and disables the webcam preview.
  • Run detection model: Enables and disables the detection model.
  • Exposure: Buttons which increase or decrease camera exposure stops by 1.
  • Contrast: Buttons which increase or decrease camera contrast stops by 4.
  • Reset camera: Reset all camera settings based on camera_settings.log file.
Description
object-detection-flask-opencv
Readme 108 KiB
Languages
Python 69.5%
JavaScript 13.4%
HTML 11.6%
CSS 5.5%