@foyer-inc/insight-sdk / Exports / ClassifyPayload
An interface describing the payload sent to the classify endpoint
• Optional
detectionsRequested: string
[]
An array of detections names to be returned in ClassifyResponse
• Optional
file: string
An image encoded as a base64 string
• Optional
files: string
[]
An array of images encoded as base64 strings
• Optional
force: boolean
A flag requesting a new result even when cached data exists
• Optional
includeSegmentations: boolean
A flag requesting the segmentations property to be returned with each Detection, necessary for post processing
• Optional
includeTagpoints: boolean
A flag requesting the tagpoint attribute to be returned with each Detection
• Optional
url: string
A url for a remotely hosted image
• Optional
urls: string
[]
An array of urls for remotely hosted images