Update README
This commit is contained in:
16
README.md
16
README.md
@ -1,10 +1,9 @@
|
|||||||
# Real-time object detection application
|
# Real-time object detection application
|
||||||
|
|
||||||
Web application for *real-time* object detection on video streaming via web browser.
|
Web application for _real-time_ object detection on video streaming via web browser.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
Create and activate an virtual environment, as follows:
|
Create and activate an virtual environment, as follows:
|
||||||
@ -21,7 +20,7 @@ After have installed and activated the environment, install all the dependencies
|
|||||||
$ pip install -r requirements.txt
|
$ pip install -r requirements.txt
|
||||||
```
|
```
|
||||||
|
|
||||||
After that, you can run the *following command* and access the application at [127.0.0.1:5000](http://127.0.0.1:5000/) on your browser.
|
After that, you can run the _following command_ and access the application at [127.0.0.1:5000](http://127.0.0.1:5000/) on your browser.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ python application.py
|
$ python application.py
|
||||||
@ -29,10 +28,19 @@ $ python application.py
|
|||||||
|
|
||||||
*obs.: This application was tested only on *Google Chrome*.*
|
*obs.: This application was tested only on *Google Chrome*.*
|
||||||
|
|
||||||
|
## Download model
|
||||||
|
|
||||||
|
To download the `yolov3.weights`, just run:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$ cd models/
|
||||||
|
$ python dl-weights.py
|
||||||
|
```
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
- **Camera preview**: Enables and disables the webcam preview.
|
- **Camera preview**: Enables and disables the webcam preview.
|
||||||
- **Run detection model**: Enables and disables the detection model.
|
- **Run detection model**: Enables and disables the detection model.
|
||||||
- **Exposure**: Buttons which increase or decrease camera exposure stops by 1.
|
- **Exposure**: Buttons which increase or decrease camera exposure stops by 1.
|
||||||
- **Contrast**: Buttons which increase or decrease camera contrast stops by 4.
|
- **Contrast**: Buttons which increase or decrease camera contrast stops by 4.
|
||||||
- **Reset camera**: Reset all camera settings based on *camera_settings.log* file.
|
- **Reset camera**: Reset all camera settings based on _camera_settings.log_ file.
|
||||||
|
|||||||
Reference in New Issue
Block a user