Music Emotions

An image classifier trained on the emopia_mel dataset.

Use this public function to categorize your image data into High Valance High Arousal, High Valence Low Arousal, Low Valance High Arousal & Low Valence Low Arousal. Try it out below or contact us to get API access.

Not what you are looking for? Check out our other pretrained image classifiers or train your own custom image classifier.

Hero image

Try It

Drag and drop or click to upload
JPG, PNG, BMP, and WEBP

Based on this dataset, Nyckel believes that this image fits into the following label:

Label name (76.0%)
/v1/functions/i8afra95ldt1qrff/invoke

Sample Gallery

Example dataset imageExample dataset imageExample dataset imageExample dataset imageExample dataset imageExample dataset imageExample dataset imageExample dataset imageExample dataset imageExample dataset imageExample dataset imageExample dataset imageExample dataset imageExample dataset imageExample dataset imageExample dataset imageExample dataset imageExample dataset imageExample dataset imageExample dataset imageExample dataset imageExample dataset imageExample dataset imageExample dataset image

Function Statistics

Total samples 862
Number of labels 4
Labels

Want to Use This Function?

Integrate this function into your product with one simple API call:

curl -X POST \
  -H 'Authorization: Bearer <accessToken>' \
  -F 'data=@<fileName>' \
  'https://www.nyckel.com/v1/functions/i8afra95ldt1qrff/invoke'
import requests

url = 'https://www.nyckel.com/v1/functions/i8afra95ldt1qrff/invoke'
headers = {
    'Authorization': 'Bearer ' + '<accessToken>',
}

with open('<fileName>', 'rb') as f:
    result = requests.post(url, headers=headers, files={'data': f})
print(result.text)
const form = new FormData();
form.append('data', File(<fileBytes>, '<fileName>'));

fetch('https://www.nyckel.com/v1/functions/i8afra95ldt1qrff/invoke', {
    method: 'POST',
    headers: {
        'Authorization': 'Bearer ' + '<accessToken>',
    },
    body: form
})
.then(response => response.json())
.then(data => console.log(data));
$ch = curl_init();

curl_setopt($ch, CURLOPT_URL, 'https://www.nyckel.com/v1/functions/i8afra95ldt1qrff/invoke');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POST, 1);

$file = curl_file_create(realpath('<fileName>'));
$fields = array('data' => $file);
curl_setopt($ch, CURLOPT_POSTFIELDS, $fields);

$headers = array();
$headers[] = 'Authorization: Bearer ' . '<accessToken>';
$headers[] = 'Content-Type: multipart/form-data';
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

$result = curl_exec($ch);
curl_close($ch);
echo $result;

Get in touch with the team at Nyckel to find out more and get API access.

Not What You're Looking For?

Check out our other pretrained image classifiers or train your own custom image classifier.