SpotCheck
Eczema vs Tinea · CNN Classifier

Not sure what's on your skin? Scan it.

Upload a photo and SpotCheck's deep-learning model gives you a quick read on whether it looks more like eczema or tinea — then helps you learn what each one means.

Skin scan Model ready
Drop a skin photo here
or browse a file · one image · JPG or PNG
Click to scan another photo
Looks like Eczema 85% confidence
Eczema 0%
Tinea 0%
i

This is not a medical diagnosis. SpotCheck is a supportive tool, not a doctor. See a dermatologist or healthcare provider to confirm any skin condition and get treatment.

How it works

Three steps, a few seconds

Everything runs on a single convolutional neural network trained to tell these two look-alike conditions apart.

STEP 01

Upload

Add a clear, well-lit photo of the affected skin. The image never leaves the model's own pipeline.

STEP 02

Analyze

The image is resized and normalized, then the CNN reads its visual patterns and scores each class.

STEP 03

Learn

You get a confidence read for eczema vs tinea, plus a jump into plain-language education on each.

Learn more

Understand both conditions

They share redness, itch and scaling — which is exactly why they're so easy to confuse. Here's what sets them apart.

Not contagious

Eczema

A chronic condition that leaves skin dry, itchy and inflamed when its barrier is disrupted by triggers.

Read the guide →
Contagious · fungal

Tinea (Ringworm)

A common fungal infection named for its ring-shaped, scaly-bordered rash — treatable with antifungals.

Read the guide →
Chronic · Not contagious

Eczema

A condition that makes skin dry, itchy and bumpy by weakening its barrier function. Eczema is a type of dermatitis — a group of conditions that cause skin inflammation.

31M+Americans affected
6 typesincluding atopic dermatitis
Any ageoften starts in childhood
No curebut very manageable
Education · 8 sections
01

Overview

What is eczema?

Eczema is a condition that causes your skin to become dry, itchy and bumpy. It weakens your skin's barrier function, which helps your skin retain moisture and protects your body from outside elements. Eczema is a type of dermatitis, a group of conditions that cause skin inflammation.

What are the types of eczema?

Each type has unique triggers that can affect your skin's barrier function:

  • Atopic dermatitis
  • Contact dermatitis
  • Dyshidrotic eczema
  • Neurodermatitis
  • Nummular eczema
  • Seborrheic dermatitis

It's possible to have more than one type of eczema at the same time.

Eczema rash on a forearm — red, blotchy, inflamed patches
What eczema can look like. Red to pink, blotchy, inflamed patches with dry, irritated skin — here across the forearm. Appearance varies by skin tone and body area.

Who does eczema affect?

Eczema can affect anyone at any age. Symptoms usually appear during childhood and last into adulthood. Your risk is higher with a family history or diagnosis of dermatitis, allergies, hay fever or asthma.

How common is eczema?

Eczema is common and affects more than 31 million Americans. Infants are prone to it — 10% to 20% will have it — but nearly half of infants diagnosed outgrow it or improve significantly as they get older.

02

Symptoms and Causes

What are the symptoms of eczema?

  • Dry skin
  • Itchy skin
  • Skin rash
  • Bumps on your skin
  • Thick, leathery patches of skin
  • Flaky, scaly or crusty skin
  • Swelling

What does an eczema rash look like?

Eczema can look different on each person. On darker skin tones a rash can be purple, brown or gray; on lighter skin tones it can look pink, red or purple.

Where do symptoms appear?

Symptoms can appear anywhere. The most common spots are the hands, neck, elbows, ankles, knees, feet, face (especially cheeks), in and around the ears, and lips. Less commonly, it can appear on the nipples, breasts, vulva and penis.

Does eczema hurt?

Eczema doesn't usually cause pain. Scratching can break the skin and create a painful sore. Some types, like contact dermatitis, cause a burning sensation and discomfort.

What causes eczema?

Your immune system: it overreacts to small irritants or allergens, treating them as invaders and creating inflammation, which causes symptoms.

Your genes: risk is higher with a family history of eczema, dermatitis, asthma, hay fever or allergies, or a genetic mutation affecting the skin barrier.

Your environment: smoke, air pollutants, harsh soaps, wool, some skin-care products and low humidity can all irritate skin; heat and high humidity worsen itch.

Emotional triggers: high stress, anxiety or depression can bring on more frequent flare-ups.

What triggers a flare-up?

