in Education by
I just started fiddling with opencv and python using pycharm. I followed a tutorial on how to create a Haar Cascade file, but when I reached the step where I had to use 'opencv_createsamples' command, it returned: "is not recognized as an internal or external command" I searched for a solution. Most of them said to add opencv to path in the enviroment variables, so I downloaded opencv, extracted it in the C directory and added it to the path, but it still did not work. Could someone help me? JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
I tried this a quickie and I got the same message. I also use PyCharm. Are you sure you're using the right version of opencv? I'm on 2.4 which is quite old. Maybe this is a method that's been added in a later version. If you can import cv2 it shouldn't be the pythonpath.

Related questions

0 votes
    I installed Anaconda3 4.4.0 (32 bit) on my Windows 7 Professional machine and imported NumPy and Pandas on Jupyter ... I make it work? Select the correct answer from above options...
asked Feb 1, 2022 in Education by JackTerrance
0 votes
    I am using Eclipse with Pydev and googleAppengine. I have python 2.7 installed. I am trying to run ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 19, 2022 in Education by JackTerrance
0 votes
    What do you do if a standard window object is not recognized by QTP in an application that is the undergoing test?...
asked Oct 19, 2020 in Technology by JackTerrance
0 votes
    I am using PyCharm Community Edition 5.0.1 It was working fine till yesterday. But it has been ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 7, 2022 in Education by JackTerrance
0 votes
    In Intellij IDE's such as PyCharm or Idea there is an option to customize the menu and toolbar by ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 7, 2022 in Education by JackTerrance
0 votes
    CVE is a directory of lists of publicly recognized information security vulnerabilities as well as exposures. (a) True (b ... questions and answers pdf, mcq on Cyber Security pdf,...
asked Nov 4, 2021 in Education by JackTerrance
0 votes
    If a command is not complete at the end of a line, R will give a different prompt, by default it is ... Started of R Programming Select the correct answer from above options...
asked Feb 13, 2022 in Education by JackTerrance
0 votes
    What is the command to pick a commit from a specific branch and move it to another branch? A. Git move commit B. Git cherry-pick C. Git move branch D. None of the options...
asked Dec 24, 2022 in Technology by JackTerrance
0 votes
    The Sitecore package wizard can be used to build a package containing data and files for the local Sitecore ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jan 16, 2022 in Education by JackTerrance
0 votes
    A series of instructions that tells a computer what to do and how to do it is called a- (A) program (B) ... (E) None of these Select the correct answer from above options...
asked Dec 2, 2021 in Education by JackTerrance
0 votes
    Is it possible to substitute "ls" command in the place of "echo" command?...
asked May 28, 2021 in Technology by JackTerrance
0 votes
    Is it possible to add a file directly to the repository? Which command can be used for this?...
asked Feb 18, 2021 in Technology by JackTerrance
0 votes
    Name any one command that you can execute when it comes to viewing the exact difference between the repository and the local version?...
asked Feb 17, 2021 in Technology by JackTerrance
0 votes
    What is git diff command? How is it different from git status?...
asked Nov 4, 2020 in Technology by JackTerrance
0 votes
    If you do not need any facts from the host, what command would you use? 1. gather_facts: no 2. gather_facts: False 3. gather_facts: no AND gather_facts: False 4. gather_facts: y...
asked Jan 27, 2023 in Technology by JackTerrance
...