Skip to content

Latest commit

 

History

History
249 lines (184 loc) · 10.4 KB

File metadata and controls

249 lines (184 loc) · 10.4 KB

🎯 Jabarjast Shooting Scorer – Digital Target Machine

A professional-grade digital target scoring system for 10m Air Rifle shooting — built from scratch with custom Raspberry Pi 4 hardware and a full desktop PC application. More accurate and reliable than systems currently used in Indian shooting clubs.


📸 Screenshots

Start Match_Screen Random_Shot

🏆 Overview

Jabarjast Shooting Scorer is a complete hardware + software solution that replaces manual target scoring in competitive Air Rifle shooting. A Raspberry Pi 4 with camera detects exactly where each bullet hits the target in real time, and the PC desktop application built with Electron.js displays the score instantly with full match management.

Electronic target systems used in Indian shooting clubs are either too expensive or imported from other countries — putting them out of reach for most clubs and individual shooters. Jabarjast Shooting Scorer solves this with a Made in India, low-cost, high-accuracy alternative built on Raspberry Pi 4 with custom mathematical algorithms for precise shot detection.

Built by a national-level Air Rifle competitor to solve a real problem — currently actively used at CRSC Club for training and competition. Designed to be shooter-friendly, club-friendly, and easy to use for everyone.


🇮🇳 Why This Matters

Most shooting clubs in India cannot afford imported electronic target systems. The ones that can afford them depend on foreign manufacturers for support and spare parts.

Jabarjast Shooting Scorer changes this:

  • 🏭 Made in India — built entirely with locally available hardware
  • 💰 Fraction of the cost — Raspberry Pi 4 vs expensive imported systems
  • 🎯 High accuracy — custom mathematical algorithms for precise shot coordinate detection
  • 🔧 Easy to maintain — any local technician can repair or replace components
  • 🤝 Club & shooter friendly — designed with real shooter feedback, not corporate specs
  • 📦 Complete ecosystem — hardware + software + match management all in one
  • 🇮🇳 Atma Nirbhar Bharat — reducing dependency on imported sports technology

✨ Features

  • 🎯 Real-time shot detection — Raspberry Pi 4 camera detects bullet impact position instantly
  • 📊 Live score display — score shown immediately after each shot (e.g. 9.6, 9.7, 10.0)
  • Inner 10 detection — automatically identifies and marks Inner 10 shots with star rating
  • 📈 Series tracking — tracks performance across multiple series (10 shots each)
  • 🗺️ Shot grouping visualization — color-coded shot positions displayed on target diagram
  • 📋 Match management — full match control with pause, resume, and series navigation
  • 📄 Reports generation — detailed match reports for performance analysis
  • ⏱️ Shot interval & time series — timing analysis between shots
  • 🏛️ Club management — supports multiple club profiles (e.g. CRSC Club)
  • 💾 Match history — stores and retrieves past match data
  • 🖥️ Desktop app — runs on Windows PC, no internet required

🛠️ Tech Stack

Layer Technology
Hardware Raspberry Pi 4
Detection Camera Module + C++ image processing
Desktop App Electron.js
Frontend UI React + TypeScript
Build Tool Webpack
Database Local (SQLite/JSON)
Platform Windows Desktop

🏗️ System Architecture

[Air Rifle Target]
       │
       ▼
[Raspberry Pi 4 + Camera] ──► [C++ Image Processing] ──► [Shot Detection & Coordinates]
                                                                      │
                                                                      ▼
                                                        [Electron.js Desktop App]
                                                                      │
                                              ┌───────────────────────┼───────────────────┐
                                              ▼                       ▼                   ▼
                                    [Target Visualizer]      [Score Display]      [Match Manager]

🎮 How It Works

  1. Raspberry Pi 4 with camera module is mounted facing the target
  2. C++ image processing detects the bullet hole position with high precision
  3. Shot coordinates are sent to the Electron.js desktop application in real time
  4. The app calculates the exact score (e.g. 9.6, Inner 10) based on hole position
  5. Shot is displayed on the target visualization with its number and position
  6. Series scores are tracked and totalled automatically
  7. Coach or athlete can view reports, shot intervals, and time series analysis at any time

📊 Scoring System

