Giter Site home page Giter Site logo

kuokuo77 / signboard-detection Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sadrultoaha/signboard-detection

0.0 0.0 0.0 105.78 MB

A system for signboard detection from image dataset based on deep learning algorithm.

License: MIT License

Python 1.16% Jupyter Notebook 98.84%

signboard-detection's Introduction

Automatic Signboard Detection and Localization in Densely Populated Developing Cities

By Md. Sadrul Islam Toaha, Sakib Bin Asad, Chowdhury Rafeed Rahman, S. M. Shahriar Haque, Mahfuz Ara Proma, Md. Ahsan Habib Shuvo, Tashin Ahmed, Md. Amimul Basher

Introduction

Automatic signboard detection in a developing or less developed city is a difficult task due to its challenging urban features. To approach this problem, we introduce a robust model with a new signboard dataset. The signboard detection model is based on Faster R-CNN architecture including a smart proposal box generator algorithm and specialized pretrained techniques.

This repository contains code for signboard detection which will return the segmented region of a signboard with localization details automatically.

Architecture

image

Guideline for Google Colab Environment

1. Installation

Clone the repo.

Visit Google Colab, and clone the Detection.ipynb file from https://github.com/sadrultoaha/Signboard-Detection.git

Install the requirements.

%tensorflow_version 1.x
!pip install Keras==2.2.4

2. Usage.

Run the signboard model on SVSO test data

  • Set the required path as follows and run all the notebook cells.
test_file_path = 'Test'
output_csv = 'output.csv'
output_zip = 'result.zip'

Run the signboard model on Custom test data

  • Upload and connect your custom dataset into Google Colab environment.
  • Set the required path as follows and run all the notebook cells.
test_file_path = 'your_test_data_path'
output_csv = 'output.csv'
output_zip = 'result.zip'

Guideline for Local Environment

1. Installation

Clone the repo.

git clone https://github.com/sadrultoaha/Signboard-Detection.git
cd Signboard-Detection

Install the requirements.

make sure that you have Tensorflow==1.15.2 and Keras==2.2.4 installed. (see: Tensorflow installation instructions)

pip install -r requirements.txt

2. Usage.

Run the signboard model on SVSO test data

python detection.py -test_file_path "Test" -output_csv output.csv -output_zip result.zip

Run the signboard model on Custom test data

To run the signboard model on your desired test data, set the test_file_path to the your own custom test dataset path.

python detection.py -test_file_path "your_test_data_path" -output_csv output.csv -output_zip result.zip

Arguments Details:

  • -test_file_path: Path to the testing images folder, i.e., Path to the Public test data or Path to the Custom test data.
  • -output_csv: Path to output the predicted localization and classification details.
  • -output_zip: Path to output the segmented signboards on input images.

Test Output

image image

signboard-detection's People

Contributors

sadrultoaha avatar sakibuchchash avatar

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.