Code Monkey home page Code Monkey logo

oneshot_siamese's Introduction

One-Shot Logo Recognition Based on Siamese Neural Networks

This code presents a Siamese Neural networks assessment for different embedded models using the QMUL-OpenLogo dataset, following the paper: One Shot Logo Recognition Based on Siamese Neural Networks.

Requirements

Usage

Use the misc/data_prep.py script to preprocess the QMUL-OpenLogo dataset (crop and data split) by defining the python openlogo_path, python train_dir and python test_dir variables. Set the python params/config.py file to define the architecture to train and training parameters. Run the python main.py file to train/test the defined configuration.

Results

Embedded CNN TPR FPR acc Pr F1 AUC
AlexNet 0.74 0.20 0.77 0.78 0.76 0.84
vgg 0.74 0.22 0.75 0.76 0.75 0.82
Koch 0.70 0.33 0.68 0.67 0.69 0.74
Resnet 0.59 0.26 0.66 0.69 0.63 0.72
denseNet 0.67 0.27 0.70 0.71 0.69 0.76

Reference

https://dl.acm.org/doi/abs/10.1145/3372278.3390734

Examples

(Showing the resulting dissimilarity metric for each pair of images)

- d = 0.014

- d = 0.344

- d = 0.837

- d = 0.397

- d = 0.999

oneshot_siamese's People

Contributors

cjvargasc avatar enzorc 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.