Feed "imshow" output into a .net application

asked 2015-10-01 23:45:08 -0600

Vizier87 gravatar image

Hi guys,

Sorry if this is not OpenCV related though.

I'm wondering if the window which outputs the video via "imshow" in OpenCV can be "borrowed" to be displayed into a .net PictureBox or something?

Thanks.

edit retag flag offensive close merge delete

Comments

if you are asking, if it is possible (in c++) to show a cv::Mat in a PictureBox (instead of using imshow()) - yes, it is possible.

but, if you want my 2ct. - if you're a n00b, forget that idea for now. mixing managed/unmanaged c++ code is very painful and error-prone.

last, but not least, - first build your opencv pipeline, when it does, what you wanted to achieve - then build nome nifty gui around it, not the other way round !

berak gravatar imageberak ( 2015-10-02 02:02:51 -0600 )edit

Ahem... thanks berak.. I suppose that'll do. Well my C++ development has matured but I prefer putting it into .net for further processing. Point taken.

Vizier87 gravatar imageVizier87 ( 2015-10-02 02:16:22 -0600 )edit

^^ ahh, apologies, above sounds overly harsh. there are some related questions here, read a bit:

http://answers.opencv.org/questions/s...

berak gravatar imageberak ( 2015-10-02 02:24:23 -0600 )edit

Naaah I take no offense. But I do confess to my n00bery. Only that I have done enough with the app as I need it to be, that's all.

Vizier87 gravatar imageVizier87 ( 2015-10-05 02:49:52 -0600 )edit