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.

live-image-classifier.py", line problem

idata
Employee
661 Views

Hi. I have a problem for movidius AI. my problem is below. please help me step by step

 

pi@AI:~ $ cd ncappzoo/apps/live-image-classifier

 

pi@AI:~/ncappzoo/apps/live-image-classifier $ python3 live-image-classifier.py

 

Traceback (most recent call last):

 

File "live-image-classifier.py", line 186, in

 

main()

 

File "live-image-classifier.py", line 131, in main

 

img, frame = pre_process_image()

 

File "live-image-classifier.py", line 63, in pre_process_image

 

height, width, channels = frame.shape

 

AttributeError: 'NoneType' object has no attribute 'shape'
0 Kudos
3 Replies
idata
Employee
404 Views

Dear colleagues I have the same issue.

 

I'm using a raspberry 3, running strech.

 

I had a hard time to get the SDK2 + NCAPPZOO running. I had to manually install:

 

-Cython

 

-Opencv

 

-All Opencv requisites

 

 

taxWarning: assertion is always true, perhaps remove parentheses?

 

assert(False, "Layer type not supported by Convolution: " + obj.type)

 

mvNCCompile v02.00, Copyright @ Intel Corporation 2017

 

/usr/local/bin/ncsdk/Controllers/FileIO.py:65: UserWarning: You are using a large type. Consider reducing your data sizes for best performance

 

Blob generated

 

make[1]: Leaving directory '/home/pi/ncsdk/ncappzoo/caffe/AgeNet'

 

Running live-image-classifier.py

 

python3 live-image-classifier.py --graph ../../caffe/AgeNet/graph --labels ../../data/age_gender/age_categories.txt

 

Traceback (most recent call last):

 

File "live-image-classifier.py", line 191, in

 

main()

 

File "live-image-classifier.py", line 136, in main

 

img, frame = pre_process_image()

 

File "live-image-classifier.py", line 65, in pre_process_image

 

height, width, channels = frame.shape

 

AttributeError: 'NoneType' object has no attribute 'shape'

 

Makefile:41: recipe for target 'run' failed

 

make: *** [run] Error 1

 

@Intel guys, could you please assist?

 

I'm loosing my hope to get this Movidius stick working. Thanks in advance!

0 Kudos
idata
Employee
404 Views

Dear all,

 

I've updated and upgreded the OS and restarted and it is now working.
0 Kudos
idata
Employee
404 Views

I am proof the examples for the sticks work and I am pretty much a novice at all of this.

0 Kudos
Reply