File size: 11,731 Bytes
2976de3 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 |
# FGVC-Aircraft Benchmark
**Fine-Grained Visual Classification of Aircraft (FGVC-Aircraft)** is
a benchmark dataset for the fine grained visual categorization of
aircraft.
* [Data, annotations, and evaluation code](archives/fgvc-aircraft-2013b.tar.gz) [2.75 GB | [MD5 Sum](archives/fgvc-aircraft-2013b.html)].
* [Annotations and evaluation code only](archives/fgvc-aircraft-2013b-annotations.tar.gz) [375 KB | [MD5 Sum](archives/fgvc-aircraft-2013b-annotations.html)].
* Project [home page](http://www.robots.ox.ac.uk/~vgg/data/fgvc-aircraft/).
* This data was used as part of the fine-grained recognition challenge
[FGComp 2013](https://sites.google.com/site/fgcomp2013/) which ran
jointly with the ImageNet Challenge 2013
([results](https://sites.google.com/site/fgcomp2013/results)). Please
note that *the evaluation code provided here may differ* from the
one used in the challenge.
Please use the following citation when referring to this dataset:
*Fine-Grained Visual Classification of Aircraft*, S. Maji, J. Kannala,
E. Rahtu, M. Blaschko, A. Vedaldi, [arXiv.org](http://arxiv.org/abs/1306.5151), 2013
@techreport{maji13fine-grained,
title = {Fine-Grained Visual Classification of Aircraft},
author = {S. Maji and J. Kannala and E. Rahtu
and M. Blaschko and A. Vedaldi},
year = {2013},
archivePrefix = {arXiv},
eprint = {1306.5151},
primaryClass = "cs-cv",
}
For further information see:
* [Quick start](#quick)
* [About aircraft](#aircraft)
* [Data and annotation format](#format)
* [Evaluation](#evaluation)
* [Evaluation metric](#metric)
* [Evaluation code](#code)
* [Ackwonledgments](#ack)
* [Release notes](#release)
**Note.** This data has been used as part of the *ImageNet FGVC
challenge in conjuction with the International Conference on Computer
Vision (ICCV) 2013*. Test labels were not made available until the
challenge due to the ImageNet challenge policy. They have now been
released as part of the download above. If you arelady downloaded the
iamge archive and want to have access to the test labels, simply
download the annotations archive again.
**Note.** Images in the benchmark are generously made available **for
non-commercial research purposes only** by a number of *airplane
spotters*. Please note that the original authors retain the copyright
of the respective photographs and should be contacted for any other
use. For further details see the [copyright note](#ack) below.
# <a id=quick></a> Quick start
The dataset contains 10,200 images of aircraft, with 100 images for
each of 102 different aircraft model variants, most of which are
airplanes. The (main) aircraft in each image is annotated with a tight
bounding box and a hierarchical airplane model label.
Aircraft models are organized in a four-levels hierarchy. The four
levels, from finer to coarser, are:
* **Model**, e.g. *Boeing 737-76J*. Since certain models are nearly visually
indistinguishable, this level is not used in the evaluation.
* **Variant**, e.g. *Boeing 737-700*. A variant collapses all the
models that are visually indistinguishable into one class. The
dataset comprises 102 different variants.
* **Family**, e.g. *Boeing 737*. The dataset comprises 70 different
families.
* **Manufacturer**, e.g. *Boeing*. The dataset comprises 41
different manufacturers.
The data is divided into three equally-sized *training*, *validation*
and *test* subsets. The first two sets can be used for development,
and the latter should be used for final evaluation only. The format of
the data is described [next](#format).
The performance of a fine-grained classification algorithm is
evaluated in term of average class-prediction accuracy. This is
defined as the average of the diagonal of the row-normalized confusion
matrix, as used for example in Caltech-101. Three classification
challenges are considered: variant, family, and manufacturer. An
[evaluation script](#software) in MATLAB is provided.
## <a href=aircraft></a> About aircraft
Aircraft, and in particular airplanes, are alternative to objects
typically considered for fine-grained categorization such as birds and
pets. There are several aspects that make aircraft model recognition
particularly interesting. Firstly, aircraft designs span a hundred
years, including many thousand different models and hundreds of
different makes and airlines. Secondly, aircraft designs vary
significantly depending on the size (from home-built to large
carriers), destination (private, civil, military), purpose
(transporter, carrier, training, sport, fighter, etc.), propulsion
(glider, propeller, jet), and many other factors including
technology. One particular axis of variation, which is is not shared
with categories such as animals, is the fact that the *structure* of
the aircraft changes with their design (number of wings,
undercarriages, wheel per undercarriage, engines, etc.). Thirdly, any
given aircraft model can be re-purposed or used by different
companies, which causes further variations in appearance
(livery). These, depending on the identification task, may be consider
as noise or as useful information to be extracted. Finally, aircraft
are largely rigid objects, which simplifies certain aspects of their
modeling (compared to highly-deformable animals such as cats),
allowing one to focus on the core aspects of the fine-grained
recognition problem.
# <a id=format></a> Data format
The directory `data` contains the images as well as a number of text
files with the data annotations.
Images are contained in the `data/images` sub-directory. They are in
JPEG format and have a name composed of seven digits and the `.jpg`
suffix (e.g. `data/images/1187707.jpg`). The image resolution is about
1-2MP. Each image has at the bottom a banner 20 pixels high containing
[copyright](#ack) information. Please make sure to remove this banner
when using the images to train and evaluate algorithms.
The annotations come in a number of text files. Each line of these
files contains an image name optionally followed by an image
annotation, either a textual label or a sequence of numbers.
`data/images_train.txt` contains the list of training images:
<pre>
0787226
1481091
1548899
0674300
...
</pre>
Similar files `data/images_val.txt` and `data/images_test.txt` contain the list
of validation and test images.
`data/images_variant_train.txt`, `data/images_family_train.txt`, and
`data/images_manufacturer_train.txt` contain the list of training
images annotated with the model variant, family, and manufacturer
names respectively:
<pre>
0787226 Abingdon Spherical Free Balloon
1481091 AEG Wagner Eule
1548899 Aeris Naviter AN-2 Enara
0674300 Aeritalia F-104S Starfighter
...
</pre>
Similar files are provided for the validation and test subsets.
Finally, `data/images_box.txt` contains the aircraft bounding
boxes, one per image. The bounding box is specified by four numbers:
*xmin*, *ymin*, *xmax* and *ymax*. The top-left pixel of an image has
coordinate (1,1).
# <a id=evaluation></a> Evaluation
The performance of a classifier is measured in term of its average
classification accuracy, as detailed next.
## <a id=metric></a> Evaluation metric
The output of a classification algorithm must be a list of triplets of
the type (*image*,*label*,*score*), where
* *image* is an image label, i.e. a seven-digit number,
* *label* is an image label, i.e.. an aircraft model variant, family, or manufacturer, and
* *score* is a real number expressing the belief in the judgment.
When computing the classification accuracy, an image is assigned the
label contained in its highest-scoring triplet. An image that has no
triplets is considered unclassified and always count as a
classification error (therefore it is better to guess at least one
label for each image rather than leaving it unclassified).
The quality of the predictions is measured in term of *average
accuracy*, obtained as follows:
* The confusion matrix is square, with one row per class.
* Each element of the confusion matrix is the number of time aircraft
of a given class (specified by the row) are classified as a second
class (column). Ideally, the confusion matrix should be diagonal.
* The confusion matrix is row-normalized by the number of images of
the corresponding aircraft class (each row therefore sums to one if
there are no unclassified images).
* The average accuracy is computed as the average of the diagonal of
the confusion matrix.
There are three challenges: classifying the aircraft variant, family, and manufacturer.
## <a id=code></a> Evaluation code
The evaluation protocol has been implemented in the MATLAB m-file
`evaluation.m`. This function takes the path to the `data` folder, a
composite name indicating the evaluation subset and challenge
(e.g. `'manufacturer_test'` or `'family_val'`), and the list of
triplets, and returns the confusion matrix. For example
<pre>
images = {'2074164'} ;
labels = {'McDonnell Douglas MD-90-30'} ;
scores = 1 ;
confusion = evaluate('/path/fgcv-aircraft/data', 'test', images, labels, scores) ;
accuracy = mean(diag(confusion)) ;
</pre>
evaluates a classifier output containing exactly one triplet (image,
label, score), where the image is `'2074164'`, its predicted class is
`'McDonnell Douglas MD-90-30'`, and the score of the prediction is
`1`. In practice, a complete set of predictions (one for each
image-class pair) is usually evaluated.
See the builtin help of the `evaluation` MATLAB functions for further
practical details. See also `example_evaluation.m` for examples on how
to use this function.
# <a id=ack></a> Acknowledgments
The creation of this dataset started during the *Johns Hopkins CLSP
Summer Workshop 2012*
[Towards a Detailed Understanding of Objects and Scenes in Natural Images](http://www.clsp.jhu.edu/workshops/archive/ws-12/groups/tduosn/)
with, in alphabetical order, Matthew B. Blaschko, Ross B. Girshick,
Juho Kannala, Iasonas Kokkinos, Siddharth Mahendran, Subhransu Maji,
Sammy Mohamed, Esa Rahtu, Naomi Saphra, Karen Simonyan, Ben Taskar,
Andrea Vedaldi, and David Weiss.
The CLSP workshop was supported by the National Science Foundation via
Grant No 1005411, the Office of the Director of National Intelligence
via the JHU Human Language Technology Center of Excellence; and Google
Inc.
A special thanks goes to Pekka Rantalankila for helping with the
creation of the airplane hieararchy.
Many thanks to the photographers that kindly made available their
images for research purposes. Each photographer is listed below, along
with a link to his/her [airlners.net](http://airliners.net) page:
* [Mick Bajcar](http://www.airliners.net/profile/dendrobatid)
* [Aldo Bidini](http://www.airliners.net/profile/aldobid)
* [Wim Callaert](http://www.airliners.net/profile/minoeke)
* [Tommy Desmet](http://www.airliners.net/profile/tommypilot)
* [Thomas Posch](http://www.airliners.net/profile/snorre)
* [James Richard Covington](http://www.airliners.net/profile/lemonkitty)
* [Gerry Stegmeier](http://www.airliners.net/profile/stegi)
* [Ben Wang](http://www.airliners.net/profile/aal151heavy)
* [Darren Wilson](http://www.airliners.net/profile/dazbo5)
* [Konstantin von Wedelstaedt](http://www.airliners.net/profile/fly-k)
Please note that the images are made available **exclusively for
non-commercial research purposes**. The original authors retain the
copyright on the respective pictures and should be contacted for any
other usage of them.
# <a id=release></a> Release notes
* *FGVC-Aircraft 2013b* - The same as 2013a, but with test annotations included.
* *FGVC-Aircraft 2013a* - First public release of the data.
|