robotika / osgar

Open Source Garden (Autonomous) Robot
MIT License
13 stars 12 forks source link

LidarView - support for H264 video stream #995

Closed m3d closed 4 months ago

m3d commented 4 months ago

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).

m3d commented 4 months ago

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.