How can i install OpenCV 3.2 in linux? Firstly, conda install -c menpo opencv3=3.2.0 installs but gives this import error: File "<stdin>", line 1, in &l
I installed OpenCV 3.3.1 with python 2.7 (GPU), but I tried to install OpenCV4.x with Python3. I followed this post here Output find /usr/local/lib/ -type f
I have trained a Yolo4 network and it is giving me bounding boxes as: img_array = cv2.cvtColor(cv2.imread('image.png'), cv2.COLOR_BGR2RGB) classes, scores, bbox
I am building a python library and I writing a function like this: def addimg(image) -> None: now I want to specify the type of image as an OpenCV image (e.
I have a problem can't make work together opencv and kivy with buildozer on android smartphone. On pc works fine but when I packaging with buildozer and put in
I am unable to differentiate between the below two contours. cv2.contourArea() is giving the same value for both. Is there any function to distinguish them in P
I am facing a problem in classIds, confs, bbox = net.detect(img,confThreshold=float0.5) How to fix it?Please help. I am trying to run a very simple OpenCV scrip
I would like to know if there's a simple way to change a color, say from a shade of grey to white, within an area of interest that would be determined from the
I am using AI Thinker ESP32-CAM with stream url http://192.168.8.100:81/stream. I have tried this and other techniques but nothing worked for me import numpy a
I have been trying to install opencv4nodejs package with npm install opencv4nodejs command. But unfortunately the below is being thrown. Have done some research
I am developing a mini autonomous car using 3 CNNs and a camera sensor using this approach. One of the CNNs detects lanes on the images and outputs images wit
I am having trouble detecting QR code using Pyzbar. Under perfection condition, I am able to detect the QR code using the original png image. However, when I do
I'm trying to take the output of a yolov5s.onnx model and and run NMSBoxes on it. But I keep getting this error: Traceback (most recent call last): File "pyth
I installed opencv and numpy using pip on debian 11.2 with python 3.9. In visual studio the modules aren't available and terminal returns: Traceback (most recen
I have tried running this code for the OpenCV face detection and upon running it I get the error (AttributeError: module 'cv2.cv2' has no attribute 'CascadeClas
I needed to run some parts of the code in GPU using cupy instead of numpy. So, I only made comment out for this line # import numpy as np and used this line ins
How can I calculate distance from camera to a point on a ground plane from an image? I have the intrinsic parameters of the camera and the position (height, p
I'm trying to use OpenCV.js in web workers in Angular. My project needs to conduct multiple graphic computings at the same time, which would take long time. But
In the image below, I am using OpenCV harris corner detector to detect only the corners for the squares (and the smaller squares within the outer squares). Howe
How can I paste a smaller image into the center of another image? Both images have the same height, but the smaller one has a width that is always smaller. The