rapidvms icon indicating copy to clipboard operation
rapidvms copied to clipboard

how to add raw data callback to camera in server code

Open ahmadi219 opened this issue 8 years ago • 2 comments

Hello I want to use RegRawDatacallback in server. there are both of RegDataCallback & RegSubDataCallback but not RegRawDatacallback . according your codes for two above exited callbacks, I add codes for RegRawDatacallback . but I do not know how to implement Camera::RawDataHandler1(RawFrame& frame) . Please help me to complete this method. Thanks

ahmadi219 avatar Sep 26 '16 14:09 ahmadi219

i am sorry, you need write new class for get the encoded data and use VPlay to decode the frame.

xsmart avatar Sep 27 '16 11:09 xsmart

Can I get decoded frame in Cameraimpl.hpp in method Camera::DataHandler1(VideoFrame& frame) ? If I want to show decoded frame in this method, Can I convert parameter (VideoFrame& frame) to cv::mat to see frame in window ? thanks for your attention

ahmadi219 avatar Oct 01 '16 12:10 ahmadi219