Learn
Test pretrained model using image data
Test out a pretrained model (using image data) - upload first via uploadPretrainedModel. If you want to deploy a pretrained model from the API, see startDeployPretrainedModelJob. This will transform raw image data (e.g. RGB to grayscale, resize) before classifying. To classify raw features, see testPretrainedModel.
post/api/{projectId}/pretrained-model/test-image
Request
- Base URLhttps://studio.edgeimpulse.com/v1
- Auth
- API key in header x-api-key
- or API key in cookie jwt
- or API key in header x-jwt-token
- or OAuth 2Authorization code/v1/oauth/authorizeClient credentialsImplicit/v1/oauth/authorizePasswordToken URL/v1/oauth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
projectIdinteger required
Project ID
Query parameters
impulseIdinteger
Impulse ID. If this is unset then the default impulse is used.
Request body
Example request
{
"input": {
"resizeMode": "squash"
}
}Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.