Zone Score
Bullseye (Inner) 10.9
10 Ring 10.0 – 10.8
9 Ring 9.0 – 9.9
8 Ring 8.0 – 8.9
... ...
  • Inner 10 automatically flagged with gold star
  • 🔴 Current shot highlighted in red
  • 🟢 Previous shots shown in green with shot number

🧮 Algorithm & Accuracy

The shot detection system uses custom mathematical algorithms for high-precision bullet hole coordinate detection:

  • Camera captures the target after each shot
  • Image processing isolates the new bullet hole from previous shots
  • Mathematical calculations convert pixel coordinates to exact ring position
  • Score is calculated to one decimal place (e.g. 9.6, 10.3)
  • Inner 10 detection uses precise radius thresholds
  • Algorithm is optimized for accuracy under different lighting conditions

This approach achieves accuracy comparable to expensive imported systems at a fraction of the cost.


⚠️ Current Limitations & Roadmap

Current Version — Camera Based

The current version uses a Raspberry Pi 4 camera for shot detection. While functional and accurate, this has known limitations compared to professional systems used by NRAI:

  • Sensitive to lighting conditions
  • Requires careful camera positioning and calibration
  • Different from the acoustic/optical sensor systems used in official competitions

This was an acknowledged tradeoff — camera approach chosen due to budget constraints as a solo student developer with no team and no external funding.

🚀 Next Version — In Development

Currently working on a non-camera based detection system closer to NRAI-standard electronic targets:

  • Acoustic or optical sensor-based bullet detection
  • More reliable under all lighting conditions
  • Closer to international competition standards

A single student with no budget built something that works. The journey to make it world-class continues.


  • Raspberry Pi 4 (4GB or 8GB recommended)
  • Raspberry Pi Camera Module
  • 10m Air Rifle Target (standard ISSF)
  • Windows PC for desktop application
  • Network connection between Pi and PC (LAN/WiFi)
  • Power supply for Raspberry Pi

🚀 Getting Started

Hardware Setup

  1. Mount Raspberry Pi 4 with camera facing the target
  2. Calibrate camera position for accurate shot detection
  3. Connect Raspberry Pi to the same network as PC
  4. Run C++ detection script on Raspberry Pi

PC App Setup

git clone https://github.com/Jageshwar01/Digital-Target-Machine.git
cd Digital-Target-Machine
npm install
npm start

Build for Production

npm run build
npm run electron-build

📊 Project Status

Component Status
Raspberry Pi 4 Hardware Setup ✅ Complete
C++ Shot Detection ✅ Complete
Electron.js Desktop App ✅ Complete
Real-time Score Display ✅ Complete
Inner 10 Detection ✅ Complete
Series & Match Tracking ✅ Complete
Reports Generation ✅ Complete
Shot Interval Analysis ✅ Complete
Club Management ✅ Complete
Field Testing at CRSC Club ✅ Complete & In Active Use

🆚 Jabarjast vs Current Solutions in India

Feature Jabarjast Shooter Manual Scoring Imported Electronic Targets
Score display speed Instant 30–60 seconds Instant
Accuracy High — custom math algorithms Human eye estimation High
Shot visualization Full digital target Physical paper Yes
Series tracking Automatic Manual calculation Yes
Reports Auto generated Manual writing Yes
Cost Very low (Raspberry Pi) Nil Very expensive
Made in India ✅ Yes ❌ No
Club affordable ✅ Yes ✅ Yes ❌ No
Local maintenance ✅ Easy ✅ Easy ❌ Difficult
Custom algorithm ✅ Yes Unknown

🌍 Impact

  • Actively deployed and used at CRSC Club for real training sessions
  • Provides high accuracy shot detection using custom mathematical algorithms — comparable to expensive imported systems
  • Made in India at a fraction of the cost of foreign electronic target systems
  • Makes professional-grade target scoring accessible to every shooting club in India
  • Reduces India's dependency on imported shooting sports technology
  • Built by a Gold Medal state-level and national-level Air Rifle competitor who understands exactly what shooters and clubs need
  • Designed with a complete ecosystem — hardware, software, match management, and reports — all in one affordable package

👨‍💻 Developer

Jageshwer Vishwakarma


📄 License

This project is open source and available under the MIT License.


Built by a shooter, for shooters. If this helped your club, give it a ⭐