franciscovargas / ivr Goto Github PK
View Code? Open in Web Editor NEWComputer vision algorithm suite for classifying pictures of cards.
Computer vision algorithm suite for classifying pictures of cards.
create a new matlab file exactly the same as thresh.m only that the thresholds are not hardcoded but calculated on on the go (for each color channel using findnorm.m).
inspect what difference it makes to threshold in hsv as opposed to rgb
(r',g',b') = (r/(r+g+b),g/(r+g+b),b/(r+g+b)) where r',g','b are normalized. You must construct or find an algorithm which performs this on an image.
After colour normalization has been carried out, histograms (and smoothed histograms, i.e convolved with 1D Gaussian) must be produced and saved as calibration tools for threshold. Here is a small snippet showing how this could be approached:
> [hegiht width] = size(normalized_image);
> red_vec = reshape(normalized_image(:,:,1), 1, height*width);
> green_vec = reshape(normalized_image(:,1,:), 1, height*width);
> blue_vec = reshape(normalized_image(:,:,1), 1, height*width);
> red = dohist(red_vec,1);
> green = dohist(green_vec,1);
> blue = dohist(blue_vec,1);
% create 1D gaussian mask and convolve
> gauss = fspecial('gaussian',[1,5],6);
> smooth_hist = conv(gauss, red);
> plot(smooth_hist);
Test the new changes (gray scale autocalibration and cropping) in all images.
Must take new pictures in the lab for the assigned surfaces in order to test:
-Lighting
-Positioning and angling of capture
-Surfaces
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.