Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Browsing all 4615 articles
Browse latest View live
↧

What could be the best way to extract all the cells (round-like contours)?

For example in this image. ![Contours](/upfiles/15533971293174199.png)

View Article


Copy one OutputArrayOfArrays object to another

I want to copy one OutputArrayOfArrays object to another. Something like this: void function(OutputArrayOfArrays contour){ std::vector> contours; OutputArrayOfArrays _contour(contours); ....Doing...

View Article


Using OpenCV in Python via a C# application

Hello, I'm looking to build a demo for a program that I've written using the Python bindings for OpenCV. I'm writing the demo in C#, and am wondering if anyone has any tips and tricks for when it comes...

View Article

i was making motion detection for detecting alphabets using opencv mnp models

i copied this code from github but its working fine for him but in my case cemera suddenly stops when i remove blue objects from frame File...

View Article

how to solve cv2.error(-215:Assertion failed)

when i run the programme, it reveals cv2.error: OpenCV(4.0.0) C:\projects\opencv-python\opencv\modules\objdetect\cascadedetect.cpp:1658: error: (-215:Assertion failed) !empty() in function...

View Article


Using opencv in Windows with Visual Studio

Hi, i followed the tutorial for Windows users on the official opencv website [here](https://docs.opencv.org/master/d3/d52/tutorial_windows_install.html) but at the end i got some problems. I fixed...

View Article

Opencv-contrib module Aruco licensing

Hi, I am confused whether the Aruco module comes under 3 clause BSD license or GPLv3 license. In github opencv-contrib repository, 3 clause BSD licese is mentioned in the codes inside...

View Article

Red color detection not happening on white paper.

I am facing issue regarding red color detection on white paper. As it seems like the red range vary device to device for detecting red color on white paper. On other colors the detection is working...

View Article


Unable to save video file from camera

Dear all, I am trying to save the greyscale video from the camera but the output video file size is only 5 kb and it is not playable. Does anyone have an idea about this? below is the code snippet....

View Article


opencv4android for 3d reconstruction

Hi, i currently develop an android application regard 3d reconstruction from list of images by using Java. I'm quite confuse to the proper way for the 3d reconstruction steps to be done. Can anyone...

View Article

Extrinsic landmarks detection from images ?

I am working on a problem of registration of a particular type of medical imaging. To do this, I have to extract extrinsic markers automatically from the images. Take this image as an example: ![image...

View Article

Focus stacking with C++ are not the same as in Java

Firstly, sorry for my english, it's not my mother tongue I have to implement a system of focus stacking in a software, I found an algorithm on Github in Java and I transcribed it in C ++ but the...

View Article

My web camera is not switching on

Iam working on hand gestures project. My web camera is not switching on So any body can please tell me what is the reason

View Article


SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in...

code: import cv2 import numpy as np img=cv2.imread("C:\Users\ravik_000\Desktop\photo",1) cv2.imshow('image',img) cv2.waitKey(0) cv2.destroyAllWindows() please tell me what is the reason why im not...

View Article

How to add ffmpeg support to Opencv in Conda enviroment on Linux?

I am trying to read a video with OpenCV after I downloaded with youtube-dl, all this on conda enviroment. But always it shows me " Error opening video stream or file". After of looking for a solution,...

View Article


Why 'imencode' taking so long ?

I'm encoding my image from a opencv "Mat" to a "vector" buffer in order to send it over a socket. int rows = 4096; int cols = 4096; vector buffer; Mat imageFrame(rows, cols, CV_8UC1, dataPointer ); /*...

View Article

There is no cv2 module in apk

Good afternoon, there is a small application written using python, kivy and opencv. The buildozer builds without errors, but when I launch the application on the phone it crashes with the following...

View Article


OpenCV3.2.0 compilation linker error using cmake

I had recently by a mistake of mine, deleted the /usr/local/ folder and with it all of the binaries that were built by me contained in it. I had to reinstall the OpenCV and had to build caffe again...

View Article

Java Opencv: Source doesnt open after runnable export

Hello! I have created an application that displays video feeds from multiple IP Cameras. It works in eclipse, it exports fine too but for some reason after the export the cameras don't open. I had the...

View Article

I am trying to detect red color using inRange keyword. But I cannot check it...

1. Mat1b mask1, mask2; 2. inRange(hsv, Scalar(173, 70, 50), Scalar(179, 255, 255), mask1); 3. imshow("RedDetect", mask1);

View Article
Browsing all 4615 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>