Skip to main content

New answers tagged

Advice
0 votes
0 replies
0 views

Tracking small targets on thermal video

Can you identify the reason why it fails? Is there a shift in the object appearance or in the relat in on between object snd background? Can you share images? In 2012 I had good inter-detection-frame ...
Micka's user avatar
  • 20.2k
Best practices
0 votes
0 replies
0 views

Which is the best way to detect lines in historically book pages

I wrote an answer once for another question where the images needed some segmentation before (splitting the images into two). Some stuff to consider: the OCR algos require nice images to work well, so ...
Tino D's user avatar
  • 2,792
Best practices
0 votes
0 replies
0 views

Which is the best way to detect lines in historically book pages

I have 16th century Spanish books containing missed text words and low quality.
Muhammad Asif's user avatar
Best practices
0 votes
0 replies
0 views

Which is the best way to detect lines in historically book pages

On OpenCV page I found Text Detection and Removal using OpenCV
furas's user avatar
  • 149k
Best practices
0 votes
0 replies
0 views

Which is the best way to detect lines in historically book pages

I even found question which uses numpy in similar way: python 3.x - Detect lines of text in image openCV - Stack Overflow
furas's user avatar
  • 149k
Best practices
0 votes
0 replies
0 views

Which is the best way to detect lines in historically book pages

it all depends on what the pages look like. If pages are white and text-lines are vertical then usually there are pixels-lines with many white pixels between text-lines. And it would allow to split it ...
furas's user avatar
  • 149k
1 vote

Variable frames per second in OpenCV

OpenCV's VideoWriter does not, to my knowledge, have the ability to write videos with Presentation Timestamps (PTSes). There is at least one feature request for this: the one feature request that I ...
Christoph Rackwitz's user avatar
Best practices
0 votes
0 replies
0 views

How to map people detected in a fixed camera view to a 2D seat layout (seat occupancy, not person ID)?

I used a similar idea in a vehicle detection project, where a line was just a trigger to decide when to process the frame. You can apply that here as well, but only as a trigger, not as the decision ...
Paulo Oliveira's user avatar
Advice
0 votes
0 replies
0 views

How to analyze classroom behavior using computer vision and pose estimation?

This is a very challenging project considering the practical constraints involved. Before thinking about models, it is important to consider the image acquisition and processing challenges, such as ...
Paulo Oliveira's user avatar
Advice
0 votes
0 replies
0 views

How to analyze classroom behavior using computer vision and pose estimation?

I don't see YOLO nor MediaPipe in project on GitHub. There is only basic code for titanic.csv
furas's user avatar
  • 149k
3 votes

How do I invert cv2.warpPerspective in Python?

You either invert the matrix using cv::invert or np.linalg.inv. Or you simply pass the WARP_INVERSE_MAP flag to the warp function (warpPerspective or warpAffine both accept the flag), which will make ...
Christoph Rackwitz's user avatar
0 votes

How do I invert cv2.warpPerspective in Python?

I have had a similar issue and solved it - maybe it helps someone else :) My goal was to extract a qr-code from an image, warp it so it's "nice and straight", then draw on it, and then warp ...
m.reiter's user avatar
  • 2,717
Advice
0 votes
0 replies
0 views

How to analyze classroom behavior using computer vision and pose estimation?

One possible approach is to combine object detection, pose estimation and behavior analysis. A typical pipeline could look like this: 1. Use an object detection model such as YOLOv8 to detect students ...
AI助教_柯宇晉's user avatar
2 votes
Accepted

Geometry Dash Vision Bot is not jumping at the right time

There are multiple issues with your code that I will address briefly: First of all, your calculation for the player_obstacle_distance is incorrect. Your player has already crashed into the obstacle ...
André's user avatar
  • 2,246
5 votes
Accepted

Detecting a face with OpenCV

You have to use the detector you created. Just because the running mode is live stream doesn't mean the detector object knows which live stream. You've directed data out of it with the callback, but ...
Xellos's user avatar
  • 1,111
Advice
0 votes
0 replies
0 views

How to improve the text retrieval accuracy from the image

Why do you think the resize 2x is very important? It adds no new information to the original image. You are better off scanning at a higher resolution in the first place. The processing chain looks ...
Martin Brown's user avatar
  • 3,895
Advice
1 vote
0 replies
0 views

How to improve the text retrieval accuracy from the image

You should add the image with example text which makes problems to have a minimum reproducible example.
André's user avatar
  • 2,246
Advice
2 votes
0 replies
0 views

How to improve the text retrieval accuracy from the image

you could add image with example text which makes problem.
furas's user avatar
  • 149k
0 votes

How to convert OpenCvSharp.Mat to Emgu.CV.Mat?

OpenCvSharp now has FaceDetectorYN with NuGet 4.13.0.20260302 onwards.
Nayan's user avatar
  • 3,253
Tooling
1 vote
0 replies
0 views

Segmentation of Connected Component Based on Known Primitive Template

Thank you so much for the elaborate answer André! Your results look very promising, I will try to implement this in the coming days and get back to you. Edit 26-02-2026: I have introduced the method ...
Vincenzo's user avatar
1 vote
Accepted

Digital Numbers on Tesseract OCR

Moved from an edit to the question: SOLUTION: I've had to train my own data to try it with the OCR. It seems that works well, but I don't know why the trained data from arturaugusto not works for me =(...

Top 50 recent answers are included