zyishai / image-retriever Goto Github PK
View Code? Open in Web Editor NEWCS final project. Search and retrieve location of element/character from an image.
License: GNU General Public License v3.0
CS final project. Search and retrieve location of element/character from an image.
License: GNU General Public License v3.0
Improve readability and modularity of existing code, and add helper functions to enable debugging and visualizing of computations.
Reference: Article's section 6.1.1.
Description: For each offset, sum both Correlogram contribution as well as Histogram contribution and take the maximum.
Correlogram contribution is calculated by the difference between the autocorrelogram for query image that corresponds to the color of the offset pixel, and the local autocorrelogram of the sub image in the big image at location of the offset.
Transform image object to 2d numeric representation of the image, where each cell gets a label based on its KMean's cluster.
This has two advantages:
Problem: when calculating a correlogram, we should calculate specific correlogram for each two colors combination and for each distance. In an image, there are possibly 2563 different color combinations. Even for small images (e.g 160x160) that's too much (25600! options, not including different distances!!).
Suggested Solution: take only few major colors of the image, preferably colors that are close to each other (local correlations between colors are more significant than global correlations). This will also allow us to use relatively small distance.
Reference: Article's section 6.
Improvement on #1
To calculate correlogram of an image, we need to run for each two colors and for each distance the specific correlogram calculation. These calculations does not depend on each other, so we can parallelize them.
Task: move calculations to a queue and allow workers to calculate them asynchronously.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.