GithubHelp home page GithubHelp logo

bristolgorillas2020's Introduction

BristolGorillas2020

Introduction

An image dataset for the facial recognition of western lowland gorillas (Gorilla gorilla gorilla): the dataset comprises 5k+~facial bounding box annotations across a troop of 7 gorillas at Bristol Zoo Gardens.

Image

The reported results were produced using the darknet implementation of YOLOv3. The precise implementation can be found here.

Dataset details and structure

Prerequisites

  • The dataset is stored using Git Large File Storage and this need to be installed (instructions can be found here) before the repository can be cloned (downloading the repository as a zip file won't work, unfortunately).
  • To reproduce the results the forked darknet repository will need to be installed. I have provided the neccessary files to evaluate the network once this has been done. The darknet_files directory includes the yolo-obj.cfg, obj.names, obj.data, train.txt, test.txt and .weights files that are needed. The How to train (to detect your custom objects) section of the darknet repository will tell you where to put these files. Once the files are in the correct location run darknet.exe detector map data/obj.data yolo-obj.cfg backup\yolo-obj_best.weights from the directory where the darknet executable file is located - this will produce the desired mAP calculation. For more details on evaluation refer to the When should I stop training section (specifically subsection 2.2).

Images, Annotations & Network Weights

  • The images/ directory contains all of the data and is already split into train/ and test/ sets.
  • Each of the splits has a subdirectory for each gorilla (for example, afia/, jock/ or kala/.
  • Each of the gorilla directories contains both images and annotations; this is because the darknet framework requires that images and annotations be placed in the same directory at training time.
  • All images are JPEG format (.jpg)
  • Annotations are text files (.txt)
  • Annotation format: <class> <x> <y> <width> <height>
    • <class> = integer representing the object class
    • <x> = x-coordinate of the centre of the objects' bounding box
    • <y> = y-coordinate of the centre of the objects' bounding box
    • <width> = width of the bounding box
    • <height> = height of the bounding box

AlexeyAB's comment on this Github issue is very useful in providing clarification on the annotation format.

The network weights are .weights files (a custom darknet format) and can be found in the network_weights/ directory

Videos [Coming Soon!]

  • The videos/ directory contains all the videos in the dataset.
  • Each gorilla has a directory (for example, afia/, jock/ or kala/) and many subdirectories (for example, afia/afia-2-2 or kala/kala-0-4)
  • The suffix ie -2-2 of the subdirectories originally related to the video number and the week from which the video footage was gathered, respectively
  • Within the subdirectory there is the video file of the same name (for example afia-2-2/ will contain the video afia-2-2.mp4) and the annotation file.
  • All video files are MPEG-4 Part 14 .mp4
  • The annotation files are .txt and have the same format as the image annotations (described above).
  • The annotation is named after the frame for which an annotation exists (for example frame186.txt). That is, the class and bounding box coordinates relate only to the 186th frame of the video (although it is likely it would still be relevant for the frames immediately either side).

Citation

This work was presented at the Visual observation and analysis of Vertebrate And Insect Behaviour workshop at the International Conference on Pattern Recognition (ICPR 2020). If you use this work as part of your research, please cite A Dataset and Application for Facial Recognition of Individual Gorillas in Zoo Environments.

@misc{brookes2020BristolGorillas,
      title={A Dataset and Application for Facial Recognition of Individual Gorillas in Zoo Environments}, 
      author={Otto Brookes and Tilo Burghardt},
      year={2020},
      maintitle={International Conference on Pattern Recognition 2020},
      booktitle={Workshop on the Visual Observation and Analysis of Vertebrate and Insect Behaviour},
      eprint={2012.04689},
      archivePrefix={arXiv},
      primaryClass={cs.CV}
}

Acknowledgements

We would like to acknowledge the contributions of our collaborators for their help in facilitating the technical innovation described in this paper. Specifically, we’d like to thank the other members of the Gorilla Game Lab team, Dr Fay Clark, Dr Katy Burgess, Dr Peter Bennett, and Dr Stuart Gray for their efforts. We would also like to extend our thanks to the staff at Bristol Zoo Gardens, most notably to the keepers, and to Betty Roberts.

Contact

If you require any assistance or are interested in this research, please do not hesitate to email me.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.