Ask Your Question
0

'opencv_createsamples' is not recognized as an internal or external command

asked 2018-07-03 06:20:28 -0600

Nigeltve gravatar image

updated 2018-07-03 06:28:58 -0600

Hi,

I've been looking everywhere but I can't seem to find opencv_createsamples. I have installed OpenCV-python through anaconda pip, but when I try running opencv_createsamples it says that it is not recognized as an internal or external command.

im on windows 10 using python 3.6.5

could someone help me figure out how to install this?

Thanks for your time.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2018-07-03 06:28:21 -0600

berak gravatar image

no it's not part of the python package, but a standalone c++ app, you'll find it here

to use it, you will have to build opencv from src, unfortunately.

(please also note, that opencv does not maintain any anaconda or pip packages)

edit flag offensive delete link more

Comments

ah ok, so I just clone the git repo and just run the opencv_createsamples command in that directory?

Nigeltve gravatar imageNigeltve ( 2018-07-03 06:42:04 -0600 )edit

well, you clone the github repo, then build the opencv libs (& apps) using cmake, and then you can run those tools .

berak gravatar imageberak ( 2018-07-03 08:18:15 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2018-07-03 06:20:28 -0600

Seen: 5,054 times

Last updated: Jul 03 '18