All Questions
1,217
questions
0
votes
0
answers
32
views
How can I improve the accuracy of the my program to detect the required faces properly?
The idea behind my program is to go through footage, detect and recognize a face that the user provides. However, my program recognizes other peoples faces as well. Any idea how I can make it better?
...
0
votes
1
answer
86
views
Running on OpenCV latest and Python 3.10. Throwing a Module Error
I'm trying to import the module of face_detection in python 3.10. despite having the lib installed still this bugging me.
ModuleNotFoundError
Traceback (most recent call last) Cell In[1],
line 1 ----&...
0
votes
0
answers
62
views
AttributeError: module 'cv2.face' has no attribute 'LBPHFaceRecognizer_create()'
Currently working on a project but I have encountered this error. I have already installed opencv-contrib-python, yet I encountered this problem
import cv2
recognizer = cv2.face....
0
votes
0
answers
67
views
Rearrange bytes to 24-bit pixel data in OpenCV
I am receiving raw Bayer pixel data from imager in an uint8_t buffer. Each pixel size is 3 bytes i.e. 01 23 45 from uint8_t buffer forms one pixel 012345. Is there an elegant way to convert/copy this ...
0
votes
0
answers
103
views
remove white borders around edges in video
i am trying to replace background of a video using open-cv. my problem is a white borders that are appearing in the edges of a person.enter image description here. this is a frame of video i am trying ...
0
votes
0
answers
32
views
Is it possible to have opencv2 and opencv3 on the same PC ? I am using ros noetic ubuntu 20.04
I want to work sometimes with some files developed by opencv3 libraries and sometimes with opencv2, and since the files are so long I do not have the time to migrate from opencv2 into opencv3, it ...
0
votes
0
answers
54
views
Opencv_4 is not building in flutter
I am facing this issue in updated versions of dart and flutter and freshly added open_cv4 package and also facing issue for sample code given...
Launching lib\image_pick_services.dart on motorola one ...
0
votes
0
answers
53
views
dll error when calling a method of a .dll that includes Opencv dependency
I have c++ project compiled as dll. I have set all necessay include and library directories, and compiles fine.
Then, this .dll file is called by another project, but crashes because there is not able ...
0
votes
1
answer
75
views
OpenCV imshow shows very grainy image. How to fix this?
I have a CT image that look like this when I plot it using dicom:
But when I try to use opencv, it appears like this:
Array is dtype=uint16. My code to visualize in OpenCV:
img = np.array(ct_img * ...
1
vote
0
answers
172
views
pkg-config can not find opencv libraries
I have opencv4 installed on my arch linux. I have a project that consist pkg-config command:
PKGCONFIG += opencv
But it gives this error:
opencv development package not found
The project developed ...
0
votes
0
answers
339
views
Locally installed OpenCV to virtual env in Raspberry Pi
I spent two whole days to install OpenCV, virtualenv, Tensorflow.
My last goal is to link locally installed OpenCV to my virtualenv.
I reallized that I do not have to install OpenCV to my virtualenv ...
0
votes
1
answer
1k
views
How to a draw a specific region in image with mouse and extract that text with Pytesseract or EasyOCR?
For example i've an image like below
I want to draw a box for recognize_text() which is in the first line with mouse and extract that text with the help of Pytesseract or EasyOCR in python. Can anyone ...
0
votes
0
answers
201
views
How to analyze the returned result of cv::calibrateCamera?
According to the sample code given by opencv, the rms returned by calibrateCamera is the reprojection error, and the return of computeReprojectionErrors is also the reprojection error. I did an ...
2
votes
0
answers
129
views
Could not find module FindOpenCV.cmake in ROS Build
when i want build my package in ros this error show my:
CMake Error at image_view/CMakeLists.txt:6 (find_package):
Could not find a package configuration file provided by "OpenCV" (...
0
votes
1
answer
3k
views
OpenCV video only show a single frame instead of continuous frame
When I try to export the following video, it only shows a single frame for 12 seconds, I want to show the original video but it only shows one single frame
Below are the code attached:
ret, frame = ...