File size: 1,486 Bytes
d42b9e6
 
ffda578
d42b9e6
ffda578
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
a64e421
 
 
 
 
 
 
 
 
 
 
ffda578
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
---
license: mit
pipeline_tag: image-classification
---

My CoreML ImageClassifier model was made using the [facial-emotion-expressions dataset](https://www.kaggle.com/datasets/samaneheslamifar/facial-emotion-expressions)

- **[Model Prediction]**
  - **Input**:
    - A Color Image (360 * 360)
  - **Output**:
    - Target Probability: Dictionary<String, Double>
      - ```
        [
          "happy": 0.4855561791349634,
          "surprise": 0.024084357400483238,
          "neutral": 0.21888420462997776,
          "sad": 0.19763450068444008,
          "disgust": 0.00016288822139744888,
          "fear": 0.022619370188337207,
          "angry": 0.05105849974040094
        ]
        ```
- **[Previews]**
  - <table>
    <tr>
      <td>
        <img src="https://media.giphy.com/media/4KeH3fQuu42CZqgh76/giphy.gif"/>
      </td>
      <td>
        <img src="https://media.giphy.com/media/RGxWcdXBryryhXRriS/giphy.gif"/>
      </td>
    </tr>
    </table>

- **[Made Using]**
  - Apple's [**CreateML** ![image/png](https://developer.apple.com/assets/elements/icons/create-ml/create-ml-96x96_2x.png)](https://developer.apple.com/documentation/createml/mlimageclassifier)

- **[Requirements]**
  - macOS 14.0+
  - iOS 17.0+
  - tvOS 17.0+

- **[Sample Usage]**:
  - [**GitHub**](https://github.com/c2p-cmd/FaceEmotionClassifierSwift/)

- **[Prediction Results]**
![image/png](https://cdn-uploads.huggingface.co/production/uploads/656968f81d7c2ca7b7b112c8/DV4QbAVZLLEUASJhxOq7U.png)