tensorflow-yolo
tensorflow-yolo copied to clipboard
How can I give any input image
Hi,
How can I modify the demo.py file, so the input image would be different not only cat.jpg. For example, now If I want to test another image I have to change the input in demo.py file, which is [np_img = cv2.imread('cat.jpg')], then, I will be able to run another image.
I want to test another image not cat.jpg?
Replace the 'cat.jpg' with the name of the other picture.
Thx for reply @leeyoshinari
Yes I know how to do that, but I am thinking to do make something more easier which keep the file fixed and only change the input image from the code for example python demo.py "path/image name"