Our client, a medical technology company, was building a product that lets users monitor their skin moles on their own, in order to catch changes that may indicate a risk of melanoma early. This called for three tightly synchronised layers: a backend storing the photo history and analysis results, a web application for consulting physicians, and a mobile app running an image analysis engine locally on the patient's device.
Mobile app for skin mole analysis
Full stack: backend, patient/doctor portal, Android app with OpenCV image analysis
The challenge
The solution
We built the complete platform: a Symfony backend managing accounts, photo history and communication with doctors; a web app for the medical team to review cases and issue consultations; and an Android app that uses OpenCV to detect the mole area, calibrate its size against a reference marker and automatically analyse its parameters according to the ABCDE rule.
The image analysis engine
At the heart of the app is a dedicated image analysis engine built on OpenCV, running entirely on the patient's device — no photos are ever sent to third-party ML services. The pipeline has four stages:
- Size calibration — the patient photographs the mole next to a reference marker of known dimensions. The algorithm detects the marker, derives the px → mm scale and rejects shots taken from an angle that could distort the measurement.
- Mole area detection — contour segmentation based on thresholding in the HSV colour space and morphological operations, filtering out artefacts such as hair, shadows and glare.
- ABCDE parameter analysis — automatic calculation of the five parameters used in clinical dermatology: Asymmetry, Border (edge regularity), Colour (colour variation within the mole), Diameter (in mm) and Evolution (comparison against earlier measurements of the same mole over time).
- Change timeline — every mole has its own measurement history; the app visualises the trend over time and raises an alert when parameters cross clinical thresholds.
The analysis serves as a monitoring and screening tool — the result does not replace a dermatological consultation, but it makes it easier for both the user and the consulting physician to track changes objectively.
The outcome
The app is available on Google Play and has been under continuous development and maintenance since 2020. It offers real help in monitoring moles — detecting changes early is fundamental to melanoma prevention.
Co zbudowaliśmy
API and medical data handling
Symfony — REST API for the mobile and web apps, data models for patients, mole photos, measurement history and medical consultations. Compliance with medical data storage requirements (encryption at rest, audit log). Push communication to the mobile app carrying doctors' responses.
Portal for the medical team
A web app for consulting physicians — browsing patient cases, photo history with a timeline, and the ability to issue a consultation opinion with notes. Twig templating and Symfony forms.
Patient app with image analysis
Android (Kotlin, with Java in the older modules), camera with a size calibration mode against a reference marker, OpenCV for mole contour detection, ABCDE parameter extraction and a timeline of changes over time. Synchronisation with the backend and push notifications for doctors' responses.
Stack technologiczny
Efekty
Got an idea?
Quote, consultation or audit — pick the path that fits. We'll take it from there.
Project quote
Tell us about your idea — we deliver scope, timeline and cost in 5 days.
Fill the brief→ 02Technical consultation
30-minute call with our tech lead about stack, architecture and risks.
Book a call→ 03Product audit
We review code, architecture and performance. Report with a clear roadmap.
Start an audit- Response within 24h
- NDA on the first call
- First call with no strings attached