Classify the Content of a Static Image

Using the Xnor C API, this sample prints out a classification for the contents of a single image. The model will choose among the classes it is trained on and print the best match.

Language

C

Location

xnor-sdk-<hardware-target>/samples/c/classify_image_file.c

Dependencies

None

Compatible Xnor Models

All classification models

Example Usage

build/classify_image_file ../test-images/angry.jpg