File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 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
44
55## Getting Started
661 . ` 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 `
88 Optional arguments (default value):
99 * Device index of the camera ` --source=0 `
1010 * Width of the frames in the video stream ` --width=480 `
1111 * Height of the frames in the video stream ` --height=360 `
1212 * Number of workers ` --num-workers=2 `
1313 * Size of the queue ` --queue-size=5 `
14- 3 . 'python object_detection_multithreaded.py'
1514 * Get video from HLS stream rather than webcam '--stream=http://somedomain.com/hls/live.m3u8 '
1615
1716## Tests
Original file line number Diff line number Diff line change 66import numpy as np
77import tensorflow as tf
88
9- from utils .app_utils import FPS , WebcamVideoStream
9+ from utils .app_utils import FPS , WebcamVideoStream , HLSVideoStream
1010from multiprocessing import Queue , Pool
1111from object_detection .utils import label_map_util
1212from object_detection .utils import visualization_utils as vis_util
You can’t perform that action at this time.
0 commit comments