Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.
6404 Discussions

create_list.py creates empty faces_gallery.json

nmam
Novice
469 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
458 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

0 Kudos
2 Replies
nmam
Novice
459 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.
 
 
0 Kudos
Munesh_Intel
Moderator
442 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


0 Kudos
Reply