Triggers differ per person, but common ones include dry weather, certain fabrics, makeup or skin-care products, smoke and pollutants, soaps and detergents, stress, and touching something you're allergic to.

Do certain foods trigger eczema?

The link is unclear. If you have a food allergy (common ones: peanuts, dairy, eggs), that food may worsen symptoms. If you don't have a food allergy, no foods will cause or worsen your eczema.

Is it autoimmune? Is it contagious?

Eczema can make the immune system overreact but isn't classified as autoimmune. It is not contagious — you can't spread it through contact.

03

Diagnosis and Tests

How is eczema diagnosed?

A healthcare provider diagnoses eczema after a physical exam of your skin. Most people are diagnosed as children, but it can happen at any age. Because symptoms resemble other conditions, tests may be used to rule those out and confirm the diagnosis, such as an allergy test, blood tests, or a skin biopsy to distinguish one type of dermatitis from another.

Questions a provider might ask

  • Where do you have symptoms on your body?
  • Did you use any products to treat your skin?
  • Do you have conditions like allergies or asthma?
  • Is there a history of eczema in your family?
  • How long have you had symptoms?
  • Do you take hot showers?
  • Does anything make symptoms worse (certain soaps or detergents)?
  • Do symptoms affect your sleep or daily activities?

Who diagnoses eczema?

A primary care provider may refer you to a dermatologist — a specialist in skin conditions — to diagnose and treat your eczema.

04

Management and Treatment

How do I get rid of eczema?

Treatment is unique to you and your triggers. It may include:

  • Using gentle, sensitive-skin moisturizers throughout the day; apply when skin is damp after a bath or shower
  • Topical medications such as topical steroids, as advised by your provider
  • Oral medications like anti-inflammatories, antihistamines or corticosteroids to reduce itch and swelling
  • Immunosuppressant drugs to help regulate the immune system
  • Light therapy to improve the skin's appearance
  • Avoiding triggers that cause flare-ups

How do you treat childhood eczema?

  • Give short, warm baths instead of long, hot ones
  • Moisturize several times daily (for infants, with each diaper change helps a lot)
  • Keep room temperature and humidity steady
  • Dress your child in cotton; avoid wool, silk and synthetics like polyester
  • Use sensitive-skin or unscented laundry detergent
  • Help them avoid rubbing or scratching

What type of moisturizer treats eczema?

Choose products that are hypoallergenic, fragrance- and dye-free; gentle or for sensitive skin; contain petroleum jelly or mineral oil; are free of preservatives or stabilizers; and include lipids and ceramides to improve the barrier. It may take trial and error to find the right one.

How do I manage symptoms?

You may not control genetic causes, but you can influence your environment and stress. Figure out what triggers or worsens your eczema and avoid it. The goal is to reduce itching and discomfort and prevent infection and further flare-ups.

How soon will I feel better?

It can take several weeks for skin to clear completely. Prescribed medications speed things up. If symptoms worsen or don't clear after a few weeks, contact your provider.

Are there complications?

Weeping eczema causes fluid-filled blisters. Infected eczema occurs when bacteria, fungus or a virus breaks through the skin. Warning signs include fever and chills, clear-to-yellow fluid leaking from blisters, and pain and swelling.

05

Outlook / Prognosis

What can I expect?

Eczema and other dermatitis aren't harmful to the rest of your body and the condition isn't deadly. Nearly half of children with eczema outgrow it or improve by puberty; others have some form of it throughout life. For adults, it can be well managed with a good skin-care routine.

How long does eczema last?

Eczema can be lifelong — starting in infancy and continuing into adulthood. You can manage symptoms with at-home remedies, over-the-counter medications and prescriptions.

Is there a cure?

No. There are effective treatments, but none eliminate symptoms 100% of the time. Eczema is chronic — it can go away and come back unexpectedly — and treatments are very effective at reducing itchy, dry skin.

06

Prevention

How can I prevent flare-ups?

  • Moisturize regularly, sealing in moisture right after a bath or shower
  • Bathe or shower with warm, not hot, water
  • Stay hydrated — aim for at least eight glasses of water a day
  • Wear loose cotton and natural materials; wash new clothing first; avoid wool and synthetics
  • Manage stress and emotional triggers; seek professional support if needed
  • Use a humidifier if dry air dries your skin
  • Avoid irritants and allergens
07

Living With

How do I take care of myself?

