Skip to content

Tag: opencv

OpenCV text and shapes look vague on my PC compared to other PC

I have a python script that draws text and shapes using the OpenCV library. The text and shapes look great on my Ubuntu PC (ran in VirtualBox) with 1920×1080 resolution. When I run the exact script on my own Windows 11 system with the same 1920×1080 resolution it looks really vague. This is is the m…

cv2.boundingRect creating issue

I am working on preprocessing images of digits. Each image contains a single number and some unwanted contours . This noise or contours can be in the form of lines or small dots. My task is to remove these contours. So I decided to use the following algorithm Find all contours Sort the contours according to t…

Get PIXEL VALUES of a circle located?

I have parameters of circle on a image: radius and coordinates of center. Is it possible to return the location of pixels along a circle? I need to get the all pixel values along the circle line. I tried get coordinates by next solution: But if angle is not agreed with radius I miss neighboring pixsels: Answe…

NameError: name ‘VideoCapture’ is not defined [closed]

Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers. This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers. Closed 11 …