Hi Shane,
Thank you ! But I could not access the address you gived. Anyway, your suggestion is useful to me. Wei -----原始邮件----- 发件人: "Shane Sanford" <shane.sanf...@concurrent.us> 发送时间: 2014-03-31 16:33:24 (星期一) 收件人: "'重点实验室'" <key...@facri.com> 抄送: "'Elphel List'" <support-list@support.elphel.com> 主题: RE: [Elphel-support] question about elphel 353 camera Wei, First I’m just another Elphel user. Secondly I’m by no means a OpenCV expert but I’m not sure you can directly do what you are trying. Please read the following explanation that describes the problem and one possible solution better than I can. http://techify.giridharsweb.com/2012/08/05/read-image-from-url-into-opencv/ In essence reading from the camera using http://192.168.0.9:8081/bimg is no different than loading a static jpg out on the web and I’m sure there are plenty of other examples how to do this. I’ve written a MS Visual C++ program to read images from the camera that I could probably share but there are some added complexities using VC++ because .net doesn’t always play nice with Elphel header for some reason – something I keep meaning to look into more but never find the time. So you are probably better off using something other than .net framework if at all possible. Anyway, hope this helps… Shane From: Support-list [mailto:support-list-boun...@support.elphel.com] On Behalf Of ????? Sent: Monday, March 31, 2014 2:53 AM To: andrey Cc: Elphel List Subject: Re: [Elphel-support] question about elphel 353 camera Andrey, Acturally I have tried cvCaptureFromFile("http://192.168.0.9:8081/img"), or "bimg". Sorry for forgetting typing "/img". http://192.168.0.9:8081/bimg works in an internet browser, but how does it works in an opencv program? Wei -----原始邮件----- 发件人: andrey <and...@elphel.com> 发送时间: 2014-03-31 15:01:01 (星期一) 收件人: "重点实验室" <key...@facri.com>, "Elphel List" <support-list@support.elphel.com> 抄送: 主题: Re: Re: [Elphel-support] question about elphel 353 camera Wei, I would still recommend to use 8081 port for individual images directly, not through the streamer. http://192.168.0.9:8081 will not give you an image - it just opens a mini-help page that explains how to get image. The simple way (if you do not need synchronization) will be http://192.168.0.9:8081/bimg Andrey ---- On Sun, 30 Mar 2014 23:52:16 -0700 重点实验室 <key...@facri.com> wrote ---- Hello Andrey, I have tried to get a image by cvCaptureFromFile("http://192.168.0.9:8081"), but not succeed. In firefox, it works. With live555 I can download a sequence of image with its example program openRTSP. I use rtsp://192.168.0.9:554 in live555, the data are stored in a buffer. I want to decode the data from the buffer. I find the buffer in live555, but did not find the way to deal with it. I just want to get an image from the camera with an opencv function or maybe some other c/c++ function. Wei -----原始邮件----- 发件人: andrey <and...@elphel.com> 发送时间: 2014-03-31 14:02:44 (星期一) 收件人: "重点实验室" <key...@facri.com> 抄送:support-list@support.elphel.com 主题: Re: [Elphel-support] question about elphel 353 camera Hello Wei, Did you get static jpeg or jp4 images from the camera port 8081 as I suggested? live555 software is for videostreaming, not for the images, and last time you asked how to get images. Andrey ---- On Sun, 30 Mar 2014 21:03:36 -0700 重点实验室<key...@facri.com> wrote ---- Hi Andrey, Now I can get the image data from the camera with live555 software. I use its dummysink, the data is not The data is put in a buffer, it looks like noise. I think it is encoded image data. Is it a jp4 encoded file or a jpeg encode file?
_______________________________________________ Support-list mailing list Support-list@support.elphel.com http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com