Questions tagged [opencv]
OpenCV (Open Source Computer Vision) is a library for real time computer vision. When using this tag, please add a language specific tag (python, c++, ...), if relevant.
opencv
73,471
questions
-1
votes
0
answers
19
views
Is it possible to measure the distance between moving edges in a live video feed?
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
15
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, ...
0
votes
0
answers
9
views
I was doing a camera calibration system, based on a series of images
using OpenCvSharp;
using System;
using System.Collections.Generic;
using System.IO;
class CameraCalibration
{
static void Main()
{
Size chessboardSize = new Size(5, 8);
Size ...
-1
votes
0
answers
28
views
License Plate Color Detection with Tesseract and OpenCV
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
21
views
Unable to get correct result using cv::calibrateHandEye
I have a camera mounted on a gimbal, and I need to find the rvec & tvec between the camera and the gimbal platform. So I did some research and this is my step:
Fixed the chessboard in one place, ...
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
29
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
40
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((...
-1
votes
0
answers
36
views
OpenCV build keeps failing with errors related to ffmpeg [closed]
I am trying to install OpenCV on a Raspberry PI 4 with Raspbian Version 12. The default method via pip didnt work it kept failing to build the wheel. So I tried to install it manully.
I followed this ...
-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 ...
0
votes
0
answers
30
views
Fabric JS with OpenCV
I am using highlightWallAroundPoint function to find detecs walls around where user clicks.
const highlightWallAroundPoint = (_, x, y) => {
const lowerCanvas = fabricCanvas.lowerCanvasEl;
...