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:/kaggledirectory

- Keep the
pre_processed_train.csvinC:/kaggle/working/Directory.
TO DO List:
Notebook Setup
- Notebook Setup with Reading Dataset Functions
Pre Processing
- Function = Pre Process.
- Function = Split the
bboxvalues to individual columns. - Function = Add images rows to
dfwhich are not having any bouding boxes but are there intraindirectory. Mark those bouding box values to 0. - Function = Add
bbox_areacolumn todfby calculating multiplication ofbbox_widthandbbox_height. - Function = Removes those rows from
dfwhich are havingbbox_areamore than givenarea_thresholdvalue.
Data Augmentation
- Function = Generate Flipped Horizontal Random Images and store to
KAGGLE_WORKINGdirectory and also append rows todfwith thebboxvalues. - Function = Generate Flipped Vertical Random Images and store to
KAGGLE_WORKINGdirectory and also append rows todfwith thebboxvalues. - Function = Generate some zoomed and cropped into
1024x1024resolution images and store toKAGGLE_WORKINGdirectory and also append rows todfwith thebboxvalues.
Data Visualisation
- Function = Create generic function to plot random image samples with bounding boxes
## References