text
stringlengths
36
4k
label
stringclasses
4 values
repo
stringclasses
27 values
source
stringclasses
2 values
COLOR_RGB2Lab is not reliable for float32 values ### System Information OpenCV python version: 4.8.0.74 Operating System / Platform: Win11 Python version: 3.11 x64 ### Detailed description The convert color function does not convert all RGB-values to the correct corresponding L*a*b*-Values if the RGB values are of ...
question
opencv/opencv
nlbse2024
Cross compiling ARM64 in Windows x86_64 fails ### System Information OpenCV version: 4.7.0 OS: Windows 11 Compiler & version (as reported by cmake) -- Building for: Visual Studio 17 2022 -- The C compiler identification is MSVC 19.37.32822.0 -- The CXX compiler identification is MSVC 19.37.32822.0 ### Detailed descr...
question
opencv/opencv
nlbse2024
Does "cv::VideoCapture" have any thread lock? ### System Information OpenCV python version: 4.8.0.76 Operating System / Platform: MacOS 14 && Windows 11 Python version: 3.11.5 ### Detailed description VideoCapture Multithreading ### Steps to reproduce - When i using ThreadPool, ```python import cv2 import time ...
question
opencv/opencv
nlbse2024
Opencv includes not found after build ### Describe the doc issue Hello, I built the Opencv using cmake. Now i need to add OPencv into my application and call its functions. I could not find the include\\version.hpp to include in my application. (header file) Your input is appreciated. ### Fix suggestion Hello...
question
opencv/opencv
nlbse2024
Can cv2.VideoCapture read 4 channel video? ### Describe the doc issue I want to read 4 channel video, using: ``` cv2.VideoCapture(path) while True: ret, frame = video.read() ``` But, I find the frame is 3 channel, ### Fix suggestion _No response_
question
opencv/opencv
nlbse2024
faceRecognizerSF.feature(alingCrop, feature) Always return the same features for different faces ### System Information [OpenCV version: 4.7.0](https://github.com/opencv/opencv/releases/download/4.7.0/opencv-4.7.0-windows.exe) Operating System / Platform: win11 ``` <dependency> <groupId>org.bytedeco</groupId> <art...
question
opencv/opencv
nlbse2024
imshow not implemented ### System Information **OpenCV version**: 4.8.0 (also occurs in version 4.7.0) **Operating system**: Windows **Compiler**: Microsoft Visual C++ v19.36.32535 (x86) ### Detailed description **My code is in C++.** I'm using the HighGUI module (`#include "opencv2/highgui/highgui.hpp"`), and it ...
question
opencv/opencv
nlbse2024
Rotate Parameter for putText() function ### Describe the feature and motivation I am trying to rotate my putText() without rotating the whole frame. But it seems like a hard thing to do. Is it possible to add a new "Rotate" parameter to putText() function? TIA ### Additional context _No response_
question
opencv/opencv
nlbse2024
How to cite OpenCV? ### Describe the doc issue I write a paper with OpenCV, and I want to cite OpenCV in my paper. So can I cite OpenCV in my paper. ### Fix suggestion _No response_
question
opencv/opencv
nlbse2024
Ordering of images in stitcher I was performing a 360 degree images stitch operation using SIFT for feature extraction and Brute force matcher for matching. I observed that the order of images which I provide does not matter as the output I get is in different order. I used following program for stitching [Stitching d...
question
opencv/opencv
nlbse2024
error: 'Mutex' in namespace 'cv' does not name a type AND error: 'recursive_mutex' in namespace 'std' does not name a type ### System Information OPENCV version 4.7.0-dev **Host platform OS**: Ubuntu 22.10 **Cross Compiler used for compilation** - arm-none-eabi-gcc (version gcc-arm-none-eabi-10.3-2021.10) Used Cmake-...
question
opencv/opencv
nlbse2024
How to compile OpenCV into a single static library file? ### Describe the feature and motivation I compiled using -DBUILD_opencv_world=ON -DBUILD_SHARED_LIBS=OFF, which resulted in libopencv_world.a in the lib directory and several .a files in the lib/opencv/3rdparty/ directory. I would like to merge all the .a files...
question
opencv/opencv
nlbse2024
Image Reshape in c++ - Input image = cv::dnn::blobFromImage(image, ScaleFactor, cv::Size(Width, Height), false, false); - This function return 1 x 3 x Width x Height. - But some model requested 1 x Width x Height x 3. - In case difficult to reshape image. - How to convert 1 x 3 x Width x Height image size to 1 x Width...
question
opencv/opencv
nlbse2024
Creating an ROI on a live video ### System Information Jetson AGX Xavier Jetpack 4.6.1 Opencv 4.1.1 CMake 3.23.1 ### Detailed description I am trying to create an ROI on a live video and for a while it seems to work but after some time the programme seems to think the ROI has moved out of the image plane. I'm not t...
question
opencv/opencv
nlbse2024
Cannot load TensorFlow SavedModel created with Teachable Machine ### System Information OpenCV version: Current Branch 4.x Operating System: Windows 11 Compiler: Visual Studio 17 2022, Win32 Release build ### Detailed description I built a simple model with Teachable Machine and downloaded it in the Saved Model for...
question
opencv/opencv
nlbse2024
The parameter patternSize behaves unexpected in findCirclesGrid() ### System Information OpenCV python version: 4.7.0.72 Operating System / Platform: macOS 13.3.1 Python version: 3.10.10 ### Detailed description According to the [documentation](https://docs.opencv.org/3.4/d9/d0c/group__calib3d.html#gad1205c4b803a21...
question
opencv/opencv
nlbse2024
How about Edges? ### Descripe the feature and motivation They can be detected using edge detection algorithms like Sobel, Canny, or Laplacian. Edges are useful for tasks like object detection, image segmentation, and feature matching. ### Additional context _No response_
question
opencv/opencv
nlbse2024
Does DNN support intel N100 processor I'd like to buy a mini PC with intel N100 processor. I am not sure if "cv2.dnn.readNetFromTensorflow" support the new processor. I use the function to detect face in real time. Thanks in advance for your help!
question
opencv/opencv
nlbse2024
How to image process the on the original image like the of the given output. ### System Information I have this image Original Image:- ![img1](https://user-images.githubusercontent.com/105721260/222876300-2f997dc1-9bc1-4eb2-b574-16a78297ad35.jpg) ,And after processing it above we want the following output [output...
question
opencv/opencv
nlbse2024
OpenCV no longer builds with Cuda 12.0.1 ### System Information OpenCV version: 4.6.0 Operating System / Platform: Gentoo Linux Compiler & compiler version: GCC 12.2.1_p20230121-r1 ### Detailed description Fails to build due to missing symbols. [build.log](https://github.com/opencv/opencv/files/10737886/build.log)...
question
opencv/opencv
nlbse2024
Colud we use USAC with PNP? ### Descripe the feature and motivation Because using RANSAC with PNP shows bad effects. ### Additional context _No response_
question
opencv/opencv
nlbse2024
Unable to compile 4.5.5 with ARM ### System Information OpenCV version: 4.5.5 Operating System / Platform: Ubuntu 18.04 Compiler & compiler version: GCC 7.5.0 ### Detailed description I tried to build opencv through the options of the command in **Steps to reproduce**. However, I checked the following error message...
question
opencv/opencv
nlbse2024
putText() documentation is misleading about origin point ### Descripe the doc issue There is a mistake in ```putText()``` function documentation: https://docs.opencv.org/4.x/d6/d6e/group__imgproc__draw.html#ga5126f47f883d730f633d74f07456c576 https://github.com/opencv/opencv/blob/540aa13300b2aede45d328a228f79fb26ad1a...
question
opencv/opencv
nlbse2024
Unable to run the Simple RTSP program in docker OpenCV => 4.7 Operating System / Platform => ubuntu 20.04 Compiler => python I need to take and RTSP stream which is currently from VLC player rtsp://localhost:8554 to the program running inside the docker and the docker container has to give the video output. for that ...
question
opencv/opencv
nlbse2024
How disable MT default on MSVC? ### Descripe the doc issue Got errors when link opencv.lib with Unreal Engine: ``` 检测到“RuntimeLibrary”的不匹配项: 值“MT_StaticRelease”不匹配值“MD_DynamicRelease”(SharedPCH.Engine.ShadowErrors.h.obj 中) ``` UE default using MD, but opencv default using MT How to enable MD while still using sta...
question
opencv/opencv
nlbse2024
cv::setNumThreads does not work with Apple GCD ### System Information OpenCV version: 4.7.0 OS: macOS 13.0.1 on Apple M1 Compiler: Apple clang version 14.0.0 (clang-1400.0.29.202) Target: arm64-apple-darwin22.1.0 ### Detailed description Compile OpenCV with default configuration, which results in using GCD for para...
question
opencv/opencv
nlbse2024
Avoid using system zlib ### Descripe the feature and motivation How to forely using static build zlib rather than system one? ### Additional context How to forely using static build zlib rather than system one?
question
opencv/opencv
nlbse2024
Error trying to build OpenCV 4.5.5 with OpenVINO 2023.2 ### System Information OpenCV version: 4.5.5 Operating System / Platform: Windows 10 Inference Engine (OpenVINO) version: 2022.3 Python version: 3.9.6 ### Detailed description Hey guys, So basically I was trying to build OpenCV 4.5.5 with OpenVINO 2022.3 and ...
question
opencv/opencv
nlbse2024
How to disable zlib? ### System Information I using `BUILD_ZLIB=OFF`, but it still calls some `gzgets` API from zlib. And I found in code, it hard coded: <img width="510" alt="image" src="https://user-images.githubusercontent.com/21303438/209456235-b80431de-a5c2-4e68-a207-a8e48f35d962.png"> Am confused here... how...
question
opencv/opencv
nlbse2024
OpenCV contrib attribute not found - AttributeError: module 'cv2' has no attribute 'face' ### System Information In case you get `AttributeError: module 'cv2' has no attribute 'face'` (or any other [module](https://github.com/opencv/opencv_contrib/tree/4.x/modules) (`rgbd`, `ximgproc `, `bgsegm`, etc.) and you alread...
question
opencv/opencv
nlbse2024
An nparray that uses an inconsistent save from cv2.imwrite ### System Information // example for python user OpenCV python version: 4 Operating System / Platform: Ubuntu 20.04 Python version: 3.8 ### Detailed description I ran the following code, The outputs should be the same. Why are they different? ### Steps to...
question
opencv/opencv
nlbse2024
Give it option to build opencv x86 static lib on a ARM M1 mac ### Descripe the feature and motivation Give it option to build opencv x86 static lib on a ARM M1 mac. Currently, whenever enviroment set, opencv always build arm static on a arm mac, this is no problem, but sometimes users need x86 lib on M1 mac, For exa...
question
opencv/opencv
nlbse2024
android jni VideoCapture can't open videofile ### System Information OpenCV version: 4.6.0 Operating System / Platform: android 12 Compiler & compiler version: cmake 3.10.2 ### Detailed description ``` E/cv::error(): OpenCV(4.6.0) Error: Requested object was not found (could not open directory: /data/app/~~sbu7r1TB...
question
opencv/opencv
nlbse2024
Protobuf compatibility... ### Descripe the feature and motivation My **ENV**: - Ubuntu 22.04 - gcc: (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0 - Protobuf: 3.20.3 - OpenCV 4.6.0 (building) Failed to build **OpenCV dnn caffe** with this version of **Protobuf**: ```console /usr/local/include/google/protobuf/arenastring.h:...
question
opencv/opencv
nlbse2024
remap cv2 ### System Information OpenCV python version: 4.5.4.6 Operating System / Platform: Ubuntu 20.04 Python version: 3.8.1 ### Detailed description remap function cut end of image I have x_coords and y_coord and use remap, but output missing end of image ![image](https://user-images.githubusercontent.com/423...
question
opencv/opencv
nlbse2024
Unable to build C++ solution using OpenCV 4.5.5 with OpenVINO 2021.4.689 ### System Information OpenCV version: 4.5.5 Operating System / Platform: Ubuntu 18.04 CUDA version: 11.2 CuDNN version: 8.1.0 ### Detailed description Hey, So my ultimate goal is to build OpenCV 4.5.5 with support for CUDA 11.2 and OpenVINO ...
question
opencv/opencv
nlbse2024
The ARM32 Linux platform uses opencv3.4.1 ### Descripe the doc issue Hello, I use the ARM32 Linux platform and the operating system is Ubuntu16.04. After compiling Opencv3.4.1 with the cross-compiler, the following errors occurred when I generated an opencv program separately: The above is my error information ![图片](...
question
opencv/opencv
nlbse2024
Unable to link statically to OpenCV 4.2 ### System Information OpenCV version: 4.2 Operating System / Platform: Ubuntu 20.04 Compiler & compiler version: GCC 9.4.0 ### Detailed description I am trying to build a shared library that uses OpenCV. I have openCV installed via `apt-get install libopencv-dev` in the dock...
question
opencv/opencv
nlbse2024
Scan Image Coords issues ### System Information We use opencv version 4.5.4. Even the issue is there on the opencv version 3.4.2 also. "cv::Exception: OpenCV(4.5.4) /home/runner/work/opencv/opencv/opencv-4.5.4/modules/imgproc/src/resize.cpp:4051: error: (-215:Assertion failed) !ssize.empty() in function 'resize' " W...
question
opencv/opencv
nlbse2024
How to infer unet by opencv? ### Descripe the feature and motivation Is there any example with ".cpp" or ".py" I can refer to unet inference? so: https://github.com/opencv/opencv/blob/master/samples/cpp/segment_objects.cpp This can be used to unet inference? please help me. ### Additional context _No response_
question
opencv/opencv
nlbse2024
When compiling opencv4.5.5, I find that the objdetect module is not compiled. ### System Information When compiling opencv4.5.5, I find that the objdetect module is not compiled. The libopencv_objdetect.so and libopencv_objdetect4.5.so files are not found in the lib directory. In addition, the objdetect module is inc...
question
opencv/opencv
nlbse2024
Getting Bad argument (Can't read ONNX file: .\\yolov5s.onnx) When Trying to Load YOLOv5 ONNX Model. ### System Information OpenCV version 4.6.0 Operating System / Platform: Windows 11 Pro (22000.1098) Compiler & Compiler Version: Microsoft Visual C++ Compiler (MSVC Toolset) v142 (Visual Studio 2019) ### Detailed des...
question
opencv/opencv
nlbse2024
'haarcascade_fontalface_default.xml' in read mode ### Descripe the doc issue I'm very new to OpenCV and was just running my first program ever in the terminal when I get the phrase: [ERROR:0@0.012] global /Users/runner/work/opencv-python/opencv-python/opencv/modules/core/src/persistence.cpp (505) open Can't open fil...
question
opencv/opencv
nlbse2024
cv::VideoCapture will affect GPU performance? My model takes 6ms when testing a single frame of image, but it takes 8ms when using cv::VideoCapture to get video frame , and after dozens of inferences the time-consuming increases to 12ms. Win10 Opencv version 4.6
question
opencv/opencv
nlbse2024
OpenCV iOS use in 2022 Hello, I am just getting into OpenCV and want to understand the following: 1. As I understand OpenCV [doesn't support Metal](https://github.com/opencv/opencv/issues/4898), so as a result there is no way for OpenCV to use GPU on iOS devices. Is that correct ? 2. Is my understanding correct that ...
question
opencv/opencv
nlbse2024
Why is the image merge area white ![SavedScreen1212](https://user-images.githubusercontent.com/60952586/189849095-5e983513-4cc3-4698-b09a-e04c81033ab8.png) I don't know why two pictures merged, the overlapping area is white I hope the teacher can give me a solution this my scripts: ``` private void WarpTriangle(Mat ...
question
opencv/opencv
nlbse2024
Bug (Javascript) mean/meanStdDev broken for 8UC3 images <!-- If you have a question rather than reporting a bug please go to https://forum.opencv.org where you get much faster responses. If you need further assistance please read [How To Contribute](https://github.com/opencv/opencv/wiki/How_to_contribute). This is a ...
question
opencv/opencv
nlbse2024
In file included from /home/xxx/opencv/modules/python/src2/cv2.cpp:11:0: /home/xxx/opencv/build/modules/python_bindings_generator/pyopencv_generated_include.h:19:10: fatal error: opencv2/hdf/hdf5.hpp: no file or directory #include "opencv2/hdf/hdf5.hpp" ^~~~~~~~~~~~~~~~~~~~~~ I'm building opencv-cuda,it happens at the...
question
opencv/opencv
nlbse2024
How to build for FreeBSD 13.1 ? System information (version): - OpenCV => 4.6.0 - Operating System / Platform => FreeBSD 13.1 - Compiler => clang/llvm and gcc 11 -KDE5 plasma Has anyone able to compile OpenCV 4.6.0 successfully for FreeBSD 13.1? If so what was used to compile opencv and also what commands was used?...
question
opencv/opencv
nlbse2024
how opencv load .dylibs under macos im working on python==3.9.12, macox==12.5 i import cv2 as cv, and i find the some dylib under cv2/.dylibs are loaded, but i can't find out where the code loads them. i need help!!!!
question
opencv/opencv
nlbse2024
Failed to install opencv 4.6.0 on ubuntu <!-- If you have a question rather than reporting a bug please go to https://forum.opencv.org where you get much faster responses. If you need further assistance please read [How To Contribute](https://github.com/opencv/opencv/wiki/How_to_contribute). This is a template helpin...
question
opencv/opencv
nlbse2024
fatal error cloning_demo.cpp:23:10: fatal error: opencv2/photo.hpp: No such file or directory 23 | #include "opencv2/photo.hpp" | ^~~~~~~~~~~~~~~~~~~ compilation terminated.
question
opencv/opencv
nlbse2024
How to quickly convert RGB to YUV422 Hello ,I am using `cvtColor` will RGB to YUV422. But This funciton param `mode` don't have BGR2YUV(422). I use the in-down method to transform ``` void cvtcolor_rgb2yuv422(cv::Mat& rgb, cv::Mat& yuv) { cv::Mat yuv444(rgb.rows, rgb.cols, CV_8UC3); cv::cvtColor(rgb, yuv444, CV_B...
question
opencv/opencv
nlbse2024
can OpenCV 3.4.16 using cuda 11.6? can OpenCV 3.4.16 using cuda 11.6?
question
opencv/opencv
nlbse2024
How to automatically obtain the input image size from the ONNX model? Is there a function in `OpenCV DNN` that automatically gets the input image size from the only `ONNX` model? thanks
question
opencv/opencv
nlbse2024
error: 'off64_t' undeclared here (not in a function); did you mean 'off_t'? <!-- If you have a question rather than reporting a bug please go to https://forum.opencv.org where you get much faster responses. If you need further assistance please read [How To Contribute](https://github.com/opencv/opencv/wiki/How_to_cont...
question
opencv/opencv
nlbse2024
imshow() for .png transparent images with RGBA 4 channels Looks like **imshow()** cannot show transparency correctly ? I prefer **NOT** to show RGB some times, with alpha mask, how can I make the transparency displayed? I can load, I can save, but with imshow(), I cannot display correctly....
question
opencv/opencv
nlbse2024
Convcert cvMat to pcd file Hi, I would like to convert a cv::Mat to PCL format. Have you an idea ? Thanks
question
opencv/opencv
nlbse2024
Getting cv2.error ![Screenshot (289)](https://user-images.githubusercontent.com/108174989/175766340-9381f087-65d0-41ba-abe7-c3b0b8dc28bb.png) Above picture is the code and I am getting this error message which is shown below. Could anyone help me fix this issue? ![Screenshot (290)](https://user-images.githubuserconten...
question
opencv/opencv
nlbse2024
VideoCapture: read() use video orientation If the video orientation is available if should be used by default with reading frames. - OpenCV => 4.X - Operating System / Platform => Linux x64 - Compiler => gcc ##### Detailed description By default imread for images use the EXIF orientation information. If possible Vi...
question
opencv/opencv
nlbse2024
About debug I debug OpenCV in one step, but I couldn't find the function entry of the matrix plus method.
question
opencv/opencv
nlbse2024
SyntaxError: invalid syntax --->frame = cv2.circle(frame, (int(a), int(b)), 5, color[i].tolist(), -1) When I tried to use Lucas-Kanade on optical flow, I couldn't figure out why there's always invalid syntax when I use" frame = cv2.circle(frame, (int(a), int(b)), 5, color[i].tolist(), -1)" Here's the code, guys pleas...
question
opencv/opencv
nlbse2024
How to properly use opencl acceleration applied to 360 surround view 360 surround view, multi-threaded processing of pictures from different cameras, opencv (4.5.5) for image correction and perspective transformation (remap), the CPU usage is very high, so use opencl (1.0) to accelerate, but with the increase of the n...
question
opencv/opencv
nlbse2024
cv2.drawFrameAxes broken Using python 3.9, macOS 12.2.1, OpenCV 4.5.5 I am not getting the correct axes displayed. The axes are defined as "OX is drawn in red, OY in green and OZ in blue." in the [reference docs](https://docs.opencv.org/3.4/d9/d0c/group__calib3d.html#gab3ab7bb2bdfe7d5d9745bb92d13f9564) Using the cod...
question
opencv/opencv
nlbse2024
ORB FeatureDetector has different result between C++ and Python I use ORB FeatureDetector to extract feature using Python and C++, code sees below. But the output results is different completely, I am sure my input is same, and OpenCV version all is 3.4.6. I am confuse, I need some help. ![36dd59d464c83944dc2cbe65eb...
question
opencv/opencv
nlbse2024
cv2.imread() fails when filenames have multiple dots (.) <!-- If you have a question rather than reporting a bug please go to https://forum.opencv.org where you get much faster responses. If you need further assistance please read [How To Contribute](https://github.com/opencv/opencv/wiki/How_to_contribute). This is a...
question
opencv/opencv
nlbse2024
SystemError: <built-in function writeTextGraph> returned NULL without setting an error when using cv2.dnn.writeTextGraph - OpenCV = 4.1.2 - Operating System / Platform = Windows 64 Bit - Compiler = Google Colab <!-- your description --> So I recently created a machine learning model with Keras and saved it using the ...
question
opencv/opencv
nlbse2024
Error While Installing openCV 4.5.1 on Ubuntu 18.04 ( jetson nano production module). ##### System information (version) <!-- Example - OpenCV => 4.2 - Operating System / Platform => Windows 64 Bit - Compiler => Visual Studio 2017 --> - OpenCV => :grey_question: - Operating System / Platform => :ubuntu 18.04: - Compi...
question
opencv/opencv
nlbse2024
JS version cannot find the undistortpoints function 。how to compute distorted image points position in opencv.js? <!-- If you have a question rather than reporting a bug please go to https://forum.opencv.org where you get much faster responses. If you need further assistance please read [How To Contribute](https://git...
question
opencv/opencv
nlbse2024
common.hpp ``` ##### System information - OpenCV => 4.5.5 - Operating System / Platform => Windows 64 Bit - Compiler => Visual Studio 2022 ``` Hi I just installing openCV, and I trying this code : https://docs.opencv.org/4.x/d5/de7/tutorial_dnn_googlenet.html But, i have an error : VS2022 can not found "common.hpp"....
question
opencv/opencv
nlbse2024
Iplimage has not been declared `#ifndef MM3D_H #define MM3D_H #include <math.h> #include "3DMMGlobal.h" //#include <cv.h> pf注释的,找不到这个文件 #include <opencv2/opencv.hpp> #include <algorithm> //#include <Windows.h> pf注释的,找不到这个文件 //#include <gl\\GL.h> pf注释的,找不到这个文件 //#include <GL\\GLU.h> pf注释的,找不到这个文件 using namespace std...
question
opencv/opencv
nlbse2024
Difference in predictions when running on GPU vs CPU <!-- If you have a question rather than reporting a bug please go to https://forum.opencv.org where you get much faster responses. If you need further assistance please read [How To Contribute](https://github.com/opencv/opencv/wiki/How_to_contribute). This is a tem...
question
opencv/opencv
nlbse2024
Missing libraries in OpenCV 3.3.1 I tried installing opencv3.3.1 using the exe at https://github.com/opencv/opencv/releases/tag/3.3.1 However it seems to be missing some libraries that I need to run my application. How can I obtain the complete set of libraries? ![image](https://user-images.githubusercontent.com/92061...
question
opencv/opencv
nlbse2024
Why are there 3 compiled dynamic libraries? What's the difference between them? <img width="200" alt="5738e7a7591e792495cc5b2252574c2" src="https://user-images.githubusercontent.com/48303408/163294064-57e147bd-e087-452d-8c52-30026710ba29.png">
question
opencv/opencv
nlbse2024
`cv.imdecode` can't open the dib(bmp) images from clipboard ##### System information (version) - OpenCV => opencv-python 3.5.5 - Operating System / Platform => win10 - Compiler => pre-compiled ##### Detailed description `cv.imdecode` can't open the dib(bmp) images from clipboard, but can from file ##### Steps to rep...
question
opencv/opencv
nlbse2024
Python and Java don't decode JPG in the same way ##### System information (version) - OpenCV => 4.5.3 - Operating System / Platform => Linux/Debian - Compiler => System default ##### Detailed description JPG images read from python or java aren't exactly equal. I would expect that they get decoded to exactly the sam...
question
opencv/opencv
nlbse2024
Undefined symbols for architecture arm64: "std::__1::basic_istream, (built on m1 mac) I followed that instructions on #21571 and successfully built an xcframework. When I tried to import it the follow error show. `Undefined symbols for architecture arm64: "std::__1::basic_istream<char, std::__1::char_traits<char> >:...
question
opencv/opencv
nlbse2024
some issue with cmake and opencv <!-- If you have a question rather than reporting a bug please go to https://forum.opencv.org where you get much faster responses. If you need further assistance please read [How To Contribute](https://github.com/opencv/opencv/wiki/How_to_contribute). This is a template helping you to...
question
opencv/opencv
nlbse2024
OpenCV: Include directory doesn't exist: '/usr/local/stow/absl/include/opencv4'. OpenCV installation may be broken. System information (version) OpenCV 4.5.5 Operating System Linux Ubuntu 20.04 cmake&make&install: cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D OPENCV_EXTRA_MODULES_PATH=/ho...
question
opencv/opencv
nlbse2024
readNetFromTensorflow don't work <!-- If you have a question rather than reporting a bug please go to https://forum.opencv.org where you get much faster responses. If you need further assistance please read [How To Contribute](https://github.com/opencv/opencv/wiki/How_to_contribute). This is a template helping you to...
question
opencv/opencv
nlbse2024
confused about the principle of cvFindExtrinsicCameraParams2() interface ? could tell me about the principle of following code in cvFindExtrinsicCameraParams2() interface ? any theory or paper ? ``` // initialize extrinsic parameters if( W[2]/W[1] < 1e-3) { // a planar structure case (all M's lie in the same plane) ...
question
opencv/opencv
nlbse2024
cv::cudacodec::VideoReader throw_no_cuda <!-- If you have a question rather than reporting a bug please go to https://forum.opencv.org where you get much faster responses. If you need further assistance please read [How To Contribute](https://github.com/opencv/opencv/wiki/How_to_contribute). This is a template helpin...
question
opencv/opencv
nlbse2024
undefined reference to `cv::Mat::Mat(int, int, int, cv::Scalar_<double> const&)' When I ran this code, It went wrong. ##### Detailed description cv::Mat M(2,2,CV_8UC3,cv::Scalar(0,0,255)); ##### System information (version) <!-- opencv 4.5.3(code in question pulled from [here](https://github.com/opencv/opencv/tree/...
question
opencv/opencv
nlbse2024
Inconsistant conversion from BGRA to BGR on png image ##### System information (version) - OpenCV => 4.5.5 - Operating System / Platform => Ubuntu 20.04 - Compiler => g++ ##### Detailed description Usually in opencv, the conversion from BGRA to BGR via `IMREAD_COLOR` or `cvtColor` set the transparent background as b...
question
opencv/opencv
nlbse2024
Unable to launch app with brew version OpenCV 4.5.5 linked ##### System information (version) - OpenCV => 4.5.5 - Operating System / Platform => macOS 11.6.4 (Apple M1) - Compiler => Apple clang version 13.0.0 (c++) ##### Detailed description When I write CMakeFiles.txt to link OpenCV 4.5.5 installed by brew, the bu...
question
opencv/opencv
nlbse2024
CMake detects a non-existent external dependency <!-- If you have a question rather than reporting a bug please go to https://forum.opencv.org where you get much faster responses. If you need further assistance please read [How To Contribute](https://github.com/opencv/opencv/wiki/How_to_contribute). This is a templat...
question
opencv/opencv
nlbse2024
undefined reference to `google::protobuf::internal::InitSCCImpl(google::protobuf::internal::SCCInfoBase*)' <!-- If you have a question rather than reporting a bug please go to https://forum.opencv.org where you get much faster responses. If you need further assistance please read [How To Contribute](https://github.com...
question
opencv/opencv
nlbse2024
Cannot write files in ProRes codecs I am attempting to write a video file using opencv in the ProRes 4444 codec. I have tried other codecs, such as XVID, and the code works perfectly, however no ProRes codec of any kind seems to be working. Relavent code: //Above code specifies clipName, which increments for each cli...
question
opencv/opencv
nlbse2024
Opencv error with GPU backend <!-- If you have a question rather than reporting a bug please go to https://forum.opencv.org where you get much faster responses. If you need further assistance please read [How To Contribute](https://github.com/opencv/opencv/wiki/How_to_contribute). This is a template helping you to cr...
question
opencv/opencv
nlbse2024
Warning: libmediandk.so, needed by ../../lib/arm64-v8a/libopencv_videoio.so, not found (try using -rpath or -rpath-link) Hi I was trying to cross compile opencv for android. My NDK version is 19 and API Level is 28. The make is crashing stating warning: libmediandk.so, was not found. Any guidance on rectifying the iss...
question
opencv/opencv
nlbse2024
Unable to Compile GAPI Code returning contours from cv::gapi::findContours ##### System information (version) - OpenCV => 4.5.5 - Operating System / Platform => Windows 10 64 Bit - Compiler => Visual Studio 2017 c++14 & 2022 c++14,17,20 ##### Detailed description I have compiled version 4.5.5 on windows with Visual S...
question
opencv/opencv
nlbse2024
How to confirm the version of the OpenCV 3rdParty libs <!-- If you have a question rather than reporting a bug please go to https://forum.opencv.org where you get much faster responses. If you need further assistance please read [How To Contribute](https://github.com/opencv/opencv/wiki/How_to_contribute). This is a t...
question
opencv/opencv
nlbse2024
relocation R_X86_64_PC32 against symbol `ff_pw_9' can not be used when making a shared object; recompile with -fPIC ##### System information (version) ``` Detected processor: x86_64 Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE) (Required is at least version "2.7") Looking for ccache - not found Found ZLIB: ...
question
opencv/opencv
nlbse2024
compile opencv with inference-engine hello when I use cmake to compile opencv with inferenceEngine I get problem next: ![image](https://user-images.githubusercontent.com/38007233/149445505-7448ca18-4933-448a-a7e1-8677cc57b0c7.png) how to solve it
question
opencv/opencv
nlbse2024
Android NDK 23b LTS Compile Error Hey! Please advise changes required I can PR fixes Following Error for arm64/x86/x86_64 when targeting NDK 23b ``` Error at /opt/homebrew/Cellar/cmake/3.22.1/share/cmake/Modules/Platform/Android-Determine.cmake:584 (message): Android: CMAKE_ANDROID_ARM_MODE is set but is valid only...
question
opencv/opencv
nlbse2024
haarcascade_frontalcatface muslim women detection <!-- If you have a question rather than reporting a bug please go to https://forum.opencv.org where you get much faster responses. If you need further assistance please read [How To Contribute](https://github.com/opencv/opencv/wiki/How_to_contribute). This is a templa...
question
opencv/opencv
nlbse2024
[ONNX] inference different result between Python and C++ <!-- If you have a question rather than reporting a bug please go to https://forum.opencv.org where you get much faster responses. If you need further assistance please read [How To Contribute](https://github.com/opencv/opencv/wiki/How_to_contribute). This is a...
question
opencv/opencv
nlbse2024
add Intel® oneAPI DPC++/C++ Compiler (icx) Intel® C++ Compiler Classic (icc) is deprecated and will be removed in a oneAPI release in the second half of 2023 ([deprecation notice](https://community.intel.com/t5/Intel-oneAPI-IoT-Toolkit/DEPRECATION-NOTICE-Intel-C-Compiler-Classic/m-p/1412267#:~:text=Intel%C2%AE%20C%2B%...
feature
opencv/opencv
nlbse2024
CUDA compilation is not using ccache ### System Information OpenCV version: 4.8.0 Operating System / Platform: Ubuntu 20.04.6 LTS Compiler & compiler version: GCC 9.4.0 CUDA: 11.4 ### Detailed description Using ccache 3.7.7 (Ubuntu version) or latest version (4.8.2), ccache is found by OpenCV's cmake but used only ...
feature
opencv/opencv
nlbse2024
Convert BGR to RGB NOW!!! ### Describe the feature and motivation "The reason why the early developers at OpenCV chose BGR color format is probably that back then BGR color format was popular among camera manufacturers and software providers. E.g. in Windows, when specifying color value using COLORREF they use the BG...
feature
opencv/opencv
nlbse2024