Skip to main content

All Questions

Tagged with
0 votes
0 answers
18 views

Change color background of chat screenshot with multicoloured background

I have a screenshot taken from a chat platform and want to change the background of the chat to white, including profile pictures of participants. The code from this Question works fine if the name of ...
J.Doe's user avatar
  • 383
0 votes
0 answers
32 views

How to identify the similarity(in %) between 2 "Black & White" only images / similarity between shapes ignoring colors?

I've searched all possible related keywords that I can think of, but the results are not really what I'm looking for, as most algorithm I found puts high concern on COLOR. The idea of my application ...
shiva prakash's user avatar
0 votes
0 answers
29 views

Why is OpenCV's matrix addition function not clipping when I add a uint8 variable with a value of 200 to a uint8 variable with a value of 100? [duplicate]

I am working my way through PyImageUniversity and am familiarizing myself with matrix addition and subtraction in Python using NumPy and the OpenCV library. I have Python 3.11.4, OpenCV 4.10.0-dev, ...
Kyle Troutt's user avatar
-1 votes
0 answers
25 views

Find the best convergence point of multiple particules trajectories? [closed]

In my project, I would like to find the best convergence point of trajectories of tracked points (done with cv2.calcOpticalFlowPyrLK...). I know all the points of each trajectory. My goal is to find ...
zarg404's user avatar
  • 318
-3 votes
0 answers
48 views

How to add horizontal lines to the table in image opencv

I want to add horizontal lines to the below image resultant output should be like: Any methods on how to work it out, even if there are diff images which don't have horizontal lines. I've tried ...
Elysian's user avatar
  • 19
-1 votes
1 answer
39 views

Python - errors when calling cv2.ml.TrainData_create(): - responses data type = 19 is not supported - Expected Ptr<cv::UMat> for argument 'responses'

I am following the following tutorial: https://www.opencvhelp.org/tutorials/deep-learning/training-models/ Following the instructions using the Caltech-101 dataset, I preprocessed the images (...
user279043's user avatar
1 vote
0 answers
43 views

How to extract a rectangle in an image from identified lines

I have thousands of images that look like this: I need to run an OCR algorithm on the "1930 E.D." column. I find that when I crop the image down to just that column, I get much better ...
Nick K9's user avatar
  • 4,436
-5 votes
1 answer
72 views

Conway's GOL rules not implemented correctly [closed]

I am using OpenCV and a kernel to count neighbors of each pixel, the pixel's value then becomes the number of neighbors that it has, and then I apply Conway's rules, but the output is not as expected, ...
Reuben Badcock's user avatar
4 votes
3 answers
167 views

Compromise between quality and file size, how to save a very detailed image into a file with reasonable size (<1MB)?

I am facing a small (big) problem: I want to generate a high resolution speckle pattern and save it as a file that I can import into a laser engraver. Can be PNG, JPEG, PDF, SVG, or TIFF. My script ...
Tino D's user avatar
  • 2,308
0 votes
3 answers
69 views

Extract Shapes from an image with black background

I have a task to bulk extract shapes from an image. The image is with black background and the shapes are with white border. The main goal is to extract the fruits from the image. How do you that ...
DevelopmentLLC's user avatar
0 votes
0 answers
40 views

How can I build my Flutter app to use Python for OpenCV and Numpy? [closed]

I'm developing a Flutter app for iOS that requires image processing using Python, specifically with OpenCV and NumPy. I'm facing several challenges and would appreciate guidance on the best approach: ...
user26409301's user avatar
0 votes
1 answer
31 views

OpenCV GStreamer VideoWriter write hangs in a Python multiprocessing Process

I'm working on real-time image processing using a Raspberry Pi camera. To optimize processing times, I'm trying to separate some image transformations and video encoding in a separate Process: import ...
Aurelien Montmejat's user avatar
0 votes
0 answers
43 views

OpenCV contours sorting x-axis and y-axis

I am working on a python program to solve a wordsearch. I am using pytesseract and opencv to process an image of the wordsearch and the solution will be displayed as a text. The script processes the ...
HND's user avatar
  • 1
-1 votes
0 answers
63 views

Why is the color of the line black if the BGR Code I have is red?

When running this code the desired outcome is for the line drawn to be red but it is drawing a black line. I am confused since I wrote the BGR code for white but it seems that is it is just working in ...
Jaime Manuel Garcia Dominguez's user avatar
0 votes
1 answer
63 views

PS Camera taking too much light on OpenCV

I installed a third-party driver and firmware to use my PS 4 Camera on PC and I need it to do a object detection project. Everything works fine on camera on Windows (the screen resolution looks buggy ...
Cesco's user avatar
  • 5

15 30 50 per page
1
2 3 4 5
1926