Classify Sample
Classify a complete file against the current impulse. This will move the sliding window (dependent on the sliding window length and the sliding window increase parameters in the impulse) over the comp
get
https://studio.edgeimpulse.com/v1
/api/{projectId}/classify/{sampleId}
Classify sample
cURL
Python
Node.js
curl --request GET \
--url https://studio.edgeimpulse.com/v1/api/{projectId}/classify/{sampleId} \
--header 'x-jwt-token: REPLACE_KEY_VALUE'
import http.client
conn = http.client.HTTPSConnection("studio.edgeimpulse.com")
headers = { 'x-jwt-token': "REPLACE_KEY_VALUE" }
conn.request("GET", "/v1/api/{projectId}/classify/{sampleId}", headers=headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
const request = require('request');
const options = {
method: 'GET',
url: 'https://studio.edgeimpulse.com/v1/api/{projectId}/classify/{sampleId}',
headers: {'x-jwt-token': 'REPLACE_KEY_VALUE'}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
Export as PDF
Copy link