Get image file

Get image file

get

Get a sample as an image file. This only applies to samples with RGBA data.

Authorizations
Path parameters
projectIdintegerRequired

Project ID

sampleIdintegerRequired

Sample ID

Query parameters
afterInputBlockbooleanOptional

Whether to process the image through the input block first

cacheKeystringOptional

If set, then a long cache header is sent. If this is omitted then a no-cache header is sent. You can use this if you f.e. know the last modified date of a sample. Stick the last modified date in the cache key, so the sample can be stored in browser cache (and will automatically be invalidated if the modified date changes).

impulseIdintegerOptional

Impulse ID. If this is unset then the default impulse is used.

Responses
200
Image file (either JPEG or PNG format)
image/jpeg
Responsestring · binary
get
GET /v1/api/{projectId}/raw-data/{sampleId}/image HTTP/1.1
Host: studio.edgeimpulse.com
x-api-key: YOUR_API_KEY
Accept: */*
200

Image file (either JPEG or PNG format)

binary

Last updated

Was this helpful?