Living with eczema can be challenging. Times when it disappears are called "remission"; times when symptoms appear or worsen are "flare-ups." The goal of treatment is to prevent flare-ups — avoid triggers, moisturize, take your medicine and follow your provider's instructions.

When should I see my provider?

  • You experience symptoms of eczema
  • Symptoms get worse after treatment
  • Symptoms don't go away a few weeks after treatment
  • You get an infection, have a fever or experience severe pain

Questions to ask your provider

  • If it isn't eczema, what other skin condition might it be?
  • Is there a specific moisturizer brand you recommend?
  • Are there side effects to the treatment?
  • How often should I see a dermatologist?
  • What soaps, lotions or makeup should I avoid?
  • How can I care for my skin at home?
08

Additional Common Questions

Does the weather make eczema worse?

Yes. Certain temperatures and weather patterns can affect your skin. Low humidity (dry air) in winter can dry it out, while humidity from high heat makes you sweat, which can make itchiness worse.

Educational content adapted from Cleveland Clinic — Eczema. For information only; not a substitute for professional medical advice.
Fungal · Contagious

Tinea (Ringworm)

A fungus — not a worm — causes ringworm. It's a common, contagious skin infection named for the red, itchy, ring-shaped plaque it forms, and it's treated with antifungal medication.

20–25%of people at any time
4–14 daysto show after contact
AntifungalsOTC or prescription
Ring-shapedraised, scaly border
Education · 8 sections
01

Overview

What is ringworm?

A fungus — not a worm — causes ringworm. Fungi thrive in warm, humid areas like locker rooms and public showers. This common, contagious infection gets its name from the red, itchy, ring-shaped plaque it forms, and it spreads easily through close contact with an infected person, animal or object. Ringworm on the body is called tinea corporis, affecting the arms, legs, torso and face. It's treated with antifungal medication, over the counter or by prescription.

Types of ringworm

  • Athlete's foot (tinea pedis): itchy, burning rash between the toes and on the soles; skin may become scaly, cracked or blistered.
  • Jock itch (tinea cruris): red, itchy rash in the groin, upper thighs or rectum.
  • Scalp ringworm (tinea capitis): scaly, red, itchy bald spots that can grow and become permanent if untreated.
  • Hands (tinea manuum): dry, cracked palms and ring-like patches.
  • Beard (tinea barbae): patches on the neck, chin and cheeks that may crust or fill with pus.
  • Nails (tinea unguium / onychomycosis): thick, discolored, deformed nails.

What does ringworm look like?

It typically begins as a flat, discolored patch — red in lighter complexions, brown in darker ones — with a ring-like, circular shape and a raised, scaly border.

Ringworm (tinea) lesion — a circular, red plaque with a raised, scaly border
What tinea (ringworm) can look like. A circular, discolored plaque with a raised, scaly border and a clearer center — the ring-like shape the infection is named for.

Who gets ringworm?

It affects all ages. You're more at risk if you have a weakened immune system or an autoimmune disease like lupus, play high-contact sports such as wrestling, sweat excessively, use public locker rooms or showers, or work closely with animals that might have ringworm.

How common is it?

Ringworm is contagious and extremely common — it can affect 20% to 25% of the world's population at any given time.

02

Symptoms and Causes

What are the signs of ringworm?

Signs typically appear four to 14 days after your skin contacts the fungus:

  • Circular, ring-shaped scales or plaques
  • Flat patches with a raised, round border
  • Itchy skin
  • Hair loss or bald spots in the affected area

What causes ringworm?

Despite its name, a fungus causes it. This fungus naturally lives on your skin, hair and nails, but when its environment gets hot and damp it starts growing uncontrollably. You can get infected whenever your skin contacts the ringworm fungus on someone else's skin.

How contagious is it?

Ringworm is contagious. It can live on skin, surfaces and in soil. It mainly spreads through:

  • Skin-to-skin contact with someone who has ringworm
  • Contact with an infected dog, cat or other animal (pets or livestock)
  • Contact with a contaminated surface, like a locker-room floor or sweaty gym clothes
  • Sharing objects such as a brush, towel or bedding
  • Contaminated soil
03

Diagnosis and Tests

How is ringworm diagnosed?

Your healthcare provider can diagnose ringworm by looking at your skin and assessing your symptoms. They may scrape the area to examine the skin cells under a microscope — examining the scales typically confirms ringworm.

04

Management and Treatment

How is ringworm treated?

