IdeaCredIdeaCred

3liYounis/Theft-Detection-System

44

Computer Vision & Deep Learning models for tracking user behavior in shops, predicting real-time probability of shoplifting and enables instant alerts to a mobile app. The full report includes information about the thief extracted by the facial encoding and with the help of Face Recognition pre-built model.

What's novel

Computer Vision & Deep Learning models for tracking user behavior in shops, predicting real-time probability of shoplifting and enables instant alerts to a mobile app. The full report includes information about the thief extracted by the facial encoding and with the help of Face Recognition pre-built model.

Code Analysis

9 files read · 3 rounds

A real-time video surveillance pipeline that uses YOLOv8 for person detection, MediaPipe for pose extraction, a 3-layer LSTM for temporal theft behavior classification, and InsightFace for suspect identification, with Firebase alerting.

Strengths

The feature engineering is thoughtful and domain-appropriate (torso-normalized joint positions, hand-to-hip distances, elbow velocity/acceleration), and the training pipeline is well-structured with proper data splits, class weighting, and comprehensive evaluation metrics.

Weaknesses

Critical bugs exist (video_path never passed to pipeline, per-person model loading is a performance disaster, missing Firebase service crashes the alert module), there are no meaningful tests, and the code has duplicate blocks and inconsistent path handling that suggest it was assembled quickly without integration testing.

Score Breakdown

Innovation
4 (25%)
Craft
34 (35%)
Traction
9 (15%)
Scope
50 (25%)

Signal breakdown

Innovation

Not Fork+1
Code Novelty+1
Concept Novelty+1

Craft

Ci-3
Tests-4
Polish+0
Releases+0
Has License+0
Code Quality+12
Readme Quality+15
Recent Activity+7
Structure Quality+5
Commit Consistency+5
Has Dependency Mgmt+5

Traction

Forks+0
Stars+6
Hn Points+0
Watchers+3
Early Traction+0
Devto Reactions+0
Community Contribs+2

Scope

Commits+8
Languages+3
Subsystems+5
Bloat Penalty+0
Completeness+6
Contributors+7
Authored Files+8
Readme Code Match+3
Architecture Depth+7
Implementation Depth+8

Evidence

Commits

58

Contributors

3

Files

26

Active weeks

14

TestsCI/CDREADMELicenseContributing

Repository

Language

Python

Stars

1

Forks

0

License