Ask Your Question

Saul R's profile - activity

2019-05-18 12:54:27 -0600 asked a question imshow as a stream of PNG images

imshow as a stream of PNG images I have C++ cmd shell application where PNG images are being received on a TCP/IP conne

2019-05-17 15:33:08 -0600 marked best answer How to use imshow when png is loaded in memory

My program receives PNG buffers from TCP connection. I have an unsigned character pointer to the PNG file. I want to show the PNG image with imshow as they are received (i.e. sort of a video stream of PNG images).

So far I am not able to achieve this since imshow wants a cv::mat and I don't know how to convert from uchar * (png raw file data) to cv::mat.

Thank you.

2019-05-17 15:33:08 -0600 received badge  Scholar (source)
2019-05-17 11:53:37 -0600 commented answer How to use imshow when png is loaded in memory

Thanks guys!!! trying answer right now....

2019-05-17 11:14:45 -0600 asked a question How to use imshow when png is loaded in memory

How to use imshow when png is loaded in memory My program receives PNG buffers from TCP connection. I have an unsigned c