Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit ee21d9c

Browse files
removed duplicate file
1 parent 652fe14 commit ee21d9c

File tree

2 files changed

+1
-133
lines changed

2 files changed

+1
-133
lines changed

‎extract_objects_of_interest_from_video.py renamed to ‎extract_detections_from_camera.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
import argparse
33
import tensorflow as tf
44
import cv2
5-
import pathlib
65
import os
76
import datetime
87
import pandas as pd
@@ -129,5 +128,5 @@ def run_inference(model, category_index, cap, threshold, show_video_steam, label
129128
detection_model = load_model(args.model)
130129
category_index = label_map_util.create_category_index_from_labelmap(args.labelmap, use_display_name=True)
131130

132-
cap = cv2.VideoCapture(2)
131+
cap = cv2.VideoCapture(0)
133132
run_inference(detection_model, category_index, cap, args.threshold, args.show, args.label, args.output_directory)

‎extract_detections_from_webcam.py

Lines changed: 0 additions & 131 deletions
This file was deleted.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /