Skip to content

This repository containes a ready-to-use tensorflow model for the purpose of identifying Platanus hispanica and Celtis australis trees in the streets of Barcelona, Spain.

Notifications You must be signed in to change notification settings

EftyK/TrainedModel

Repository files navigation

TrainedModel

This repository contains a ready-to-use tensorflow model for the purpose of identifying Platanus hispanica and Celtis australis trees in the streets of Barcelona, Spain.

Contents

The Jupyter notebook (IdentifyTreeSpecies.ipynb) loads the trained tensorflow model and visualizes the results.

Apart from the Jupyter notebook, this repository provides the aforementioned model, the corresponding tree species label map and some images for testing the model.

Prerequisites

To run IdentifyTreeSpecies.ipynb, you will need a number of prerequisites. Follow these steps to install them on your system:

  1. Install Python > 3.6.10

  2. The following 4 commands will install almost all packages that you will need:

pip install tensorflow-cpu
pip install jupyter
pip install lxml
pip install contextlib2
  1. Download or git clone tensorflow/models repository.

This should result in acquiring locally the tree-structured project directories of Tensorflow.
Example:
-models
    -research
          -object_detection
         ...
     ...

  1. Navigate to models/research directory and run
pip install .

How to use this project

  1. Download or git clone the repository and copy it under object_detection. Now your file structure should be:
    -models
        -research
              -object_detection
                   -TrainedModel
              ...
         ...

  2. Open IdentifyTreeSpecies.ipynb and run the cells consecutively. When you reach the last executable cell, you should get an output like this:

Example output Fig. 1 - Example output

About

This repository containes a ready-to-use tensorflow model for the purpose of identifying Platanus hispanica and Celtis australis trees in the streets of Barcelona, Spain.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published