Mindket

JerseyNet - Jersey Number Detection

Newversion 1 · updated

Overview

Finds jersey numbers in an image and draws a box around each one, all inside your browser so the picture never leaves your device.

JerseyNet - Jersey Number Detection is a kit in the Research category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.

At a glance

You need
  • A web browser
  • Python and the pip tool, only for the download step
Runs in
  • A web browser, on the Space's page at Hugging Face
  • A browser on Windows, macOS or Linux, by opening a downloaded copy of index.html
Start with
pip install -U huggingface_hub
hf download MHkhan50/jersey-number-detection --repo-type space --local-dir jersey-number-detection
cd jersey-number-detection

Platform

WindowsOperating system
macOSOperating system
LinuxOperating system

About

What it is

JerseyNet is a small detector that finds jersey numbers in a picture and draws a box around each one it spots. JerseyNet runs inside your browser using ONNX Runtime Web. Nothing about your picture is sent to a server. It locates the numbers but does not read the digits.

Who it suits

People who study sports image analysis, or who want to see a compact detection model run entirely in a browser.

IndustryWho uses itHow they use itExample
Sports analyticsResearchers and analystsLocate jersey numbers in game photosFinding the numbers in a hockey photo
Computer visionStudents and developersStudy a small detector that runs client sideReading how the page loads the model file
EducationTeachers of machine learningShow detection without any serverDemonstrating a model that never uploads the image

If you need to read the digits or work on other sports, you can skip it, because the author calls it a research demo.

Where to use it

  • A web browser, on the Space's page at Hugging Face
  • A browser on Windows, macOS or Linux, by opening a downloaded copy of index.html
Use caseWhoWhat they get back
Find numbers in a photoAnyone with a hockey imageA box drawn around each number found
Try in-browser detectionDevelopersA model that runs with no upload
Study the page codeStudentsA small static page with a model file and two scripts

How to set it up

Online, nothing needs installing. A local copy needs a browser and a little Python for the download.

  • A web browser
  • Python and the pip tool, only for the download step
  1. Install the Hugging Face hub package with pip.
  2. Download the Space's files into a folder.
  3. Move into that folder.
  4. Open index.html in a web browser.
pip install -U huggingface_hub
hf download MHkhan50/jersey-number-detection --repo-type space --local-dir jersey-number-detection
cd jersey-number-detection

How to use it

Open the Space's page, or index.html from a local copy, and upload an image. The page marks each jersey number it detects with a box. The source lists no other controls.

hf download MHkhan50/jersey-number-detection --repo-type space --local-dir jersey-number-detection

Example

You upload a photo from an ice hockey game where a player's number is clearly visible. The page draws a box around that number. It does not tell you which digits they are, and a crowded or large photo may give weaker results.

For newcomers and experts

Detection means finding where something is in a picture. To start, upload one clear hockey photo and look at the boxes. Nothing leaves your browser.

JerseyNet is a 4.7M-parameter detector in the CenterNet style. It started from random weights, with no ImageNet or COCO pretraining, and was trained on the public jersey-2 set. The training used mosaic augmentation, a GIoU box loss and 384 px inputs. On the test split it reaches AP50:95 of 0.314 and AP50 of 0.593, and 0.308 on average over three seeds. The page letterboxes the image and decodes the heatmap as in training, and the exported pipeline matches the Python results.

  1. Upload an image in the browser
  2. Image is letterboxed to the model input
  3. ONNX Runtime Web runs JerseyNet locally
  4. Boxes are drawn around the numbers

Good to know

  • Limits: its training images were small ice-hockey pictures, so results are best on clear hockey photos and poorer on other sports, big photos or busy scenes
  • License: MIT
  • Cost to run: none named
  • Data it reaches: your image stays in the browser, and the page loads the jerseynet.onnx model file from its repository
  • Not for: reading digits, other sports or production use, since it is a research demo

README and files

README

JerseyNet - Jersey Number Detection

Finds jersey numbers in an image and draws a box around each one, all inside your browser so the picture never leaves your device.

Made by MHkhan50 on Hugging Face. These notes are Mindket's, written from its Space page and README; the app's own files and license are on Hugging Face.

About

What it is: JerseyNet is a small detector that finds jersey numbers in a picture and draws a box around each one it spots. JerseyNet runs inside your browser using ONNX Runtime Web. Nothing about your picture is sent to a server. It locates the numbers but does not read the digits.

Who it suits: People who study sports image analysis, or who want to see a compact detection model run entirely in a browser.