Several over-the-counter and prescription antifungal medications treat ringworm, in forms like creams, gels or powders. More widespread ringworm can be treated with oral antifungal medication.

Antifungal creams and powders

OTC creams, gels or powders typically work well, including clotrimazole (Lotrimin®, Mycelex®), miconazole (Desenex®), terbinafine (Lamisil AT®) and tolnaftate (Tinactin®). If symptoms worsen or don't clear after two weeks, you may need an oral prescription.

Oral medication

A provider may prescribe oral antifungals for scalp ringworm or when many parts of the body are affected, usually for one to three months — for example fluconazole (Diflucan®), griseofulvin (Griasctin®), itraconazole (Sporanox®) and terbinafine (Lamisil®).

Antifungal shampoo

Shampoo such as ketoconazole (Nizoral A-D®) may stop scalp ringworm from spreading. It won't cure it — you also need a prescribed oral antifungal — and unaffected family members may benefit from using it too.

Home remedies

Remedies like apple cider vinegar or tea tree oil have little to no benefit; apple cider vinegar may cause open sores or inflammation. Your home may also need treatment — the fungus can live on surfaces for months, so use disinfectant sprays or bleach and wash clothes, sheets and towels in hot water and detergent.

Steroid creams

Corticosteroid creams may reduce inflammation but shouldn't be used to treat ringworm — in fact, they may worsen the infection.

What cures ringworm?

Mild cases clear within a few weeks; more serious infections may need six to 12 weeks. To promote healing: keep the area clean and dry, apply antifungal products for the entire treatment period, and avoid touching the area (wash your hands before touching other areas).

Does ringworm go away by itself?

It can, but that's uncommon — and while it's present on your skin, you're still contagious to others.

05

Outlook / Prognosis

Can ringworm come back?

Yes. Ringworm will go away if treated appropriately, so follow your provider's plan until the infection clears completely. If you stop treatment or end it too soon, the infection can come back.

What are the complications?

Don't use anti-itch creams containing corticosteroids — they weaken the skin's defenses and can let the infection spread over larger areas. Rarely, the fungus goes deeper into the skin, making it harder to treat. Scalp ringworm can lead to a painful inflammation called kerion, with crusty, pus-filled sores, hair loss and scarring.

06

Prevention

How can I prevent ringworm?

Ringworm thrives in damp, warm areas and can live on towels, clothes, sheets and surfaces for months. To prevent it:

  • Change socks and underwear daily, or more often if damp or soiled
  • Shower immediately after contact sports or exercise
  • Wear sandals or shower shoes at pools and in public locker rooms and showers
  • Dry your skin thoroughly after showering, especially between the toes
  • Don't share towels, washcloths, sheets, clothes or combs
  • Wash clothes, athletic gear, sheets and towels in hot water and detergent
  • Disinfect surfaces with bleach or sprays
  • Treat pets for ringworm if they're infected, and wash your hands after contact with animals

A weak immune system or a damp, warm climate increases your risk.

07

Living With

When should I call the doctor?

Call your provider if the infection appears on your scalp, looks infected (redness and swelling), occurs during pregnancy, spreads to other areas, or doesn't improve after using OTC antifungal medication as directed.

Questions to ask your doctor

  • How did I get ringworm?
  • How long is ringworm contagious?
  • Should I (or my child) stay home from work/school until it's gone?
  • How do I prevent it spreading to other parts of my body — or to other people?
  • What's the best treatment? Should I avoid any medications?
  • How can I keep from getting it again?
  • How can I tell if my pet has ringworm?
  • Should I watch for signs of complications?
08

Additional Common Questions

Is ringworm an actual worm?

No. It's a fungal infection that gets its name from its ring-like border.

How does ringworm affect pregnancy?

The fungus won't affect your pregnancy, but check with your provider before using OTC antifungal creams or powders. Oral antifungals appear safe in pregnancy — your care provider can discuss risks and benefits.

Can you get ringworm from dogs or cats?

Yes — from dogs, cats and other animals like cows, goats or horses. Wash your hands after petting animals, and if a pet has ringworm, disinfect its bedding and clean surfaces it has visited.

How is ringworm different from eczema?

Both cause itchy, red skin, but unlike ringworm, eczema isn't contagious and doesn't spread from one area to another. Ringworm has a unique, ring-like appearance. Contact a provider for an appropriate diagnosis.

Educational content adapted from Cleveland Clinic — Ringworm (Tinea). For information only; not a substitute for professional medical advice.
About the model

