Coder Social home page Coder Social logo

image-retreival's Introduction

Image Retreival

HW2 of Cognitive Computing, 2019 fall, NTU CSIE

Description

In this homework, we experiment with images from 30 categories, with 20 images in each category, our goal is to design/extract features from the image and retreive images using the features. We experiment with color, texture/shape and local feature in this homework.

We use MAP as our evaluation metric. We do it in leave-one-out fashion and report over MAP and MAP for each category.

Color Features

We experiment with global/local color histogram, global/local color moment and color auto-correlogram, the results are reported in hw2.ipynb

Texture/Shape Features

We experiment with Gabor feature, local binary pattern, histogram of oriented gradient, and shape index, the results are reported in hw2.ipynb

Local Feature

We experiment with SIFT desciptors, the result are reported in hw2.pynb

How to run

Features.py / utils.py

These 2 files contain the functions for extracting feature and functions for running experiments

GenerateFeatureDatabase.ipynb

This notebook would generate the feature database for exeriments, it takes pretty long to generate features, mostly spent on generating auto-correlograms, you could comment auto-correlogram out to speed up or email me to ask for the final FeatureDatabase.pkl

hw2.ipynb

All the experiments and results are all reported in hw2.ipynb,long with some comments and findings of the experiments.

Built With

  • Python 3.7.3 :: Anaconda custom (64-bit)

Authors

image-retreival's People

Contributors

sachiache avatar

Watchers

 avatar

Forkers

yuyuwu5 flyinggh

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.