Ask Your Question

Revision history [back]

Cannot compile opencv samples in python

i am using opencv 2.4.6,ubuntu 12.04 and also using python 2.7

When i try to run sample programs in python,some of them is showing errors $python peopledetect.py Traceback (most recent call last): File "peopledetect.py", line 17, in <module> print "cannot read " + sys.argv[1] IndexError: list index out of range

Please help me!!!

click to hide/show revision 2
No.2 Revision

updated 2013-07-24 09:51:56 -0600

berak gravatar image

Cannot compile run opencv samples in python

i am using opencv 2.4.6,ubuntu 12.04 and also using python 2.7

When i try to run sample programs in python,some of them is showing errors $python peopledetect.py Traceback (most recent call last): File "peopledetect.py", line 17, in <module> print "cannot read " + sys.argv[1] IndexError: list index out of range

Please help me!!!