mirror of https://github.com/doccano/doccano.git
pythondatasetnatural-language-processingdata-labelingmachine-learningannotation-tooldatasetsactive-learningtext-annotation
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
300 B
15 lines
300 B
import { Segment } from '@/domain/models/tasks/segmentation'
|
|
|
|
export class SegmentationDTO {
|
|
id: number
|
|
uuid: string
|
|
label: number
|
|
points: number[]
|
|
|
|
constructor(item: Segment) {
|
|
this.id = item.id
|
|
this.uuid = item.uuid
|
|
this.label = item.label
|
|
this.points = item.points
|
|
}
|
|
}
|