vision-camera-face-detector
vision-camera-face-detector copied to clipboard
How should bounds correspond to the screen?
{
"boundingCenterX": 261,
"boundingCenterY": 364,
"boundingExactCenterX": 261.5,
"boundingExactCenterY": 364.5,
"height": 275,
"width": 275,
"x": 129.75,
"y": 271.75
}
<Column
key={index}
className='absolute'
style={{
width: item.bounds.width,
height: item.bounds.height,
left: item.bounds.boundingCenterX - item.bounds.width / 2,
top: item.bounds.boundingCenterY - item.bounds.height / 2,
// left: item.bounds.x,
// top: item.bounds.y,
borderWidth: px(4),
borderColor: '#999'
}}
/>
This writing style doesn't seem to correspond to anything