()
| 57 | const HEIGHT = 861; |
| 58 | |
| 59 | async function getBinarySegmentation() { |
| 60 | const image = await loadImage( |
| 61 | 'shared/three_people_binary_segmentation.png', WIDTH, HEIGHT); |
| 62 | const imageData = await toImageDataLossy(image); |
| 63 | |
| 64 | return [getSegmentation(imageData)]; |
| 65 | } |
| 66 | |
| 67 | async function getBinaryMask() { |
| 68 | const segmentation = await getBinarySegmentation(); |
no test coverage detected