<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Fish species recognition from video using SVM classi er</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Katy Blanc</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Diane Lingrand</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Frederic Precioso</string-name>
          <email>precioso@i3s.unice.fr</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Univ. Nice Sophia Antipolis</institution>
          ,
          <addr-line>I3S, UMR 7271, 06900 Sophia Antipolis</addr-line>
          ,
          <country country="FR">France</country>
          <addr-line>CNRS, I3S, UMR 7271, 06900 Sophia Antipolis</addr-line>
          ,
          <country country="FR">France</country>
        </aff>
      </contrib-group>
      <fpage>778</fpage>
      <lpage>784</lpage>
      <abstract>
        <p>For this rst edition of LifeCLEF sh identi cation, we have built a processing chain based on background extraction, selection and description of keypoints with an adaptive scale and learning of each species by a binary linear SVM classi er. From the foreground segmentation, we have extracted several groups of blobs, representing a sh each. We have submitted three runs for di erent blob sizes and associations.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
    </sec>
    <sec id="sec-2">
      <title>Detection and Identi cation Method</title>
      <p>Our processing chain starts with a background-foreground segmentation from
motion detection (see gure 1).
2.1</p>
      <sec id="sec-2-1">
        <title>Background and motion detection</title>
        <p>
          For this rst step, an adaptive background mixture model [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ] is built. This
method consists in assuming that each pixel in the scene is modeled by a
mixture of many Gaussian distributions and then each pixel of the background is
computed with the distributions with the smallest tness value. Finally a
background subtraction is performed by marking as a foreground pixel, any pixel
that is over 2.5 times any standard deviation of any background distribution.
We end up with a mask for the motion detection that we rst erode and then
dilate to de ne blobs of detected moving objects.
        </p>
      </sec>
      <sec id="sec-2-2">
        <title>Points of interest and their descriptions</title>
        <p>The XML metadata provided with the training set de ne the bounding boxes
of annotated shes, so we extract keypoints in these bounding boxes ( gure 2).
Speci cally, these keypoints are located at the center of the given bounding box
and several scales are set for the keypoint descriptor so that the resulting set
of keypoints describe the whole sh. The initial scale is set to t the size of
the bounding box, the other scales are sequentially incremented from the initial
center. To detect a sh with a part of it, the head or the tail, we also slightly
shift the central initial keypoint to the left and the right of the bounding box
in a spatial-pyramid-like technique. We adopt this strategy of large keypoint
descriptors owing to the low resolution of the videos.</p>
        <p>
          The OpponentSift schema [
          <xref ref-type="bibr" rid="ref5">5</xref>
          ] is used to describe these keypoints. The o ine
part of our processing chain ends here and we will now explain the online part
of the system: analyzing a test video.
        </p>
      </sec>
      <sec id="sec-2-3">
        <title>Background description, ltering and learning</title>
        <p>Since the training distribution must be the same as the test distribution in a
supervised learning process, we decide to train a SVM classi er with some
OpponentSift descriptors from the video background as negative training samples.
The SIFT detector did not give us enough keypoints owing to the low resolution.
Thus we choose to densely extract keypoints with approximately same scales as
the scales of the training keypoints. Speci cally, we have extracted keypoints
with xed scales from 30 to 110 pixels of diameter with respect to the size of the
video.</p>
        <p>To ensure the de nition of the background, these keypoints were located in the
still areas of the motion mask (black areas on gure 1).</p>
        <p>For most of the training bounding boxes, part of the background is inside.
Thus, before training, we lter the keypoints inside the bounding boxes (which
should then be considered as positive training samples of the associated sh):
For each one of these keypoints we look for its 10 nearest neighbors and remove
any keypoint from the bounding box with more negative neighbors (keypoints
from the background not in bounding boxes from the same video) than positive
ones (keypoints from other bounding boxes on the same video).</p>
        <p>Then, for each species, we train a linear SVM classi er with the species
keypoints descriptors as positive samples and the aforementioned ltered
background descriptors as negative examples.</p>
        <p>We have hence done the rst row of our processing chain during the query
video classi cation.
First of all, we segment the motion mask to di erentiate each blob. Then, for
each blob, the centered and shifted keypoints are extracted with several scales
( xed scales from 30 to 110) and their scores are computed by each species SVM
classi er. This score represents the distance between the current descriptor and
the SVM decision boundary with the sign of the selected class. Only positively
classi ed points with a distance larger than 0.5 are considered. For a blob, we
sum up the score over each keypoint associated with each species in order to
obtain a global score per species. Then, the list of potential species is given by
decreasing scores. For our bounding box construction, we frame every keypoint
with respect to its scale and associate the species classi ed with the highest score
( rst species from the list).</p>
        <p>Finally, we submitted three runs:
1. The rst one with the blobs computed from the mask segmentation.
2. For the second run, we wanted to detect if there were several shes in
connected blobs. Thus we have computed a lighter dilation (than in the rst run)
on the initial motion mask and detected the dominant color in each blob.
Small blobs with same dominant color were merged into one blob. Then each
blob was dilated to obtain the maximum numbers of keypoints on the shes.
You can see on gure 5 that even if the sh is separated in several blobs,
these ones are then merged together. Finally the same processing is applied
to each group of blobs as it is in run 1.
3. The third run has computed groups of blobs as in the run 2 except that
we have provided as many answers as little connected blobs regardless their
dominant color.
3</p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>Experimentation and results</title>
      <p>At the beginning, we tried to track shes in order to obtain more descriptors with
