/card-counter

Primary LanguageGroovyApache License 2.0Apache-2.0

Counting playing card with Gemini Pro Vision

As I've been playing to the Skyjo playing card game with my daughter, I thought it would be fun to see if Gemini Pro Vision multimodal large language model would be able to count the points on the cards.

The game consists of cards with numbers ranging from -2 up to 12. The winner is the person with the lowest number of points (ie. the total of all the numbers on the cards).

Trying it!

Code

This repository contains the code of the demo application. It's a Micronaut application developed in Java. Interactions with the Gemini model are handled with the LangChain4j library.