Open
Description
I am using Tensorflow object detection Api. I have completed training and have download the trained model through "Python export_v2.py " code.
Now I want to test my model on my test Images folder.
There are many codes that can read and detect single image. But I want to detect my all 50 images that are on my folder.
Kinldy please help me do that.. Thanks in advance
Activity
TannerGilbert commentedon Jun 24, 2022
You can use my
detect_from_image.py
script for this and pass the path to the folder containing the 50 images via--image_path
. The script will then loop over all the png and jpg files inside the directory.Annieliaquat commentedon Jun 24, 2022
You mean I have to run the script like this
!python detect_from_image.py --image_path "images/test"
Like this??? please let me know
Annieliaquat commentedon Jun 24, 2022
Where should I provide my model folder name and image path?
Annieliaquat commentedon Jun 24, 2022
Sorry the problem was closed unintentionally
Annieliaquat commentedon Jun 26, 2022
Can you tell me how to use??
TannerGilbert commentedon Jun 26, 2022
python detect_from_image.py --model <path-to-model> --labelmap <path-to-labelmap> --image_path <path to images>
Annieliaquat commentedon Jun 28, 2022
I did use this code and its giving me this error

TannerGilbert commentedon Jun 28, 2022
I'll try it out myself once I find the time and will get back to you then.
Annieliaquat commentedon Jun 28, 2022
okay thank you so much