some standard tracking methods as CamShift and segmentation of optical ow
for instance. But the tracking was not e ective enough owing to the resolution.
We also encountered di culties with moving seaweed and changing brightness as
warned by the organizers since the dataset contains videos recorded from sunrise
to sunset. We have built up our processing chain to deal with these di culties.</p>
      <p>
        As scoring functions, the organizers of LifeCLEF have computed both
average precision vs recall and precision vs recall for each sh species for the subtask3
( gure 6 and 7). Only bounding boxes matching with a bounding box from test
set with a PASCAL score above a certain threshold are considered. The
organizers have computed a baseline program with the ViBe background modeling
approach [
        <xref ref-type="bibr" rid="ref1 ref2">1, 2</xref>
        ] for sh detection and VLFeat [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] for sh species recognition to
compare against our method.
      </p>
      <p>Compared to the baseline, we have a better precision and worse recall. It is
worth noting that the performance in terms of species recognition (based only
on the correctly detected bounding boxes) was comparable to the baseline, but
our bounding boxes were often too large.
This competition was a real challenge since the video data set was di cult
regarding video resolution, natural phenomena (e.g. murky water, algae on camera
lens, ...) and the huge amount of data to be processed in a limited time. Our
results are so pretty encouraging.</p>
      <p>To improve our processing chain, a good tracking from the annotated shes
would allow us obtaining more positive descriptors for each species. Moreover,
some metadata could be used as the GPS coordinates. Finally, with the tracking,
we could study the movement of each species to see if this is speci c to species
and we could try analyzing the interactions between species.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <given-names>O.</given-names>
            <surname>Barnich</surname>
          </string-name>
          and
          <string-name>
            <surname>M. Van Droogenbroeck.</surname>
          </string-name>
          <article-title>ViBe: a powerful random technique to estimate the background in video sequences</article-title>
          .
          <source>In International Conference on Acoustics, Speech, and Signal Processing (ICASSP</source>
          <year>2009</year>
          ), pages
          <fpage>945</fpage>
          {
          <fpage>948</fpage>
          ,
          <string-name>
            <surname>April</surname>
          </string-name>
          <year>2009</year>
          .
          <article-title>PDF available on the University site or at the IEEE</article-title>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <given-names>O.</given-names>
            <surname>Barnich</surname>
          </string-name>
          and
          <string-name>
            <surname>M. Van Droogenbroeck.</surname>
          </string-name>
          <article-title>ViBe: A universal background subtraction algorithm for video sequences</article-title>
          .
          <source>IEEE Transactions on Image Processing</source>
          ,
          <volume>20</volume>
          (
          <issue>6</issue>
          ):
          <volume>1709</volume>
          {
          <fpage>1724</fpage>
          ,
          <year>June 2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <given-names>Spampinato</given-names>
            <surname>Concetto</surname>
          </string-name>
          , Bob Fisher, and
          <string-name>
            <given-names>Bas</given-names>
            <surname>Boom</surname>
          </string-name>
          .
          <article-title>Lifeclef sh identi cation task 2014</article-title>
          .
          <source>In CLEF working notes</source>
          <year>2014</year>
          ,
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <given-names>Alexis</given-names>
            <surname>Joly</surname>
          </string-name>
          , Henning Muller, Herve Goeau, Herve Glotin, Concetto Spampinato, Andreas Rauber, Pierre Bonnet,
          <string-name>
            <surname>Willem-Pier Vellinga</surname>
          </string-name>
          , and Bob Fisher.
          <source>Lifeclef</source>
          <year>2014</year>
          :
          <article-title>multimedia life species identi cation challenges</article-title>
          .
          <source>In Proceedings of CLEF</source>
          <year>2014</year>
          ,
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Koen</surname>
            <given-names>E</given-names>
          </string-name>
          . A. van de Sande, Theo Gevers, and
          <string-name>
            <surname>Cees G. M. Snoek</surname>
          </string-name>
          .
          <article-title>Evaluation of color descriptors for object and scene recognition</article-title>
          .
          <source>In Proceedings of the IEEE Computer Society Conference on Computer Vision</source>
          and Pattern Recognition, Anchorage, Alaska, USA,
          <year>June 2008</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <given-names>A.</given-names>
            <surname>Vedaldi</surname>
          </string-name>
          and
          <string-name>
            <surname>B. Fulkerson.</surname>
          </string-name>
          <article-title>VLFeat: An open and portable library of computer vision algorithms</article-title>
          . http://www.vlfeat.org/,
          <year>2008</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <given-names>Zoran</given-names>
            <surname>Zivkovic</surname>
          </string-name>
          .
          <article-title>Improved adaptive gaussian mixture model for background subtraction</article-title>
          .
          <source>In Proceedings of the Pattern Recognition, 17th International Conference on (ICPR'04)</source>
          Volume 2 - Volume 02, ICPR '
          <volume>04</volume>
          , pages
          <fpage>28</fpage>
          {
          <fpage>31</fpage>
          , Washington, DC, USA,
          <year>2004</year>
          . IEEE Computer Society.
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>