Industry | Who uses it | How they use it | Example
Sports analytics | Researchers and analysts | Locate jersey numbers in game photos | Finding the numbers in a hockey photo
Computer vision | Students and developers | Study a small detector that runs client side | Reading how the page loads the model file
Education | Teachers of machine learning | Show detection without any server | Demonstrating a model that never uploads the image

If you need to read the digits or work on other sports, you can skip it, because the author calls it a research demo.

Where to use it:

  • A web browser, on the Space's page at Hugging Face
  • A browser on Windows, macOS or Linux, by opening a downloaded copy of index.html
Use case | Who | What they get back
Find numbers in a photo | Anyone with a hockey image | A box drawn around each number found
Try in-browser detection | Developers | A model that runs with no upload
Study the page code | Students | A small static page with a model file and two scripts

How to set it up: Online, nothing needs installing. A local copy needs a browser and a little Python for the download.

  • A web browser
  • Python and the pip tool, only for the download step
  1. Install the Hugging Face hub package with pip.
  2. Download the Space's files into a folder.
  3. Move into that folder.
  4. Open index.html in a web browser.
pip install -U huggingface_hub
hf download MHkhan50/jersey-number-detection --repo-type space --local-dir jersey-number-detection
cd jersey-number-detection

How to use it: Open the Space's page, or index.html from a local copy, and upload an image. The page marks each jersey number it detects with a box. The source lists no other controls.

hf download MHkhan50/jersey-number-detection --repo-type space --local-dir jersey-number-detection

Example: You upload a photo from an ice hockey game where a player's number is clearly visible. The page draws a box around that number. It does not tell you which digits they are, and a crowded or large photo may give weaker results.

For newcomers and experts: Detection means finding where something is in a picture. To start, upload one clear hockey photo and look at the boxes. Nothing leaves your browser.

JerseyNet is a 4.7M-parameter detector in the CenterNet style. It started from random weights, with no ImageNet or COCO pretraining, and was trained on the public jersey-2 set. The training used mosaic augmentation, a GIoU box loss and 384 px inputs. On the test split it reaches AP50:95 of 0.314 and AP50 of 0.593, and 0.308 on average over three seeds. The page letterboxes the image and decodes the heatmap as in training, and the exported pipeline matches the Python results.

Upload an image in the browser
Image is letterboxed to the model input
ONNX Runtime Web runs JerseyNet locally
Boxes are drawn around the numbers

Good to know:

  • Limits: its training images were small ice-hockey pictures, so results are best on clear hockey photos and poorer on other sports, big photos or busy scenes
  • License: MIT
  • Cost to run: none named
  • Data it reaches: your image stays in the browser, and the page loads the jerseynet.onnx model file from its repository
  • Not for: reading digits, other sports or production use, since it is a research demo

On Hugging Face, 13 November 2026

  • Likes: 1
  • Built with: static
  • License: mit

Links

Try it

Open the Space in your browser, or copy it to your own Hugging Face account from its page. Nothing in this kit runs by itself.

Files
README.md  4 KB

1 file, 4 KB, downloaded as a zip.

What’s new

  • Version 1 · 2026-11-12

Compare with similar

Listed Hugging Face Spaces in the same category that share the most tags with this one.

ProductLikesBuilt withLicenseLast change
JerseyNet - Jersey Number Detection This page1staticmit
Arena LeaderboardShares static5,039staticapache-2.0
BrowserShares static533staticcc0-1.0
Model PulseShares static214staticapache-2.0
MTEB-BR LeaderboardShares static126staticapache-2.0
Hub StatsShares static65staticapache-2.0
Numbers as Mindket last read them, on 2026-11-12.

Reviews

No ratings yet

Write a review

No reviews yet.

More from Mindket

See all from Mindket

anaksor-ocr

Sokheng · Kit

Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…

New

Qwen2.5-7B-Instruct as GGUF files in eight quantization sizes, to chat with locally through llama.cpp. For people who want a capable 7.6B model on their own co…

New

ACE-Step 1.5 XL SFT

ACE-Step · Kit

Generates music from text with a 4B diffusion decoder, 50 steps and guidance control, aiming for higher audio quality than the base. For creators with a GPU of…

New

Similar in Research

See all in Research

Merlin-Cancer-Super

AbdomenAtlas · Kit

Detects and outlines tumors in 9 organs on CT scans, trained with the R-Super method that learns from radiology reports. A research model for medical imaging g…

New

EarthJev

dBenf · Kit

Answers typed questions about satellite image patches from all 12 Sentinel-2 bands, returning a probability for each option without writing text. A Qwen3.5-0.8…

New

getting-over-it-rl-jax

zimmerk4 · Kit

Plays the full game Getting Over It from the bottom to the end with a small trained policy network that learned inside a JAX physics simulator. For reinforceme…

New