You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the opened issues and there are no duplicates
Describe the requested feature
Happy new year! I hope the Image control can provide a way to directly convert image byte data, thereby avoiding unnecessary base64 encoding and decoding in some scenarios. Here is a common real-time video display example for deep learning, which requires the installation of opencv-python module. If the base64 encoding and decoding are omitted, the frame rate is expected to increase by 5%.
My idea is to add bytes format to the src attribute, so that the src: Union[None, str, bytes].
Screenshots
Additional details
No response
The text was updated successfully, but these errors were encountered:
lasifea
changed the title
Suggestions for performance improvement of **Image** control
Suggestions for performance improvement of Image control
Jan 8, 2025
Duplicate Check
Describe the requested feature
Happy new year! I hope the Image control can provide a way to directly convert image byte data, thereby avoiding unnecessary base64 encoding and decoding in some scenarios. Here is a common real-time video display example for deep learning, which requires the installation of opencv-python module. If the base64 encoding and decoding are omitted, the frame rate is expected to increase by 5%.
Suggest a solution
My idea is to add bytes format to the src attribute, so that the src: Union[None, str, bytes].
Screenshots
Additional details
No response
The text was updated successfully, but these errors were encountered: