Streamlit-Image-Annotation
Streamlit-Image-Annotation copied to clipboard
Support opening ndarray image
While using the webcam to capture images for annotation, I discovered that PIL.Image.open() only accepts image paths or bytes. Therefore, I have added code to convert ndarray to bytes.