-
Notifications
You must be signed in to change notification settings - Fork 0
Config parsing overview
Main purpose of using xml config for utility configuration is uniformity of datasets at output as importat requirement. This requirement has been formulated due to usually fix count of neuroins in output layer of forward neuronet. So we can't change any parameters of dataset on the fly in case of preparation image-keypoints_list pairs.
At this moment following parameters are have impact to utility work:
-
img_wandimg_h- the sizes that an each image will be resized to. img_w is image width, img_h is image height -
source_folder- The folder that images for marking is store in -
output_folder- the folder where the HDF5 file will be save -
marks_count- count of poits that will be marked up -
file_name- name of HDF5 file. Should be specitied without file extention (should be specified only filename) -
dataset_name- name of dataset inside the HDF5 file
-
img_w,img_h,marks_count: Above than zero. Only integer value. -
source_folder,output_folder: Should not begins with space. The folder mentioned in this tag must be exist. Any string -
file_name,dataset_name: Any string. Should not begins with space. - Source folder that stamped in
source_foldertag should have at least one subdirectory inside with images for marking stored there
Each parameter should not be empty
Once the img_marker.py starts mentioned parameters of config.xml will be parsed and write down into the memory as regular python variables and the will be used in different segments of this utility. No parameters change during img_marker.py still running will have impact to utility work and will be considered only once the img_marker.py restarted.