People: Add face dist to marker API JSON #22
This commit is contained in:
parent
b4bcfe499c
commit
b6e4aa23d0
1 changed files with 2 additions and 0 deletions
|
@ -25,6 +25,7 @@ func (m *Marker) MarshalJSON() ([]byte, error) {
|
|||
Review bool
|
||||
Invalid bool
|
||||
FaceID string
|
||||
FaceDist float64 `json:",omitempty"`
|
||||
SubjUID string
|
||||
SubjSrc string
|
||||
X float32
|
||||
|
@ -45,6 +46,7 @@ func (m *Marker) MarshalJSON() ([]byte, error) {
|
|||
Review: m.MarkerReview,
|
||||
Invalid: m.MarkerInvalid,
|
||||
FaceID: m.FaceID,
|
||||
FaceDist: m.FaceDist,
|
||||
SubjUID: m.SubjUID,
|
||||
SubjSrc: m.SubjSrc,
|
||||
X: m.X,
|
||||
|
|
Loading…
Reference in a new issue