Questions tagged [opencv]
OpenCV (Open Source Computer Vision) is a cross-platform library of programming functions for real time computer vision.
135 questions
4
votes
1
answer
382
views
Optimizing Image Processing in OpenCV: Using cv::Mat with Reference Counting Mechanisms and C++ ref qualifiers
I have questions regarding this code:
As the cv::Mat copy constructor involves only pointer copying due to the reference counting mechanism, in the ...
5
votes
2
answers
110
views
Filipino Sign Language Recognition System Using MediaPipe & TensorFlow
I am working on a sign language recognition system that processes pre-recorded video datasets to extract hand gesture features for AI training. I am using MediaPipe, OpenCV, and TensorFlow to extract ...
5
votes
1
answer
125
views
Command Line Photo Size Reduction Tool - version 3
This is the third version of the photo size reduction tool for code review. The previous reviews are Resize 200 photos quickly in C++ using opencv and Photo Reduction Tool version 2 - Possible ...
6
votes
2
answers
164
views
Photo Reduction Tool version 2 - Possible reinvention of the wheel
The code is a Linux command line photo size reduction tools. It reduces the size of all the photos in a directory. It may work on Windows 10, but it has not been built or tested on Windows. It takes ...
6
votes
2
answers
223
views
Resize 200 photos quickly in C++ using opencv
I have about 200 photos that I need to up load to a WordPress website. When I tried up loading the second one I got an error message that the file was too wide. Apparently WordPress limits the width ...
2
votes
3
answers
236
views
Optimizing a for loop for changing pixels values using lookup table
I tried to parallelize the loop, and I got a good result but still not enough. This post is a follow up to a recent one where I optimized other parts of the code using a lookup table and spacial and ...
9
votes
1
answer
246
views
Movie Barcode Generator
Task
I wrote a movie barcode generator in C++ using OpenCV. Self-described engineer, space lover and tea drinker Thomas Poulet defines a movie barcode as follows:
A Movie Barcode is the color ...
6
votes
2
answers
686
views
Histogram manipulation
I want to optimize the code to run faster, so I started with parallelizing the for loops, but the code still not very fast. I do get variable frames per second, ...
2
votes
0
answers
58
views
Convert Image Class to OpenCV Mat Data Structure in C++
This is a follow-up question for An Updated Multi-dimensional Image Data Structure with Variadic Template Functions in C++. I am trying to build the bridge to perform the conversion between the ...
3
votes
0
answers
72
views
OpenCV for Faster Background Recovery in Watermark Removal
I am working on a watermark removal project using OpenCV in C++. The goal is to recover the background from a composite image by separating it from the foreground (watermark). The code processes the ...
1
vote
1
answer
164
views
Corner detect takes long time to run
I am using OpenCV’s findchessboardcornersSB function to find the corners in the image. I am using below code/ header file:
...
9
votes
1
answer
763
views
Remove hot-spots from picture without touching edges
In the picture below there are some regions which are very bright (i.e. more white). Some bright regions are wide and some are narrow or thin. The red box covers one such wide bright spot, and blue ...
7
votes
1
answer
490
views
Image stitching using SIFT keypoint descriptor and homography matrix
I have written a code to stitch 2 images using SIFT keypoint descriptor and homography matrix for perspective transform. Are there any areas where code an be improved or optimized?
...
2
votes
0
answers
202
views
Control your laptop using hand gestures
This program uses webcam to track hand movements / gestures and sends corresponding mouse / keyboard events to the computer. I use it to switch spaces, move active window between desktops, scroll ...
1
vote
2
answers
534
views
Bilinear interpolation optimized using intrinsics
I have found that a bottleneck of the OpenCV application I use is the bilinear interpolation, so I have tried to optimize it. The bilinear interpolation is in 8D space, so each "color" is an ...