Skip to content

Commit

Permalink
Trying to install relevant packages
Browse files Browse the repository at this point in the history
  • Loading branch information
Kartolon committed Oct 24, 2022
1 parent 4ba599b commit cf4f807
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 5 additions & 1 deletion detect_object.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,8 @@ def detect_objects(image_np, sess, detection_graph):
min_score_thresh=.5
)

return dict(rect_points=rect_points, class_names=class_names, class_colors=class_colors)
return dict(rect_points=rect_points, class_names=class_names, class_colors=class_colors)



!pip install tensorflow
3 changes: 3 additions & 0 deletions objection_detection_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,3 +107,6 @@ def worker(input_q, output_q):
video_capture.stop()
writer.close()
cv2.destroyAllWindows()



0 comments on commit cf4f807

Please sign in to comment.