Ask Your Question
0

What are some known backends that work well with a TeleDyne Dalsa Linea Camera?

asked 2017-08-14 08:52:40 -0600

DavidR gravatar image

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.

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted
0

answered 2017-08-14 10:36:35 -0600

Ziri gravatar image

updated 2017-08-14 10:43:54 -0600

TeleDyne Dalsa Linea uses GigE communication protocol.

you can try   cv::CAP_PVAPI

If it doesn't work I recommend using JAI SDK ~ you can download it here.

Hope it helps.

edit flag offensive delete link more
0

answered 2017-08-14 16:17:31 -0600

PiMac gravatar image

updated 2017-08-14 16:18:58 -0600

Hi, To be able to use this camera you have to download Sapera LT 8.12 SDK (or whatever version there is now). As this SDK for me was real pain to use I have used CVB libraries that I have got from my camera provider.

Anyway this is what I got from Teledyne support:

void * pBuffer;

pSaperaBuffer->GetAddress(pSaperaBuffer->GetIndex(), &pBuffer);

"pSaperaBuffer" is the SapBuffer that's used in every Sapera ++ demo.

With that you have the starting address of the Sapera Buffer and that should help you "cast" it to an OpenCV compliant buffer.

Should also work when pBuffer is of type UINT8 (if the Nano outputs 8bit) or UINT16.

Hope this helps - for more, please check the various SapMyProcessing.cpp versions in the Sapera demos\classes\vc samples,

I hope it will help you.

edit flag offensive delete link more

Comments

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

DavidR gravatar imageDavidR ( 2017-08-15 10:01:53 -0600 )edit

I suppose it means Mat or iplimage structure. I will try to give you an example but cant promise anything since I don't recall if I have managed it or not.

PiMac gravatar imagePiMac ( 2017-08-15 15:14:26 -0600 )edit

Thanks for clearing that up!!

DavidR gravatar imageDavidR ( 2017-08-15 17:34:22 -0600 )edit

No problem. I was trying to do sth with

Mat vMat = Mat(Buffers->GetHeight(), Buffers->GetWidth(), CV_8UC(Buffers->GetBytesPerPixel()));

But I don't have a working example so I must have given up when received CVB library. If you figure it out please post the solution if you can.

PiMac gravatar imagePiMac ( 2017-08-16 01:41:53 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2017-08-14 08:52:40 -0600

Seen: 1,395 times

Last updated: Aug 14 '17