I need to be able to capture a snapshot of the current camera view at 10 second intervals. The image would be saved to an FTP server and named with the camera name and a sequence number ranging from 1 to 10, for example ParkingLot001.jpg. Once the 10th image has been saved then the sequence numbers would start over at 1 and the process would repeat. This process would run 24/7. I am new to the Milestone SDK and would appreciate any help.
I think you should use the JPEGLiveSource class and the save the JPEG.
I think this knowledge base article is including information you need: https://force.milestonesys.com/support/articles/en_US/How_To/How-to-save-a-JPEG-image-file-based-on-JpegData
Maybe the best sample to explore, that pretty much does what you need, is the Camera Stream Resolution sample. (An alternative still using JPEGLiveSource is the MediaLiveViewer sample.)
Is there a new link for the class ? looks like the one above has expired.
I am evaluating a snapshot solution as well.
Thanks
Srini
Using the search I found it, there seems to be a small change of the URL.
https://developer.milestonesys.com/s/article/How-to-save-a-JPEG-image-file-based-on-JpegData
Thank you for your help.
Bo,
I finally had a chance to try your suggestion. Where do I find the JPEGLiveSource class? Am I correct that I need to add a specific reference type?
Thanks,
Preston
Bo,
I found the class, I am just not sure how to use this code sample. I there a more complete example that I could look at?
Thanks,
Preston
I suggest you use the CameraStreamResolution sample, and modify it to run the routine to get the JPEG from live every 10 seconds.
Thank you Bo, I will take a look at it.
Hi,
I wish to take snapshot of the live camera with overlaying text(Using MIP SDK) in Milestone Smart Client, is it possible?
If possible suggest what are the ways to do?
I guess this last question never got a reply untill now, I would like to recommend that new questions (threads) are opened if the first question was answered. It would also make the usability and searchability of the forum better..
The is no functionality of generating a snapshot of the shown image including overlay in the Smart Client. Using the MIP SDK in a MIP plug-in you can take the snapshot of the camera image and the information used to make the overlay, but this will only work if you have the knowledge of what information is used to generate the overlay.
That was a good idea Andersen. Thanks for the response.