Ask Your Question

DavidR's profile - activity

2020-03-31 11:16:12 -0600 received badge  Notable Question (source)
2019-02-07 06:47:53 -0600 received badge  Popular Question (source)
2017-08-16 14:05:05 -0600 asked a question How to save one continuous image from Line Scan Camera

I have a program that uses a line scan camera to capture an image. I am currently trying to build a user interface where the user presses a key to begin recording and presses the button again to stop recording. Instead, using imwriteI have managed to get the computer to save images of the stitched frames on loop when I hit record. Is there any class or opencv function out there better suited to capture an image larger than the frame. The code my line scan stitching program is based off of is here. (http://www.eecs.qmul.ac.uk/~pp305/pos...

2017-08-15 17:34:22 -0600 commented answer What are some known backends that work well with a TeleDyne Dalsa Linea Camera?

Thanks for clearing that up!!

2017-08-15 10:01:53 -0600 commented answer What are some known backends that work well with a TeleDyne Dalsa Linea Camera?

@PiMac can you elaborate on what is an openCV compliant buffer?

2017-08-14 08:52:40 -0600 asked a question What are some known backends that work well with a TeleDyne Dalsa Linea Camera?

I have not been able to find one that works with this camera and wanted to know if anyone has had success opening this type of camera.

2017-08-03 13:25:42 -0600 commented question How to properly set up VideoCapture Tags

Ok thanks, I will work within opencv's highgui. Do you know by chance where to find the range of values used in the the videocapture properties? I was unable to find anything in the documentation

2017-08-03 12:20:50 -0600 commented question How to properly set up VideoCapture Tags

Unfortunately I cannot, I am trying to implement a windows forms UI which uses clr, is there any way around that error?

2017-08-03 12:19:49 -0600 commented question How to properly set up VideoCapture Tags

@berak can you elaborate on what types of code organizations would throw this error?

2017-08-03 12:07:55 -0600 commented answer Is OpenCV GigE Vision and GenIcam Compatible

@pklab do you know the proper steps to implement the two together? Also could it be done without becoming a member and using the on site downloads? I am using visual studio 2012 and C++

2017-08-03 12:04:00 -0600 commented question How to properly set up VideoCapture Tags

I see, thank you, do you know the proper format for the properties in order for OPENCV to recognize it also? I know you need a double value, but I am unsure of what range it takes.

2017-08-02 19:17:17 -0600 asked a question Is OpenCV GigE Vision and GenIcam Compatible

Can OpenCV seamlessly interact with all cameras that comply with these standards

2017-08-02 14:59:26 -0600 asked a question How to properly set up VideoCapture Tags

I am having trouble setting up opencv in C++ to manually change these properties, but every time I try I get the warning "An unhandled exception of type 'System.AccessViolationException' occurred in OpenCV Code.exe" and an error is thrown.

Here is how I am setting it up (cap is my videocapture object):

cap.set(CV_CAP_PROP_EXPOSURE,0.5);

2017-08-02 08:15:51 -0600 received badge  Enthusiast
2017-08-01 09:19:53 -0600 asked a question Changing Exposure with Windows Forms

Hello,

Every time I run this bit of code meant to change the value of the exposure with a trackbar and I am getting an error saying System Access Violation, attempted to read or write to protected memory. I am using C++ with windows forms with a range from 1 to 13.

My code is below

public: System::Void trackBar2_Scroll(System::Object^ sender, System::EventArgs^ e) {

varEx = System::Convert::ToDouble(this->trackBar2->Value);

cap.set(CAP_PROP_EXPOSURE,varEx); }

2017-07-24 13:37:16 -0600 asked a question Getting a TeleDyne Line Scan Camera to open with VideoCapture

I am trying to create a program that opens up different brands of cameras with opencv, I have had success with one brand of camera, but have had trouble opening up a TeleDyne Dalsa camera, but when I run the program I cannot open the video capture class. My relevant code is below

int runCamera() {
int fps = 10;

int deviceID = 0;

int apiID = CAP_ANY;

cout<<"Press 'R' to pause or resume a recording\nPress the Spacebar to begin a recording\nPress 'S' to stop or continue the feed"; bool camrun = true;

Mat img2;

Mat img;

VideoCapture cap(deviceID + apiID);

VideoWriter writer;

int fcc = CV_FOURCC('I','Y','U','V'); //Codec Number

camrun = true;

if (!cap.isOpened())

{ cerr<< "\nERROR CANNOT OPEN CAMERA";

return -1;

}

namedWindow("HELLO CAMERAAAA", WINDOW_KEEPRATIO);