Intel® Distribution of OpenVINO™ Toolkit
Community support and discussions about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all things computer vision-related on Intel® platforms.
5527 Discussions

create_list.py creates empty faces_gallery.json

nmam
Novice
143 Views

Hi I am facing the below issue:

 

F:\openvino\inference_engine\demos\smart_classroom_demo>where python
C:\Python38\python.exe
D:\Python27\python.exe
C:\Users\suran\AppData\Local\Microsoft\WindowsApps\python.exe

F:\openvino\inference_engine\demos\smart_classroom_demo>python create_list.py F:\openvino\inference_engine\demos\fr_gallery

F:\openvino\inference_engine\demos\smart_classroom_demo>type faces_gallery.json
{}
F:\openvino\inference_engine\demos\smart_classroom_demo>

 

nmam_0-1607839481362.png

 

 

 

0 Kudos
1 Solution
nmam
Novice
132 Views

checked the python file and found that a trailing forward slash is needed 

files_list = glob.glob(dir + '*.png') + glob.glob(dir + '*.jpg')
 
this works fine:
python create_list.py fr_gallery/
 
Thank you. we can close the case.
 
 

View solution in original post

2 Replies
nmam
Novice
133 Views

checked the python file and found that a trailing forward slash is needed 

files_list = glob.glob(dir + '*.png') + glob.glob(dir + '*.jpg')
 
this works fine:
python create_list.py fr_gallery/
 
Thank you. we can close the case.
 
 

View solution in original post

Munesh_Intel
Moderator
116 Views

Hi Neelabh,

This thread will no longer be monitored since this issue has been resolved. If you need any additional information from Intel, please submit a new question. 


Regards,

Munesh


Reply