opencv Questions

2

I am having trouble accessing my USB camera using OpenCV with python. I get the following error message which I understand means no frame was captured? error: OpenCV(3.4.1) C:\Miniconda3\conda-bld\...
Scrutiny asked 17/7, 2020 at 17:29

4

I am using the BRIEF descriptor in OpenCV in Visual C++ 2010 to match points in two images. In the paper about the BRIEF-descriptor is written that it is possible to speed up things: "The BRIEF...
Giuditta asked 17/4, 2012 at 9:5

4

Solved

I have built my own opencv python package from source. import cv2 print(cv2.__version__) prints: 3.4.5 Now the issue I am facing is regarding the use of gstreamer from the VideoCapture class o...
Acidforming asked 8/1, 2019 at 16:16

2

I'm trying to use opencv native library in an android studio project. I get an error for undefined reference for the function knnMatch. I have added openCVLibrary to my project and had success to ...
Yann asked 19/2, 2018 at 9:21

5

Solved

@robot_sherrick answered me this question, this is a follow-up question for his answer. cv::SimpleBlobDetector in Opencv 2.4 looks very exciting but I am not sure I can make it work for more detai...
Achlamydeous asked 23/11, 2012 at 19:17

3

Solved

So I know of opencv and pymovie however I cant seem to find a working example on here or anywhere on google or this site. I do not want to convert the mp4 into anything else. It has to be mp4 file ...
Leff asked 14/4, 2016 at 22:2

2

Solved

Im trying to make a bot for a game. Basically it picks up items from the ground, thing is these items look different sometimes for ex. the angle is different or they are lying on differentyl colour...
Listless asked 19/6, 2019 at 11:53

1

(See below for update with partially working code.) I have thousands of images that look like this: I need to run an OCR algorithm on the "1930 E.D." column. I find that when I crop th...
Irretrievable asked 18/7 at 21:40

5

Solved

Below is a python script that calculates the homography between two images and then map a desired point from one image to another import cv2 import numpy as np if __name__ == '__main__' : # Re...
Depriest asked 2/7, 2020 at 11:53

6

Solved

I've got an image that I've scanned, but the white paper is not white on the screen. Is there a way to equalize the contract/brightness to make the background whiter? Update I've tried the sugg...
Mousse asked 12/5, 2012 at 5:2

5

How can I draw a rectangle with rounded corners in OpenCV? I know that the functions ellipse() and line() can be simply put together to draw it. I just wonder if someone has done it before and has ...
Mcadoo asked 24/9, 2013 at 4:45

5

Solved

I was builting a web app with streamlit, OpenCV and Torch on local machine. The whole project went well until I built a Docker file and was about to transport it to my Google Cloud Platform. Can an...
Mcgehee asked 8/7, 2020 at 1:2

4

Solved

I have already installed opencv 3.0.0 in windows os. I have run the application and have successfully installed it in C:\ drive and have also copied the cv2.pyd file in C:\Python27\Lib\site-package...
Wriggle asked 28/6, 2018 at 7:40

3

Solved

I am facing a small (big) problem: I want to generate a high resolution speckle pattern and save it as a file that I can import into a laser engraver. Can be PNG, JPEG, PDF, SVG, or TIFF. My script...
Latinist asked 18/7 at 8:52

5

I have the code below with cv2 . This code is downloaded from https://github.com/dipakkr/3d-cnn-action-recognition. I want to use cv2.imshow to visualize the frames of the video it get. But I get t...
Malcah asked 9/12, 2018 at 0:4

4

I have a bunch of images with labeled polygons marked in red (255,0,0): I want to extract the bounding box but inside the polygon as shown with the blue rectangle: OpenCV cv.boundingRect gives me...
Quadriplegia asked 15/12, 2021 at 10:49

3

Im getting this mistake in pyhton, opencv Traceback (most recent call last): File "C:/Users/PycharmProjects/prosses/main.py", line 116, in cv2.THRESH_BINARY_INV | cv2.THRESH_OTSU)[1] cv2...
Cookhouse asked 10/10, 2020 at 11:20

13

Solved

OpenCV's remap() uses a real-valued index grid to sample a grid of values from an image using bilinear interpolation, and returns the grid of samples as a new image. To be precise, let: A = an im...
Holography asked 17/1, 2017 at 17:17

3

Solved

I am trying to draw a polygon between the coordinates which would be obtained by clicking by mouse events. The first click should define the starting point of the polygon. Each additional click sh...
Erdei asked 8/5, 2016 at 11:23

4

Solved

I have some hundreds of images (scanned documents), most of them are skewed. I wanted to de-skew them using Python. Here is the code I used: import numpy as np import cv2 from skimage.transform ...
Plumy asked 12/4, 2019 at 14:41

4

Solved

I calibrated my mono camera using opencv. Now I know the camera intrinsic matrix and distortion coefs [K1, K2, P1 ,P2,K3 ,K4, K5, K6] of my camera. Assuming that camera is place in [x, y, z] with [...

17

Solved

This is the exact error that I am getting. My OS is Ubuntu 16.10. OpenCV Error: Unspecified error (The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Carbon support. If...
Horizon asked 23/10, 2016 at 19:35

5

Solved

I have been working on this error for a long time now. I have Python 3.6 and Python 2.7. I have tried to install opencv 2 and 3 in Python 2.7 and Python 3.6 respectively. I know the python interpre...
Ferdelance asked 20/10, 2017 at 17:27

5

Solved

I want to integrate OpenCV with YOLOv8 from ultralytics, so I want to obtain the bounding box coordinates from the model prediction. How do I do this? from ultralytics import YOLO import cv2 model...
Cb asked 2/2, 2023 at 14:6

2

Solved

I was making some experimentations with the OpenCV function cv2.warpPerspective when I decided to code it from scratch to better understand its pipeline. Though I followed (hopefully) every theoret...

© 2022 - 2024 — McMap. All rights reserved.