kaggle-global-wheat-detection
Kaggle Competition - Global Wheat Detection - https://www.kaggle.com/c/global-wheat-detection
Preparing for Development
- Download All Dataset from competition
- Extract the data and create the structure as per follows in
C:/kaggle
directory
- Keep the
pre_processed_train.csv
inC:/kaggle/working/
Directory.
TO DO List:
Notebook Setup
- Notebook Setup with Reading Dataset Functions
Pre Processing
- Function = Pre Process.
- Function = Split the
bbox
values to individual columns. - Function = Add images rows to
df
which are not having any bouding boxes but are there intrain
directory. Mark those bouding box values to 0. - Function = Add
bbox_area
column todf
by calculating multiplication ofbbox_width
andbbox_height
. - Function = Removes those rows from
df
which are havingbbox_area
more than givenarea_threshold
value.
Data Augmentation
- Function = Generate Flipped Horizontal Random Images and store to
KAGGLE_WORKING
directory and also append rows todf
with thebbox
values. - Function = Generate Flipped Vertical Random Images and store to
KAGGLE_WORKING
directory and also append rows todf
with thebbox
values. - Function = Generate some zoomed and cropped into
1024
x1024
resolution images and store toKAGGLE_WORKING
directory and also append rows todf
with thebbox
values.
Data Visualisation
- Function = Create generic function to plot random image samples with bounding boxes
## References