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.

create_list.py creates empty faces_gallery.json

nmam
초보자
881 조회수

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 포인트
1 솔루션
nmam
초보자
870 조회수

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 포인트
2 응답
nmam
초보자
871 조회수

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 포인트
Munesh_Intel
중재자
854 조회수

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 포인트
응답