Skip to content

AAGSB-2042 mods to stream camera data#7

Draft
jwdinius wants to merge 1 commit intomainfrom
fix/gis/AAGSB-2042_stream_images_rosboard
Draft

AAGSB-2042 mods to stream camera data#7
jwdinius wants to merge 1 commit intomainfrom
fix/gis/AAGSB-2042_stream_images_rosboard

Conversation

@jwdinius
Copy link

Change style for ImageViewer.js to support HMI camera streaming.

@jwdinius jwdinius marked this pull request as draft February 14, 2023 23:17
@jwdinius jwdinius force-pushed the fix/gis/AAGSB-2042_stream_images_rosboard branch from 3b6bec2 to c3d0c41 Compare February 17, 2023 16:54
@jwdinius jwdinius force-pushed the fix/gis/AAGSB-2042_stream_images_rosboard branch from c3d0c41 to 94393e2 Compare February 17, 2023 16:55
img = img[::stride,::stride]
img_jpeg = encode_jpeg(img)
output["_data_jpeg"] = base64.b64encode(img_jpeg).decode()
output["_data_shape"] = list(original_shape)
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

An exception was caught during testing and I found this issue; either the Exception handler should return or the lines should be added to the try block. I chose the latter option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant