All Questions
28,875
questions
-2
votes
1
answer
33
views
removal of lines in an image using Python
I am trying to use Python and cv2, numpy, skimage, etc to remove a 'shadow line' from a black and white image if one exists in the image. Essentially my image can have 1 or 2 curved lines like the ...
-2
votes
0
answers
30
views
Is it possible to measure the distance between moving edges in a live video feed? [closed]
I'm working on a school project and basically, I have a vehicle moving between 2 walls with a camera at the top, looking at the truck from an aerial view. I have a motor controlling the truck ...
0
votes
1
answer
25
views
Remove all text from the document, leaving only the template
I have a document in the form of an image. The content of the document is some information in the form of a table. Most often, these are some scanned documents, that is, black and white. However, ...
-2
votes
0
answers
34
views
License Plate Color Detection with Tesseract and OpenCV [closed]
So, I just explorde the codes on GitHub, where we can recognize the plate license number. But I want to make it better since there's no tutorial on how to do that.
Here's my codes:
@plate_color.route(&...
0
votes
0
answers
32
views
Processing Frames instead of jpg images for Deep Learning Model
I've been trying to implement live translation with a sign language cnn model i made with Keras and OpenCV and im running into an issue with converting the frames to a format the model is able to ...
-2
votes
0
answers
30
views
Screen recognition and pressing a button according to something on the screen [closed]
My goal is to get a task in the game done automatically. In the middle of the screen, there is a little circle that pops up every 20 seconds, a part of that circle has a color on it. Then there is a ...
1
vote
1
answer
30
views
Error "For non-planar calibration rigs the initial intrinsic matrix must be specified in function 'cvCalibrateCamera2Internal'"
The full trace of the error I'm encountering:
in stereo_calibrate
ret, cameraMatrix1, distCoeffs1, cameraMatrix2, distCoeffs2, R, T, E, F, perViewErrors, _, _= cv2.stereoCalibrateExtended(
cv2.error: ...
1
vote
0
answers
40
views
How do I track a contour from my previous image?
So I have a video of bacterial cells moving around which I converted to frames. Now I want to find the instantaneous velocity of each bacterial cells. For this I am interested in finding by how much a ...
0
votes
0
answers
44
views
Use OpenCV to stitch 2d histograms - Merge cv2.detail.MatchesInfo
I am attempting to stitch multiple 2d histograms (2d data arrays) together for which the horizontal and vertical axes of the histograms are spatial coordinates, but the origin for the different ...
1
vote
0
answers
40
views
Clustered bubbles or bubbles close together?
I am using OpenCV edge and contour to attempt to analyse the results of a shadowgraph of bubbles. It is working nicely but struggles when two bubbles are very close together, where it views it as one ...
0
votes
0
answers
27
views
Does cv2.stereoCalibrate provide a way to incorporate initial estimates
Here is my code:
def stereo_calibrate(img, correspondences_left, correspondences_right, camera_matrix_L, camera_matrix_R, dist_coeffs=None):
if dist_coeffs is None:
dist_coeffs = np.zeros((...
-3
votes
0
answers
48
views
How to measure the width and angle of two intersecting ropes using OpenCV? [closed]
The first picture below is the original image, showing a net. The ropes in the net are of two types: thick and thin. It is necessary to distinguish which are thick ropes and which are thin ropes ...
-2
votes
0
answers
37
views
Advice for my computer vision Flutter app with Python? [closed]
I'm currently building a Flutter app that heavily relies on Python scripts written by a coworker. It utilizes OpenCV and Numpy, and I'm having trouble figuring out the best way to integrate this into ...
1
vote
0
answers
35
views
How to Stream RTSP Video from IP Camera to HTML Video Element?
I have an IP camera that streams video using the RTSP protocol. My system needs to connect to this IP camera and stream the video to a web browser. Since most browsers don't natively support RTSP, I ...
-3
votes
0
answers
90
views
How do I convert a 300-degree equirectangular panoramic image to cube faces?
A 300-degree equirectangular panoramic image I want to convert into cube faces using OpenCV in Python. I found code for 360-degree images. How do I modify it to handle a 300-degree image?
import cv2
...