This is a hacky way of support of H264 encoding (maybe also H265, not sure) for LidarView. Note, that I still do not know better way how to convince OpenCV to read from stream, unless we would like to merge some other 3rd party library??
Also note, that this hack works only for forward motion (OAK-D has default 1 key frame and 9 update frames).
I know that @tajgr mentioned on Tuesday, that he did not like it, but we do not easy alternative yet. I will merge it now as I need it working tomorrow, and then we can review, OK?
thanks m.
This is a hacky way of support of H264 encoding (maybe also H265, not sure) for LidarView. Note, that I still do not know better way how to convince OpenCV to read from stream, unless we would like to merge some other 3rd party library??
Also note, that this hack works only for forward motion (OAK-D has default 1 key frame and 9 update frames).