The command I am currently using to test my set is
python eval.py --test_data_path=PATH_TO_IMAGES --gpu_list=0 --checkpoint_path=/tmp/east_icdar2015_resnet_v1_50_rbox/ \
--output_dir=PATH_TO_END_LOCATION
However what I currently want to do, is to give them a file as input that file has the path of all the images instead of what I did before, supplying a folder with all the images inside.
The file's content will look a bit like this
data/processed/10/blueprint-0.png
data/processed/10/blueprint-15.png
data/processed/10/blueprint-16.png
data/processed/10/blueprint-17.png
data/processed/10/blueprint-18.png
How can I adjust my command to do that task or even write a python code that will put all of them in a destination folder that I can reuse my first method on.
Edit : I figured out how to manage it but i need a regex that would take in the 2 numeric values, for example in the first line data/processed/10/blueprint-0.png
i need a regex that will assign 10
to a variable a
and 0
to a variable b
.