Category "opencv"

Epipolar line using essential matrix for calibrated camera is wrong

I wanted to get the essential or fundamental matrix for calibrated cameras (R, T, Ks are given). There are two cameras. Is this step correct to get the essentia

CMake Error at CMakeLists.txt:7: Parse error. Function missing ending ")". End of file reached

cmake_minimum_required(VERSION 3.0.0) project(opencvtest VERSION 0.1.0) include(CTest) enable_testing() set(OpenCV_DIR C:\Users\Sayar\opencv\build\) find_pac

DARKNET/OPENCV/GSTREAMER: module v4l2src0 reported: Failed to allocate required memory

I'm trying to run the Yolov4-tiny demo of Darknet but am encountering the following error: [WARN:0] global ../modules/videoio/src/cap_gstreamer.cpp (1824) handl

Face Detection in Preview Camera Feed on Flutter

How do we "draw a square" on detected faces on camera preview feed in Flutter? Is there a cross platform solution to this? Flutter provides a Camera Plugin, but

How can get the hexagons and circle in this image with opencv?

I can's find the hexagons and circle clearly in this image, in the process of finding, i have used too many normal ways but there was still have no effective

Install OpenCV on Mac Catalina

I am trying to install OpenCV on my Mac using this tutorial: https://medium.com/macoclock/setting-up-mac-for-opencv-java-development-with-intellij-idea-fd2153eb

What do the h31 and h32 terms in a homography matrix mean?

I have used the MOTION_HOMOGRAPHY function in OpenCV (python3.6) to register a pair of images, and I am trying to interpret the 3 x 3 warp matrix the function r

Inspite of my model being properly trained and dumped in an pickle file and getting an unwanted error while testing the file using cv2.VideoCapture

My model is already trained and is saved in model_trained.pkl file. And I'm trying to test the same using video captures. But getting error "FileNotFoundError:

How To Detect There Is A Piece On A Chess Board

I'm Tring To Convert A Chess Board Image Into A Matrix With The Pieces On The Board. like so: [ [P, P, P, P, P, P, P, P,] [P, P, P, P, P, P, P, P,] [-, -, -,

CV2 puttext is not adding special characters

I am trying to update text om images using CV2.Puttext feature. Its adding all english words properly but special/asci characters like №,■,<<,

hand tracking system using opencv error:TypeError: handDetector.findHands() missing 1 required positional argument: 'img'

I'm following an online advanced CV course but the code wouldn't run properly for me. These are the error messages I've gotten: #Traceback (most recent call las

mingw32-make fails in cmd due to temporary errors of non-literal type and non-trivial destructor in open CV sources

I need to inject Open CV to Qt according to this tutorial, but at the stage mingw32-make on cmd I got en error. C:/opencv/sources/3rdparty/protobuf/src/goog

Use cv2.findContours output as plt.contour input

I have the following image I find the contour using contours, hierarchy = cv2.findContours(thresh, cv2.RETR_LIST, cv2.CHAIN_APPROX_NONE) contour = contours[0]

RGB to V (from HSV)

I am trying to convert an RGB image to its Value component. I cannot use the RGB2HSV function because I have been instructed to convert it without it. If I am n

EmguCV never open ".jpg" file but open only ".tif" files..Why?

I am using EmguCV in Visual Studio 2022 and I am simple trying to read and open my image but it only opens .tif image files not .jpg or any other file... When I

How to open GStreamer pipeline in OpenCV

I'm a software engineer in South Korea. I'm trying to open webm video using GStreamer pipeline in opencv program But I can't find any solution to figure out it.

find_package() ignores <PackageName>_ROOT

In my CMake script I append the path to a folder containing <PackageName>Config.cmake to <PackageName>_ROOT and then call find_package(<PackageNa

2D Ball Stabilization Platform

I am trying to do 2D ball stabilization platform which always keeps the ball which is put on the platform, center of the platform (x= 0, y=0). Here is my restri

Drawing with cv::circle's over a line Iterator in c++ with openCV

I'm creating an iterator line, which I pass through a for() and draw with cv::circle points. So far so good, form a line drawing, by the iterator's line points.

(-5:Bad argument) in function 'rectangle' - Can't parse 'pt1'. Sequence item with index 0 has a wrong type

As I detect my tflite file, the problem happened. The command I wrote. python detect.py --weights ./checkpoints/yolov4-tiny-tf.tflite --size 416 --model yolov4