Install these toolboxs from MatlabR2018b app manager directly. A cuda-avilable gpu is auto used in matlab. Make sure you have a GPU, cpu train is very slow.
Screenshots
Introduction
This project include 3 parts.
Preprocess
Image Enhancement
Ship Detection
Preprocess: denoise(medfilt), motionclear(winner filter), compress(wavelet compress) Enhancement: DCT, Color based Ship Detection: Faster-rcnn
Run
download MASTAI and airbus-ship-detection-data, extract to any place. (MASTAI only have main class label without mask. Kaggle airbus data are used to train faster-rcnn.)
add this project to path.
Modify line7-line9 in FasterRcnn/train_faster_rcnn.m according to your dataset's place, train faster-rcnn and use FasterRcnn/test_faster_rcnn.m to test the model.(Install resnet50 according to the tip.)
Test the model's preformance on MASTAI by using test_another_dataset.m.(modify line 5 and line 12.)