File tree 2 files changed +2
-3
lines changed
2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -4,14 +4,13 @@ A real-time object recognition application using [Google's TensorFlow Object Det
4
4
5
5
## Getting Started
6
6
1 . ` conda env create -f environment.yml `
7
- 2 . ` python object_detection_app.py `
7
+ 2 . ` python object_detection_app.py ` / ` python object_detection_multithreading.py `
8
8
Optional arguments (default value):
9
9
* Device index of the camera ` --source=0 `
10
10
* Width of the frames in the video stream ` --width=480 `
11
11
* Height of the frames in the video stream ` --height=360 `
12
12
* Number of workers ` --num-workers=2 `
13
13
* Size of the queue ` --queue-size=5 `
14
- 3 . 'python object_detection_multithreaded.py'
15
14
* Get video from HLS stream rather than webcam '--stream=http://somedomain.com/hls/live.m3u8 '
16
15
17
16
## Tests
Original file line number Diff line number Diff line change 6
6
import numpy as np
7
7
import tensorflow as tf
8
8
9
- from utils .app_utils import FPS , WebcamVideoStream
9
+ from utils .app_utils import FPS , WebcamVideoStream , HLSVideoStream
10
10
from multiprocessing import Queue , Pool
11
11
from object_detection .utils import label_map_util
12
12
from object_detection .utils import visualization_utils as vis_util
You can’t perform that action at this time.
0 commit comments