Rhoana / butterfly

Documentation
http://butterfly.rtfd.io
MIT License
2 stars 5 forks source link

Fixes #23 transmit 32-bit segmentations as RGBA #24

Closed LeeKamentsky closed 7 years ago

LeeKamentsky commented 7 years ago

To decode,

result = cv2.imdecode(buffer, cv2.IMREAD_UNCHANGED)
if result.ndim == 3:
    result = result.view(np.uint32).reshape(result.shape[0], result.shape[1])