One CNN, trained to tell eczema and tinea apart

SpotCheck is powered by a single convolutional neural network built and trained from scratch. Because eczema and tinea share redness, itch and scaling, the model learns the subtle visual patterns that separate them. Here's how it was built, from data to deployment.

Dataset 2,020 clean images · Eczema 1,037 · Tinea 983
Architecture 748K parameters · residual CNN, 224×224 input
Performance 89.7% ROC-AUC · 83.2% accuracy on the test set
SECTION 01

Introduction

Eczema and tinea have similar clinical appearances — redness, itching, scaly skin — which makes them hard to tell apart by eye, and a mix-up can lead to the wrong treatment. SpotCheck tackles this as a binary image classification problem: eczema versus tinea.

The model is a Convolutional Neural Network (CNN) trained entirely from scratch — no transfer learning. Development followed a full pipeline: data exploration, preparation, model building, training, evaluation and inference.

SECTION 02

Dataset

Images come from the Eczema and Tinea Skin Disease Dataset (DermNet, via Kaggle). The raw collection held 2,147 images. A cleaning pass removed 107 exact duplicates (detected by MD5 hashing) and 20 near-duplicates (detected by perceptual hashing), and every remaining image was verified as readable.

That left 2,020 clean images — 1,037 eczema (51.3%) and 983 tinea (48.7%), a well-balanced split. The data was then divided with a stratified 70 / 15 / 15 split, keeping class proportions consistent across each set:

  • Train: 1,414 images
  • Validation: 303 images
  • Test: 303 images
SECTION 03

Preparation

Every image was standardized to three-channel RGB and resized to 224×224 using letterbox resizing — scaling proportionally and padding the shorter side — so the original shape is preserved instead of stretched. Pixel values were then normalized from 0–255 to a 0–1 range for stable training.

To help the model generalize, the training set received moderate augmentation: horizontal and vertical flips, 90° rotations, small brightness shifts and light zoom. Validation and test images were only resized and normalized — no augmentation — so evaluation reflects real, unaltered data.

SECTION 04

Model architecture

The network — Final_Residual_CNN — is a residual CNN built with the Keras Functional API. It stacks five convolutional blocks, using skip (residual) connections to help gradients flow and a SeparableConv2D in the deeper block for efficiency. Features are pooled with Global Average Pooling and passed through two dense layers before the output.

Input 224×224×3 Conv 32 Conv 64 Residual 128 Residual 256 · Separable Global Avg Pool Dense 256 → 128 Sigmoid

Each dense layer is followed by dropout (0.3) to reduce overfitting, and the single sigmoid output gives the probability of tinea versus eczema. The whole model is compact — about 748K parameters (2.85 MB), of which ~746K are trainable — which keeps it light enough to run comfortably inside a web app.

SECTION 05

Training strategy

The model was trained with the Adam optimizer and a Cosine Annealing learning-rate schedule with warmup: the learning rate ramps gently from 1e-5 up to 5e-4 over the first 10 epochs, then decays smoothly along a cosine curve toward zero. The loss is binary cross-entropy with label smoothing (0.1), which discourages the model from becoming overconfident and helps it generalize.

EarlyStopping (patience 15, restoring the best weights) guarded against overfitting, with a 100-epoch cap. Training stopped at epoch 84. Train and validation accuracy landed at 83.8% and 83.8% — a gap of just 0.02%, indicating no meaningful overfitting.

SECTION 06

Performance

On the held-out test set of 303 images, the model reached:

MetricScore
Accuracy83.2%
Precision (macro)83.2%
Recall (macro)83.1%
Specificity (macro)83.1%
F1-Score (macro)83.1%
ROC-AUC89.7%

The confusion matrix on the test set:

Pred. Eczema
Pred. Tinea
Actual Eczema
132correct
23missed
Actual Tinea
28missed
120correct

Looking per class, eczema recall is 85.2% and tinea recall is 81.1% — meaning tinea is slightly more likely to be missed. Overall the model performs solidly but not perfectly, which is exactly why SpotCheck presents its output as a supportive read rather than a diagnosis.

SECTION 07

Inference & export

For a new photo, the model applies the same preparation (letterbox resize + normalization), then outputs a probability. A score of 0.5 or above is read as tinea; below that, eczema — and the accompanying confidence shows how sure the model is.

The final model was exported to the .keras format (primary) and to SavedModel (a portable alternative), so it can be loaded directly into this web app.