video write ubuntu
Hi I am trying to save results of YOLO to .avi file. Having already seen the following post https://github.com/pjreddie/darknet/issues/102 (I even asked the question there) I could NOT find any...
View ArticleHow to get the exact time using the FPS and frame index?
Hi, My aim is to get exact time (hours : minites : secondes : miliseconds) just by using the FPS of the caption and the frame index, thus, I've written this function its not the perfect one: cout...
View ArticleIn opencv stitching_detailed code find seam position?
While executing the stitching_detailed.cpp code from opencv samples, with seam estimation enable how to find the x,y position of the seam and where it is stored?
View ArticleFiltering a text image for pytesseract
Hello there, Like the title says I'm having issues with moving on with my project as I'm trying to filter out text and numbers (numbers in specific) from an image captures by a raspberry pi so I...
View ArticleBest method to save and load data in a file for opencv 3.1 version
Hello, I have using opencv 3.1 version and want to save trained/processed data in a matrix with datatype "vector" and save lables/id with datatype "vector". So, how can i store it in a file and load it...
View ArticleProper #include for function
Hello, I'm running one of the 4.0.0 dev builds for OpenCV and I had a question. I think #include highgui.h used to take care of it, but now that doesn't seem to be helping since...
View Articleandroid grab cut open cv not getting bit map displayed in image view.
I am running a grab cut algorithm where the user can choose an image he wants to grab cut in his external storage on android phone. Problem is during the onPostExecute method of async task I get a...
View ArticleI am trying to executing cross compiled c++ program(removeRedEye) in riscv...
I have cross compiled OpenCV application(removeRedEye) statically for RISCV architecture,now i am executing application in riscv-linux root file system,but when i am executing executable i am getting...
View ArticleHow to rebuild ffmpeg-4.0.2 with openCV?
Hi openCV: Is there a way to rebuild ffmpeg-4.0.2 with openCV3.4.1? i not familiar with rebuild on windows. I need some help here. Thanks.
View Articlemodule cv2.cv2 has no attribute 'text'
I am trying to use [textdetection](https://github.com/opencv/opencv_contrib/blob/master/modules/text/samples/textdetection.py)`algorithm. But I'm getting an error in line 27 of the code >...
View Articleunable to complete 'make -j7' with opencv_contrib modules
Cmake can not compile extra modules from opencv_contrib. I am following theese [instructions](https://docs.opencv.org/3.4/d7/d9f/tutorial_linux_install.html) . Sorry for my length of my Ask, but giving...
View ArticleHow can I take multiple pictures with one button press?
I would like to have a "burst" effect and take multiple pictures when the user presses a button once. What I currently have is the picture function in a loop, which requires the user to press a button...
View ArticleRun OpenCV to MFC
I have reproduced [this](https://www.youtube.com/watch?v=A4UDOAOTRdw) sample, in a MFC app. The cv::Mat is a CDOcument variable member: // Attributes public: std::vector m_blobs; cv::Mat m_Mat; and I...
View ArticleTrained SVM doesn't work
I want train my own SVM and use it to detect some objects, for example dogs. I think I train and save SVM correctly (XML file seems fine) but when I want test it on some film it detects everything and...
View ArticleHow to sort std::vector?
Trying to sort ROI rectangles from left to right. auto compare = [](const void* p1, const void* p2) -> int { const int* p1x = &(((const cv::Rect*)p1)->width); const int* p2x = &(((const...
View ArticleUsing opencv 3.2 or 3.4 with Visual Studio 2008
Hallo, i need the instructions to build opencv for visual studio 2008. and how to use the opencv in vs 2008. thank you in advance.
View ArticleOpenCV how to interrupt video record with thread
Hi everyone: i facing a problem on interrupt video while hit timestamp. with the following code below it only generate 1 second video per time. i want to make it generate the video by 30 seconds every...
View Articleopencv3.2 umat is slower than mat...
Hi, i want to compare the performance of using OpenCL with the case of not using it. When i use DGpu device(NVIDIA GTX1050), it records fastest time to execute gaussian blur and canny edge detection....
View ArticleImport error in Raspberry PI 3
Hi, I have installed OpenCV and python using the following tutorial in my raspberry pi 3 https://www.pyimagesearch.com/2017/09/04/raspbian-stretch-install-opencv-3-python-on-your-raspberry-pi/ it have...
View ArticleThe program can't start because opencv_core2412d.dll is missing from your...
'The program can't start because opencv_core2412d.dll is missing from your computer'. I got this error, but the opencv_core2412d.dll is already in bin folder in my system and i have pasted all of...
View Article