This web app demonstrates the use of TensorflowJS to locally classify images of DND dice.
Upon uploading an image, the image is passed to a Yolov3 implementation which splits up the dice.
Another model, based on a finetuned MobileNetV2, then classifies the dice.
The model works best when given a square image on a white background, with a top down view
Note for iPhones: The model works best when you take a square picture using the camera app instead of using the "take photo" feature.