Skip to content
This repository was archived by the owner on Jan 30, 2024. It is now read-only.
/ abrams_yolo_v2 Public archive

I trained a custom set of YOLO v2 weights to detect M1A1 Abrams tanks to aid in end-use weapons monitoring and the tracking of military equipment.

Notifications You must be signed in to change notification settings

mpky/abrams_yolo_v2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 

Repository files navigation

YOLOv2 Applied to M1 Abrams Tanks

Project Goal

Using thrieu's darkflow, I trained a custom set of YOLOv2 weights to detect and highlight M1 Abrams tanks in a given image or video. This project is a continuation of my previous project, where I built an image classifier to detect M1 Abrams tanks in a given image.

Motivation

The massive amount of photos and videos uploaded to social media today from conflict zones has provided opportunities for creative and new types of research and analysis. Experts such as those at Bellingcat and Armament Research Services have proven the power of this new type of open-source information in their analysis on everything from chemical weapons attacks to the capabilities of various armed opposition groups in Syria.

In some cases, these arms control experts spend hours sifting through battlefield footage and pictures to assess what types of weapons each combatant is using. This work is essential in ensuring that weapons legally sold or transferred from one country to another are not then sold or otherwise transferred to potentially unintended third-party users.

One of the more alarming such incidents occurred in Iraq in 2015 when Kata'ib Hezbollah, an Iraqi Shia militia group sanctioned as a terrorist organization by the US Treasury, uploaded a video to YouTube showing that an M1 Abrams tank had come into their possession. The United States had sold these main battle tanks to the Iraqi Army over the past decade, but it is unclear then how Kata'ib Hezbollah came to be in possession of one of them.

A YOLO model trained on images of high-risk weapons systems, in this case, M1 Abrams tanks, can help open source arms trackers monitor end-user issues and accelerate their research process.

Data

I used the Fatkun Batch Download Image extension for Google Chrome to download the results of a Google Image search. The resulting dataset required manual cleaning as the downloader is rather brute force and Google Image searches were often polluted with images of non-Abrams tanks. In total, I have 1291 images of M1 Abrams tanks that I manually annotated with the RectLabel app.

Training

I trained the model for 5125 steps/64 epochs using Google Colaboratory's free GPU compute. The model's loss leveled off around 1.5.

Results

The model is able to detect M1 Abrams in all of the test photos, although with a low degree of confidence.

Sample Image Result:

download (5)

Video Results:

https://youtu.be/TGagMXkKJ4E

https://youtu.be/S9IXBASPzag

About

I trained a custom set of YOLO v2 weights to detect M1A1 Abrams tanks to aid in end-use weapons monitoring and the tracking of military equipment.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published