Open huan opened 6 years ago
This function should return a type string instead of object
string
object
https://github.com/zixia/node-facenet/blob/b1e4f4b62383699d4c2e670abfe00613e47d0828/src/face.ts#L331
According to https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify:
The JSON.stringify() method converts a JavaScript value to a JSON string JSON.stringify() converts a value to JSON notation representing it: If the value has a toJSON() method, it's responsible to define what data will be serialized.
This function should return a type
string
instead ofobject
https://github.com/zixia/node-facenet/blob/b1e4f4b62383699d4c2e670abfe00613e47d0828/src/face.ts#L331
According to https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify: