Happy Bird

This example uses the Xnor Python bindings with GStreamer to display a window with live-updating scene classification results. Only the emotion classification model can be used. The classification results control a “bird” (rectangle) as it flies through scrolling blocks. Score high by carefully controlling your facial expressions!

Language

Python

Location

xnor-sdk-linux-x86_64/samples/python/happy_bird.py

Dependencies

pycairo, pygobject, GStreamer (via system package manager), installed Xnor emotion classification model.

Compatible Xnor Models

The emotion classification model

Example usage

python3 happy_bird.py