-
Notifications
You must be signed in to change notification settings - Fork 12
Closed
Description
In reference to: #6 (comment)
The image does not seem to be redrawn after first render, even when the props change. Boxes update correctly, but the image stays the same. Even when passing "forceRedraw" prop doesn't help. Maybe I'm using this component incorrectly?
const ImageWithBoundingBoxes = ({ imageUrl, labels }) =>
<BoundingBox
forceRedraw
image={imageUrl}
boxes={labels}
options={{
colors: {
normal: 'red',
selected: 'rgba(0,225,204,1)',
unselected: 'rgba(100,100,100,1)'
},
style: {
maxWidth: '100%',
maxHeight: '90vh'
}
}}
/>
Metadata
Metadata
Assignees
Labels
No labels