Ask Your Question
-1

Opencv 3.0 cpp peopledetect

asked 2017-05-22 19:25:32 -0600

Hi, I've been trying to run peopledetect.cpp on my unix terminal and it's not working. First, it gives me the error of

image description

But when I move the "opencv2" folder from modules/imgcodecs/include to the directory where peopledetect.cpp is, this error occurs

image description

Help me run this please.

edit retag flag offensive close merge delete

Comments

please remove the images, and give us plain text of your code !

berak gravatar imageberak ( 2017-05-22 23:54:59 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-05-23 00:12:13 -0600

berak gravatar image

updated 2017-05-23 00:35:57 -0600

you are trying to run an opencv3 sample with opencv2.4 installed, and it won't work.

either try a sample, that fits your version or better: update your opencv code to current 3.2 !

(and please do not try to copy headers around. you got an installation problem, and you have to solve that)

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2017-05-22 19:25:32 -0600

Seen: 100 times

Last updated: May 23 '17