Ian DrilonAsk⌘K

2022

Nail Disease Detection

Detects early-stage systemic disease from fingernail colour and texture. SVM classification with Canny edge detection, in an Electron desktop shell. Best Thesis.

  • React
  • Electron
  • Python Flask
  • TensorFlow
Screenshot of the Nail Disease Detection interface
At a glance

Project Overview

Timeline
2022
Stack
  • React
  • Electron
  • Python Flask
  • TensorFlow
Deployment
No public deployment
Case studyCSE · 5 chunks

How it was built

A desktop application that reads early indicators of systemic disease from a fingernail photograph, built as an undergraduate thesis and awarded Best Thesis in 2022.

Pipeline

6 inspectable stages

  1. 01

    Image capture

    Electron · desktop camera

  2. 02

    Edge detection

    Canny

  3. 03

    Nail segmentation

    OpenCV · Python

  4. 04

    Feature extraction

    colour + texture

  5. 05

    Classification

    SVM, supervised

  6. 06

    Result surface

    React · Flask API

Problem

Systemic disease shows up in fingernails first

Colour and texture changes in the nail bed are an early indicator of several systemic diseases, but reading them reliably takes a trained clinician. The thesis question was whether an ordinary camera image plus classical computer vision could surface that signal for someone without that training.

Approach

Classical CV before the classifier

Rather than pushing raw photographs at a network, the pipeline isolates the nail first. Canny edge detection finds the nail boundary, segmentation crops it out of the surrounding hand, and only then do colour and texture features go to an SVM for supervised classification. Fewer parameters, an inspectable failure mode, and it runs on a student laptop.

Interface

A desktop app, because the users were not online

Delivered as an Electron shell around a React interface talking to a Python Flask service, with Sass for styling. Packaging it as a desktop application meant it worked in clinic settings without a reliable connection, and kept the image data on the machine that captured it.

Outcome

Best Thesis, and the habit that stuck

The project took Best Thesis at Iloilo Science and Technology University in 2022. It also set the working pattern visible in every role since: build the smallest correct pipeline, make each stage inspectable, and only add machinery where the simple version measurably fails.

More projects3 of 9

Elsewhere in the archive