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

How to build OpenCV for Android using Visual Studio?

Hello, **Short story:** Can anyone describe the process of how to use OpenCV in a C++ Project for Android in Visual Studio? ---------- **Long story**: I'm currently trying to build an OpenCV native...

View Article


Issue Using OpenCV 4 Windows Build, VS 2017 - Unhandled Exception with imshow()

Hello everyone, I'm running into a big problem just trying to setup OpenCV again in my IDE with the latest version for Windows. I've done this before in earlier versions successfully, but I'm stumped...

View Article


Detect rectangle opencv 3.3.1

Right now i am using canny edge detection and find the edges but i am not able to crop the image because canny edge detection return black and white image i am crop my original license image from it's...

View Article

How can i use onCameraFrame inputframe to image

Hello everybody. I'm new in OpenCv4Android and i have a question. I'm using MSER algorithm to draw contour around text. It works perfectly fine when i'm using real time camera frame. But i want to...

View Article

cmake issue compiling bridging code for OpenCV,OpenKinect and PCL

Hi, I'm trying to learn OpenCV using a couple of kinect sensors (360 & ONE) . To get the sensors working I grabbed OKPCL (https://github.com/Qworg/OKPCL) - some bridging code between OpenKinect,...

View Article


How to write/display video frame into /dev/fb1 with open('/dev/fb1', 'rb+')?

I am trying to write a video frame into Linux framebuffer fb1. My code is cap = cv2.VideoCapture(0) while cap.is_Opened(): ret, frame = cap.read() with open('/dev/fb1', 'rb+') as buf: buf.write(frame)...

View Article

OpenCV C++ detect line and coordinates and move it to the another image

We're trying to make game called PaperSoccer using C++ and OpenCV. Original board looks like this :![board](https://i.stack.imgur.com/gDVWv.jpg) And picture with one move looks like this :...

View Article

Find max shape to fit in my contour

![C:\fakepath\111.jpg](/upfiles/15437625907277543.jpg) Hello I want to find a way to find predefined shape that will include as much as possible of my contour In this example it will be a rotated rect...

View Article


Implementing SGBM block matcher in CUDA

Hello, i just wanted to ask about your advise. I need to use the SGBM (semi-global block matcher) to get a accurate disparity map. The SBM (stereo block matcher) is delivering quite bad and unuseful...

View Article


Error while loading YAML model file using opencv in android

I am using opencv for facial landmark detection in android. I am using JNI for interaction with library. I have saved "lbfmodel.yaml" file in assets and trying to load : > const char* jnamestr2 =...

View Article

Need help creating a static rectangle in middle of video window for open cv

Have created a face detection application using open cv, but i have to make a rectangle in the middle of the screen that doesnt move so user can look at it(its for a android application). But i have...

View Article

Max gradient magnitude in Canny's algorithm

Hi there! I'm working on a way to adjust threshold levels in Canny's algorithm so as to get detected only a specified object - in my case a plane on the (quite) plane background. I've tried to use...

View Article

Android platform, cvCreateFileCapture return null

IDE: Android studio Source code: Java + JNI + C I would like to use cvCreateFileCapture in c section. However, cvCreateFileCapture return null. Is it possible to use cvCreateFileCapture for opencv343...

View Article


Not able to create separate image for each input image.

I'm able to achieve the desired result of converting every image into black & green but output is over writing the same file instead of creating a separate file for each corresponding image from...

View Article

Eye gaze detection in android

I'm looking to perform real time gaze tracking using the front camera of an android phone. My goal is to track the user's gaze while the user moves his head from left to right and tries to maintain the...

View Article


fatal error LNK1215: metadata operation failed when include dnn from opencv...

I got a project(including subprojects) that i want to build. I build first all subprojects, whereas i build the main project i got this error: I use Debug mode on x64 machine. When i build i got these...

View Article

What is HAL exactly? Whats the difference between HAL and T-API?

Hello all I have just come to a new term in OpenCV named "HAL". I didn't find an informative document about it. Can somebody please explain to me what is it and what is its difference with T-API? Let...

View Article


python-opencv set cv2.VideoCapture connection timeout

I used **opencv-python** to capture snapshot from hundreds of thousands rtsp urls,I used gevent coroutine to accelerate capturing snapshot,But It seemed no use. and I found there no way to set rtsp...

View Article

Parsing error lbfmodel.yaml file in android

I am trying to detect facial points using FacemarkLBF in android app. I have downloaded the lbfmodel.yaml model file from [here](https://github.com/kurnianggoro/GSOC2017/raw/master/data/lbfmodel.yaml)...

View Article

How to i known exactly contour on a surface of an object?

I have a image about banana leaf, and i want to identify the net of spider. It's white color. I have use some of method like threshold, RGB Inrange but it's not perfect in right way... Who can help...

View Article
Browsing all 4615 articles
Browse latest View live


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