Category "opencv"

Resizing image without distortion creates a square background but in black

In order to maintain the aspect ratio of my image I'm making use of the following code to create a square block and applying my image over this which is fine bu

How to find the boundary of close points in .net?

I have many points and I can draw it in a image. there will be many many points . what I want is to find the points is closely. and may be there will be two clo

Program terminated with signal sigsegv, segmentation fault. #0 0x000000000040199e in ?? ()

I am a beginner for opencv. Yesterday I wrote a simple code in c++, which is really puzzled me. Here is my code. #include <stdio.h> #include <iostream&

Replacing the Opencv with my changes used by opencv-python

I am Working on a project which uses opencv-python. Due to few specifications I had to make few code changes in the opencv code( Received from open source). Now

code: 'ENOENT', message: 'No such file or directory' when using opencv.js in node-project

I'm using opencv.js for face detection. When I run this html file with the linked js files (opecv.js,utils.js) using a live server, it works.But,now when I copy

How do I get rid of black bar in python window?

I'm working on a Object Detection project for the game Cuphead using OpenCV and Python. Now I'm trying to capture objects in real time but when the detection wi

Can't install opencv-python build dependencies on python2.7 inside alpine

I am having immense difficulty getting opencv-python to install on alpine. I have tried: Installing opencv-python==4.2.0.32 Using ubuntu instead of alpine Direc

CV2 cap.set(1,idx); cap.read(), Does it Read Frame idx or Frame idx+1

In CV2 will this chunk of code read the frame for the given frame number or the next frame? desiredFrames = [3,5,7,n] cap = cv2.VideoCapture("somefile") for id

How to antialias picture to get rid of the jerkiness in the image

I am trying to antialias a picture and tried few methods, with open CV and with matplotlib and also with PIL. But still can't get rid of the jerkiness. This is

Xcode 13.2 does not build project with OpenCV - 4.5.3

I am trying to integrate OpenCV framework in my cocoapod project. The steps I have followed to integrate OpenCV Deploy OpenCV framework to the private repositor

Zernike moment as Shape descriptor doesn't work

I m working to create a CBIR, I want to use Zernike moment to get shape feature of a query image. I try to implement it by following this tutoriel: https://pyim

OpenCV warpAffine error during image augmentation using Albumentations

I have been trying to do image augmentation using a library called Albumentations. But I got some error from OpenCV while transforming the images. I ran the cod

mapping [x,y] coordinates on plane aruco defined plane and servo movement on mapped points

I am new to this and I am sorry to poorly ask but I don't know where else to search. I have 4 Aruco markers placed in a square position respectively by ids 0 1

How to detect the colors nicely using OpenCV python

(It is not the whole code, it's just the main part) It's just a simple project I wanted to do, not school or anything. I want to segment out the red parts nicel

How Can I Convert Image .png to string in C++?

I am new to using C++. I am trying to convert an image to a string (I need to convert an image to a buffer). So I use the "opencv" library. I try it but it does

How can I fix Intellisense issues with Python's openCV on vsCode

I am somewhat new to Python and I am starting to explore openCV and numpy for object detection. It's all going well and I understand it well, however I am using

Python OpenCV putText() show (non-ascii, unicode, utf) character symbols

I am creating a sign language detection application in Armenian. However, the Armenian letters don't show when I am signing but do show in my console/terminal.

cv2 magesearch pyautogui need better way to loop thu functions

im looking for a better way to write this code each function searches for the image using cv2 and pyautogui through python-image search. the code works well but

Python - stitch images back together after slicing

I have a directory of image patches that are all the same size (33x33), the images are ordered so that the first 7 images are row 1, then the next 7 images are

cv2 SystemError when using webcam on MacOS

I am trying to run a very simple script using opencv, which should display frames from my webcam (on a 2019 macbook pro running OS Catalina) until interrupted.