Relative Content

Tag Archive for pythonopencvcomputer-vision

Issues Detecting Line in QR Code for Orientation Detection

I’m currently working on a project that requires detecting the orientation of a QR code. I’m using the qrcode library to detect the center of the QR code and then trying to orient it using a line. However, I’m facing issues due to lighting conditions affecting the detection for certain colors. The line is evident, but the parameters I’m using to detect the lines don’t seem to be effective.My objective is to detect the angle for the piece with the x axis.

Detect hand in chess board

I am developping a system that detects chess plays from a video in python. I have been able to extract the chessboard from the video and detect all of the squares. With that, I transform every frame in the video so that just the board is showed, like this image below.
Board cropped

Stitch pictures from rotating camera

I am writing a homography by rotation project by following the example here: https://docs.opencv.org/4.4.0/d9/dab/tutorial_homography.html#tutorial_homography_Demo5

How to identification of moving objects by an algorithm?

It is necessary to create a function that detects all moving objects in the video. A frame is fed into the function and we must identify the object if it was in the frames before. If the moving object was not previously found, then we assign it an identifier and save it for future tracking.
They decided to implement this function so that in the future the function for recognizing objects would not perform unnecessary work. If it works, it will only be able to recognize new objects.