Android app
Pétanqueurs du Dimanche
A pétanque companion for friendly games, with teams, scores and a photo to see who has the point.
- Role
- Founder
- When
- October 2026 – Present
- Where
- Barcelona, Spain · Remote
- photo to see which boule has the point
- 1
- tools: teams, coin toss, score and measure
- 4
- points to win, with every mène kept
- 13
- ads, accounts or internet access
- 0
Screens
From the coin toss to the last mène.
-
Who has the point? -
Pick up where you left off -
Every mène counted -
Make the teams -
Heads or tails? -
Distances in millimetres
The project
I created Pétanqueurs du Dimanche for relaxed weekend games of pétanque. It makes the teams, tosses the coin and keeps the score, and a photo of the game estimates which boule is closest to the cochonnet. I designed and built everything, from the logo and the animations to the image analysis that finds the boules and the cochonnet in a photo, on the phone itself. The app is free and in French, with no account, no ads and no internet access.
What it does
Teams in a tap
Tête-à-tête, doublette or triplette: the app makes the teams and lets you move players from one to the other.
A coin toss
A ten-franc coin flips on the screen to decide which team starts.
The score, mène by mène
Each round is recorded up to 13 points, the last one can be corrected or undone, and a match resumes from the home screen, even after a restart.
Measure from a photo
Take a photo from above. The app finds the cochonnet and the boules, ranks them in millimetres and suggests the point to award.
Under the hood
Finding the boules in a photo, on the phone.
Measuring is the hard part. It all runs on the phone in plain Kotlin, with no model to download and no internet access.
Find every circle
A colour Hough transform proposes circles of every size plausible for a phone held 0.35 to 1.5 m above the ground. A full-rim fit then rejects tiles, feet and bags.
Pick out the cochonnet
The cochonnet is the circle that best explains the others: boules two to three times its size around it, in a colour unlike the ground.
Correct the perspective
The cochonnet’s known size, the phone’s tilt and the lens focal length turn pixels into millimetres, each with a stated uncertainty.
Know when to say no
When two distances overlap within their uncertainty, the app says it is too close to call and suggests a tape measure, rather than guessing.
- radius error on the field photos used as tests
- 1–4 %
- first detection, with the code compiled ahead of time
- 27 s → 1.5 s
- after removing allocations from the hot loops
- 7.4 s → 0.65 s
At a glance
- Friends at the courtTeams made in a tap
- Pétanqueurs du DimancheScore and coin toss
- Who has the pointMeasured from a photo
Toolkit
- Android
- Founder skills