Comments (2)
Thanks for your comment @Determine06
I am looking into this issue. This is the same issue as this one.
The issue is because you don't have essential build tools installed or not included in the path. Check in the terminal if you can run "opencv_traincascade
" and "opencv_createsamples"
in your terminal.
This is a very common yet not popular issue with the installation of OpenCV. I am looking into the issue and would probably add the instructions soon.
from haar-cascade-trainer-linux.
Might be because of openv-cv v4 - The main app might have to be forced to installing only v3 in case it installs v4 in line 35 of main.py? The open-cv documentation mentions that opencv_createsamples and opencv_traincascade is deprecated in open-cv v4: https://docs.opencv.org/3.4/dc/d88/tutorial_traincascade.html
if 'opencv' in missing:
if python_version[0] =='3':
os.system('sudo apt-get install -y python3-opencv')
else:
os.system('sudo apt-get install -y python-opencv')```
from haar-cascade-trainer-linux.
Related Issues (9)
- Trained classifier detects too many false positives and usage percent not working
- It's not working, Please make one video for this HOT 3
- libopencv_calib3d.so.3.2 and libopencv_imgcodecs.so.3.2 not found HOT 1
- sh: 1: opencv_createsamples: not found sh: 1: ./dir_gen.sh: not found ERROR: Couldnt train network for some unknown error! HOT 6
- Are the required dimensions related to the postive or negative images?
- Unable to run HAAR-Cascade-Trainer-GUI on Ubuntu 20.04 HOT 1
- opencv_createsamples: command not found HOT 1
- The training is done. But it is not generating the XML file in the output directory
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from haar-cascade-trainer-linux.