(imageData: ImageData)
| 47 | } |
| 48 | |
| 49 | function getSegmentation(imageData: ImageData): Segmentation { |
| 50 | return { |
| 51 | maskValueToLabel: (maskValue: number) => `${maskValue}`, |
| 52 | mask: new ImageDataMask(imageData), |
| 53 | }; |
| 54 | } |
| 55 | |
| 56 | const WIDTH = 1049; |
| 57 | const HEIGHT = 861; |
no outgoing calls
no test coverage detected