Skip to content
Heapcount
English

Sources and licenses

Heapcount counts on your phone with an open source counting model, with our own processing on top. Here is what the app builds on, with the licenses. The full list with all license texts is also in the app, under About, Open source licenses. The sources are listed as their makers name them.

The counting model

Heapcount counts with GeCo2, a counting model that is open source under the MIT license. GeCo2 builds on the image encoder of SAM 2 by Meta, under the Apache 2.0 license. The ONNX export and the smaller int8 version of the model that the app uses come from the open source app how many?, under the MIT license, and the steps that prepare a photo for the model and read out its result follow their code. The model is inside the app and runs on your phone; nothing is sent anywhere.

Libraries in the app

Heapcount uses these libraries, under their licenses. There is no code for ads or analytics in the app.

What we made ourselves

  • Our own processing on top of that, which turns the result of the model into numbered dots in reading order: written by us.
  • Fixing dots, the counting area, the types, saving, the PDF report and the CSV export: written by us.
  • The icon and the pictures on this website: drawn by us.

Something not right? Write to heapcount@h4it.nl, and tell us what you expected.