@regulaforensics/face-sdk
Version:
This is an npm module for Regula Face SDK. It allows you to easily compaire faces using your phone's camera.
19 lines (15 loc) • 408 B
JavaScript
export class PersonGroup {
name
id
metadata
createdAt
static fromJson(jsonObject) {
if (jsonObject == null) return null
var result = new PersonGroup()
result.name = jsonObject["name"]
result.id = jsonObject["id"]
result.metadata = jsonObject["metadata"]
result.createdAt = new Date(jsonObject["createdAt"])
return result
}
}