photoprism/internal/face/regions.go
2021-05-24 17:57:44 +02:00

18 lines
542 B
Go

package face
// Region represents XMP-compatible face region metadata.
type Region struct {
RegionAppliedToDimensionsW int
RegionAppliedToDimensionsH int
RegionAppliedToDimensionsUnit string
RegionName string
RegionType string
RegionAreaX float32
RegionAreaY float32
RegionAreaW float32
RegionAreaH float32
RegionAreaUnit string
}
// Regions is a list of face region metadata.
type Regions []Region