Emotion fer+ and draft of BCHW utilities
About
This is a pre-release able to run the emotion fer+ model. On top of that, it holds the premises of a new package to manipulate images and BCHW tensors (see internal/x).
Binary attachment
The attachment is a simple tool that expects the emotion fer + model as input (model.onnx) and a picture encoded in gray/png and of size 64x64. (See the Makefile for options of ImageMagick to convert the picture to a suitable format).
You need to grab the model.onnx file from here
MacOS with brew
On MacOS you can install imagesnap and imagemagick and run macos_fun.sh.
Otherwise, simply download the Makefile and type make install to install everything and make analyze1.jpg to create a picture and analyze it.