object-detection-python-opencv | Detecting Strawberries using OpenCV | Computer Vision library
kandi X-RAY | object-detection-python-opencv Summary
kandi X-RAY | object-detection-python-opencv Summary
Detecting Strawberries using OpenCV
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Straw the image of the given image
- Find the largest contours of the image
- Create a circle contour
- Add a mask to an image
- Displays an image
object-detection-python-opencv Key Features
object-detection-python-opencv Examples and Code Snippets
Community Discussions
Trending Discussions on object-detection-python-opencv
QUESTION
I am following Creating your own Haar Cascade OpenCV Python Tutorial But when I get to making the samples I get opencv_createsamples: command not found
I am using this to create the samples opencv_createsample -img img.jpg -bg bg.txt -info info/info.lst -pngoutput info -maxxangle 0.5 -maxyangle 0.5 -maxzangle 0.5 -num 573
but I know the command exists because when I do man opencv_createsamples
it pulls up the man page.
I am using ubuntu 20.04.1
ANSWER
Answered 2020-Aug-07 at 18:13I have also met this same problem while trying to get Haar Cascade. Similar problem also mentioned here.
According to @Alekhin saying here:
To be able to use
opencv_createsamples
command, you should use opencv version 3.x or lower.
This step(creating samples) is only necessary to get our samples. So my suggestions:
Installing supported opencv version in a docker and getting samples
Installing supported opencv in another machine and getting samples
Note: I don't suggest you to install opencv while other one already exist in your machine.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install object-detection-python-opencv
You can use object-detection-python-opencv like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page