EdYuTo / SSC-0715-Project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Students

  • Bruno Flavio Ferreira - 9791330
  • Edson Yudi Toma - 9791305

Course

SSC-0715 - Sensores Inteligentes
2nd Semester of 2019
Prof. Fernando Santos OSĂ“RIO

Goal

The goal of this project was to train a neural network with transfer learning to detect our object.

image

Our Dataset

We had 74 images with the sign disposed in different positions. And, for YOLO to work, we needed to generate annotation files with the bounding box description of the object for each image.

00 02

<annotation>
  <folder>./train/images</folder>
  <filename>00.jpg</filename>
  <segmented>0</segmented>
  <size>
    <width>640</width>
    <height>480</height>
    <depth>3</depth>
  </size>
  <object>
    <name>sign</name>
    <pose>Unspecified</pose>
    <truncated>0</truncated>
    <difficult>0</difficult>
    <bndbox>
      <xmin>242</xmin>
      <ymin>239</ymin>
      <xmax>332</xmax>
      <ymax>274</ymax>
    </bndbox>
  </object>
</annotation>

This was a manual process.

Installation

  1. Download CUDA toolkit v10.0 from https://developer.nvidia.com/cuda-toolkit-archive

  2. Download cuDNN for CUDA toolkit v10.0 from https://developer.nvidia.com/cudnn

  3. run . install.sh note the ., if you forget to add it, the script won't work as expected.

Execution

Results

The outcome was really interesting, not only the network training was really fast (because of the transfer learning), but also the program was really good when trying to detect the objects on the scenes (taking into consideration that we had only 74 images to train with).

example

Here is a video demo

About


Languages

Language:Python 60.2%Language:Shell 39.8%