I have a black line and purple lines. I want to calculate the distance between each purple pixel points in the canny image and the closest black line in the mos
Please help me resolve this **openCv **problem in faces import cv2, time first_frame = None video = cv2.VideoCapture(0) while True: check, frame=video.read(
when I learn YOLO using opencv, and I use 1 class. outs = net.forward(output_layers) if I print the output is as follows: [9.31552518e-03 7.26305973e-03 2.5157
I want to do object detection with YOLO in 2 stream cameras. I use multithread and the result is like in the video. So when 2 camera streams are used, object de
I am using a raspberry pi 4. And I installed a 64-bit (not 32-bit) Raspberry Pi OS. When I tried to install libjasper-dev using the command 'sudo apt-get instal
I am working on an OCR system. A challenge that I'm facing for recognizing the text within ROI is due to the shakiness or motion effect shot or text that is no
I have a stationary camera which takes photos rapidly of the continuosly moving product but in a fixed position just of the same angle (translation perspective)
I'm trying to draw a concurrent circles of equal radius on top row of image with a text on center of circle. I'm able to draw a single circle on center of imag
I've using ORB/FLANN to compare images and want to save / load image descriptors that come out of FLANN to a file so I can read them in later to compare with an
I'm trying to run this code. I don't know what is wrong with it, but this code is not running. and I don't know how to solve this problem. import cv2 from facia
I am trying to write a code that calculates the speckle contrast of a laser line. Here is an example of an image that I would be analyzing: The image is black w
I am tracking one particular dog and nothing else. What is the maximum stage, number of positive and negative samples that makes sense? With: ./opencv_trainc
I'm trying to execute a python file in c#. But I'm getting an error when I'm trying to execute the python file. The error is Microsoft.Scripting.SyntaxErrorExce
out = cv2.VideoWriter(output_file, codec, fps, (width,height)) while video.isOpened(): has_frame, image = video.read() if has_frame:
I'm converting a pytorch tensor representation of an image and series of points to numpy so that I can draw lines between the points and display the image in ju
I've read this entire paper multiple times, and I've found a way to make everything in python... Except this (Article II, section C). They want me to upscale th
Is there a standard performant way to edit/draw on a CVImageBuffer/CVPixelBuffer in swift? All the video editing demos I've found online overlay the drawing (re
I have a simple python code using OpenCV and Keras that performs some detections on frames (follow-up from my previous question here). But when I want to record
I have a simple python code using OpenCV and Keras that performs some detections on frames (follow-up from my previous question here). But when I want to record
For an exercise at school I need to work with OpenCV, but I can't figure out how I can link this in CLion. I have chosen to put the entire OpenCV library in my