Skip to content

Latest commit

ย 

History

31 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Real-Time Object Detection and Live Stream Analysis Using Jetson Nano

๐ŸŽฏ MINI PROJECT

๐Ÿ‘ฅ TEAM MEMBERS

  • Ganesh Patidar (20214061)
  • Hardik Kumar Singh (20214249)
  • Divyanshu (20214317)
  • Harsh Dave (20214534)

๐Ÿ“Œ CONTENTS


๐Ÿ“ข Problem Statement

  • Livestream Camera Integration with Jetson Nano Hardware
  • Object Detection on Images, Videos, and Livestream Feeds

๐Ÿ“– Introduction

This project implements a real-time object detection system using Jetson Nano, leveraging deep learning algorithms for accurate and efficient object classification. It enhances surveillance, security, and operational efficiency in various applications.

๐Ÿ’ก Motivation

The inspiration for this project stems from the critical need to improve security measures in public transport systems. By leveraging real-time CCTV feeds, we aim to provide an automated surveillance system that ensures passenger safety, particularly for vulnerable groups. Our goal is to enable authorities to detect potential security threats proactively.

๐Ÿš€ Applications

  • Surveillance and Security Systems
  • Traffic Management
  • Retail Analytics
  • Industrial Automation
  • Smart Cities
  • Environmental Monitoring

๐Ÿ” Proposed Work

  • Jetson Nano Setup
  • Live Stream Implementation
  • Data Collection & Model Training
  • Evaluation of Object Detection Models
  • Performance Analysis of Different Models

๐Ÿ›  Experimental Setup

1๏ธโƒฃ Setting Up Jetson Nano

  • Flashed the NVIDIA OS using Balena Etcher.
  • Installed JetPack SDK 4.4.0 for development.
  • Booted Jetson Nano and configured the environment.

2๏ธโƒฃ Live Streaming Implementation

  • Utilized OpenCV with CUDA for optimized real-time video processing.
  • Enabled efficient video capture and frame-by-frame object detection.

3๏ธโƒฃ Data Collection & Model Training

  • Collected data using simple_image_download.
  • Labeled images using labelImg.
  • Trained a YOLOv7 model using Google Colab for improved computational performance.

4๏ธโƒฃ Evaluation of Object Detection Models

  • Compared TensorFlow Model Zoo models:
    • SSD ResNet50 640x640
    • CenterNet ResNet101 FPNv1 512x512
  • Evaluated based on mean Average Precision (mAP) and inference time.

5๏ธโƒฃ Performance Metrics

  • Precision = TP / (TP + FP)
  • Recall = TP / (TP + FN)
  • mAP = Average of AP across all classes

๐Ÿ“Š Result Analysis

โœ… Accuracy Comparison

Model mAP (Accuracy)
CenterNet ResNet-101 Low
SSD ResNet-50 Moderate
YOLOv7 (Custom) High

โšก Inference Time Trade-offs

  • Fastest: CenterNet ResNet-101 (Low accuracy, high speed)
  • Balanced: SSD ResNet-50 (Moderate speed & accuracy)
  • Most Accurate: YOLOv7 (High accuracy, slower inference)

๐Ÿ“ท Example Results

Comparison Graph

Result Image_1

Result Image_2

Result Image_3

Result Image_4

๐Ÿ›‘ Challenges

  • Proxy Configuration Issues
  • Package Installation Errors
  • SSL Wrong Version Number
  • Python Version Conflicts
  • Extended Training Time
  • Jetson Nano Compatibility Issues
  • Unexpected Shutdowns During Execution

๐Ÿ”ฎ Future Work

  • Performance Optimization
  • Cloud Integration
  • Real-time Alerts & Notifications
  • Enhanced User Interface
  • IoT Device Integration

๐Ÿ“š References

  1. Abadi, M. et al. TensorFlow Model Zoo
  2. Liu, W., Anguelov, D., et al. SSD: Single Shot Multibox Detector, ECCV (2016)
  3. Redmon, J., et al. YOLO: Unified, Real-Time Object Detection, IEEE TPAMI (2016)
  4. Wang, J., et al. YOLOv7: Trainable Bag of Freebies, IEEE TPAMI (2021)
  5. PyTorch for Jetson

๐Ÿš€ Thank you! We appreciate your time in reviewing our project! ๐ŸŽฏ


๐Ÿ‘จโ€๐Ÿ’ป Author

Built with ๐Ÿ’ป by Hardik Kumar Singh.

Feel free to check out my GitHub Profile for more backend engineering projects, or connect with me via my Portfolio.

About

Real-time object detection and live stream analysis using Jetson Nano with TensorFlow Centernet ResNet_101 model, OpenCV, and RTSP stream integration.

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages