Skip to content

ishraq10199/FireAssist_POC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Mask R-CNN, Finetuned for the FireAssist project

This project marks the first POC of the FireAssist project, which does not reflect the current status of the project, which is confidential in nature. The aim of the project was to automate the score and accuracy calculation from a soldier's firearm usage on a 🎯 "bullseye" target. This repository serves as a proof-of-concept for the image segmentation part of the pipeline (see ASCII diagram below for more details).

The project was split into two main parts:

  1. Mask segmentation - This repository
  2. Bullet hole detection and decision inference (BulletsAPI) - CONFIDENTIAL

The main pipeline was structured in this format:

                                                  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”   β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
 β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”                        β”‚   Firing score and    β”‚   β”‚Verdict on performance β”‚
 β”‚     Raw Image of      β”‚                        β”‚       accuracy        β”‚   β”‚and possible issues forβ”‚
 β”‚ Target + Environment  β”‚                        β”‚                       β”‚   β”‚     future action     β”‚
 β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜                        β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–²β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜   β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–²β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
             β”‚                                                β”‚                           β”‚            
             β”‚Mask R-CNN inference                            β”‚                           β”‚            
             β”‚                                                β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜            
 β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”                                                  β”‚                          
 β”‚    Segmented Image    β”‚                                Use the provided  β”‚  Use a multi-class       
 β”‚                       β”‚                                formula to        β”‚  classifier ML model     
 β”‚(Skewed circle target) β”‚                                calculate score   β”‚  to get verdict on       
 β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜                                                  β”‚  firer (e.g. need        
             β”‚                                                              β”‚  training, possible      
             β”‚Image processing and                                          β”‚  injury, etc.)           
             β”‚co-ordinate math                                              β”‚                          
             β”‚                                                              β”‚                          
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”                                   β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”              
β”‚      Square Image       β”‚  (Confidential part starts here)  β”‚Bullet hole co-ordinates β”‚              
β”‚                         β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Ά     on square image     β”‚              
β”‚(perfect circular target)β”‚   Bullets API scans the image,    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜              
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜   and runs object detection to                                             
                              find bullet holes                                                        

How to navigate the repository

The repository itself is mostly code by matterport, but the files of concern are:

Please keep in mind that at the time of the last changes done to the file, the training set was too small, so the data may be prone to overfit. It served well as a proof-of-concept nonetheless. The project was likely put through more iteration and refined for the stakeholders' use by now, but I do not have visibility of that.

Below, the source project by matterport is added for quick reference: https://github.com/matterport/Mask_RCNN

About

The initial proof-of-concept for the FireAssist project's image segmentation module. FireAssist is a deep learning system for automated bullet detection and soldier performance evaluation. 🎯

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages