Round 1: Completed #educational Weight: 30.0


Farming time ! Reckon barrels, Count the pigs


πŸ•΅οΈ Introduction

A popular method to tackle insomnia used to be counting sheep to fall asleep. While we are not trying to put you to sleep, we do have an AI twist of that practice! 

Can your AI model count pigs and barns from a given image?

πŸ€” Problem Statement

The task is to count the number of hay barrels and pigs in a given farm scenes. Along with the images of the farm scenes, segmentation images of hay barrels in the farm are also provided for each image in the training dataset. However no segmentation maps exist for those little pigs, so they are going to be a challenge to count. 

Understand with code! Here is getting started code for you.πŸ˜„

πŸ’Ύ Dataset

The dataset consists of 1000 images of farms wherein each image there are some hay barrels and pigs present in the farm scene.

πŸ“ Files


Following files are available in the resources section:

  • train.zip  - (500 samples) This zip contains two folders (images and segmentation_maps) where images correspond to images of the farm scenes and segmentation_maps contain corresponding segmented images of barrels. Along with this, there is meta-data.csv which contains barrels and pig counts under headers barrels_count, pigs_count respectively.
  • test.zip - (500 samples) This zip file only contains images corresponding to farm scenes for which barrels and pig count have to be predicted.

πŸš€ Submission

  • You need to submit a CSV file containing headers filename, barrels_count, pigs_count.
  • Sample submission format available at sample_submission.csv in the resources section. Note keep the order of filename in submission.csv file same as that of given in  sample_submission.csv.

πŸ–Š Evaluation Criteria

  • The primary score will be counted as the accuracy of predicted barrel counts.
  • The accuracy of predicted pigs count will be treated as a secondary score.


πŸ“± Contact

πŸ“š References


See all
Baseline for Hey Barrels Challenge
Over 3 years ago