Quantcast
Channel: OpenCV Q&A Forum - Latest question feed
Browsing all 19555 articles
Browse latest View live
↧

Segmentation fault on cv::imshow function

Hello every one, here is my function "`optical_flow_using_schunck`". on line "`imshow("frame1", frame1)`" it throws "Segmentation fault (Core dumped)" error. Any idea?! int...

View Article


How can I perform arithmetic operations with pixel

I have a set of 70 RGB images (argc=71). I wanted to change pixel values according to these formulas: l1 = (R-G)^2/((R-G)^2 + (R-B)^2 + (G-B)^2); l2 = (R-B)^2/((R-G)^2 + (R-B)^2 + (G-B)^2); l3 =...

View Article


When is too much speed a bad thing?

Today's question: The Houston Texans' main goal this offseason was to add speed to their offense, and they did it with nearly every skill position acquisition they made. Lamar Miller, running back...

View Article

getting frame number from Mat

Is it possible to get a frame number from a Mat object? From a VideoCapture object it would be cap.get(CAP_PROP_POS_FRAMES) is there a function for getting the current frame number from the Mat

View Article

BFmatcher crashes because of different descriptor shapes

Hey everyone, I'm using binary images of the same size, extracting ORB Features but when it comes to compare the descriptors I receive an: **The Error** >...

View Article


Classifier load error.

My program always stops at: CascadeClassifier face_cascade; face_cascade.load("‪E:\\opencv\\sources\\data\\haarcascades\\haarcascade_frontalface_alt2.xml"); if...

View Article

Build opencv 3.1.0 extra module for android on Mac?

Hi, I'm new to OpenCV and want to use SIFT and SURF features detector on Android Studio that is available on opencv_contrib. I'm using these tutorial (with modification) to build opencv 3.1.0 extra...

View Article

Getting background subtraction to work

I am trying to use OpenCV's background subtraction in MSVS 2015. When I try to use it I get very unimpressive results compared to what I see online in examples and videos, and I am wondering what I am...

View Article


Convert DCMTK DicomImage into Mat OpenCV

I have some project that require me to get the most accurate data so that I can perform simple image thresholding to segments the bone area only. The DICOM library I use is DCMTK, and here is the way I...

View Article


Unable to convert color image to grayscale in android opencv

This is the part of code which is not working good. I know this question has been asked earlier, but i have done everything i could do but still couldn't figure out the reason. This is the portion of...

View Article

OpenCV 3.1 VideoWriter::write(const Mat&) does not return its status.

Hello, I found it strange that the "VideoWriter::write(const Mat&)" function does not return its status (true/false). I think that function should return an int to inform about the result of the...

View Article

Trouble compiling 3.0 & 3.1 under Debian 8 "jessie"

It appears that the failure occurs when attempting to compile the videoio modules. In particular, the gstreamer 0.10 headers fail to be successfully parsed because of object definition errors. The...

View Article

Camera calibration and aspect ratio

Hello! I am calibrating a wide-angle IP Cam. Here as an example of the image after calling remap() with the calibration data: ![image description](/upfiles/14673814658585426.png) Lines are straight....

View Article


http://www.supplements4us.com/xtrcut/

Xtrcut Always include the "big three" exercises in your training schedule. These mass-building exercises include dead lifts, squats and bench presses. These exercises will condition your body, build...

View Article

why composeRT function is showing error for column vectors?

So I'm basically try to get the combination of two rotation and translation transformations. Mat rvec1(1,3,CV_32F); rvec1.at(0,0) = 2.3; rvec1.at(0,1) = 4.5; rvec1.at(0,2) = 7.8; Mat...

View Article


Is it possible to overlay a transparent image over a live camera view, such...

The transparent image I want to overlay is just the boundary of a polygon in black color, the rest of the image is transparent. Like this: ![image description](/upfiles/14692677311790187.png) Using...

View Article

Getting openCV error: Assertion Failed

I'm using opencv 3.1 in RaspberryPi 3. I,m trying to run the following Hough Circle detection algorithm #! /usr/bin/python import numpy as np import cv2 from cv2 import cv VInstance =...

View Article


Identifying bootstrap elements from ui

I'm a beginner in image processing and need to identify the bootstrap elements from a webpage ui. Need the script to return the identified tags as shown. Can someone help me with it?...

View Article

loaded library might have disabled stack guard

Hi there! I'm getting this when I try to load libopencv_java310.so. Everything seems to be working fine regardless. I have attempted execstack -c on the .so file, but it did not change anything. How...

View Article

Problems with function for normalised cross correlation

Hi everyone! I'm trying to implement a function for NCC, but I have some problems, the function gives me the error malloc.c:2372. I think the problem probably is in the function CalculateDen....But I...

View Article
Browsing all 19555 articles
Browse latest View live


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