OpenThermal / libseek-thermal

SEEK thermal compact camera driver supporting the thermal Compact, thermal CompactXR and and thermal CompactPRO
MIT License
286 stars 99 forks source link

seek_viewer VideoWriter (output) fails if colormap not set #11

Closed fnoop closed 7 years ago

fnoop commented 7 years ago

If COLORMAP is -1 and hence a colormap is not set, seek_viewer outputs an CV_8UC1 frame. VideoWriter needs an CV_8UC3 frame, so we should ensure process_frame() consistently outputs a 3-channel frame.

maartenvds commented 7 years ago

Thanks for fixing