Hello, I’m working on a prototype of console application (which will move later to a Service) which is supposed to periodically get a Bitmap and process it (it’s doing people detection + few other things). I tried to use IImageViewerControl to get the Bitmap, but looks like this can be used only in FORMS? I’m getting this error message: “IImageViewerControl needs to be on a UserControl before Initialize is called”. Any Idea?
The ImageViewerControl is a UI component so implementing this in a console or service will not work. Many sample uses this.
I think however we have a perfect fit with this sample:
Please explore the CameraStreamResolution sample.
This console sample uses JpegLiveSource and JpegVideoSource classes, if you want btimaps instead of Jpegs use instead BitmapLiveSource and BitmapVideoSource classes.
PS. I would like to mention and recommend also this knowledge base article. https://developer.milestonesys.com/s/article/exploring-the-MIP-SDK-recommended-top-SDK-samples
Thanks. Your solution is working perfectly.
Thanks,
Marco
Thanks Bo, very much appriciated the quick answer. I’m going to try this weekend and be back to you.
Thanks,
Marco