hhk7734 / tensorflow-yolov4

YOLOv4 Implemented in Tensorflow 2.
MIT License
136 stars 75 forks source link

allow media_path to be video stream id #51

Closed vanc closed 3 years ago

vanc commented 3 years ago

If we want to pass a video stream id to inference function, we should not check the path if is_image is false.

hhk7734 commented 3 years ago

If a user passes a video file to the inference function and the file does not exist, how to handle this?

vanc commented 3 years ago

If a user passes a video file to the inference function and the file does not exist, how to handle this?

Right. Checking the image flag is not correct. Should check the media_path data type.