microsoft

Thursday, 18 August 2016

HTML 5 : Make a simple WebPage within minutes



HTML 5 : Make a simple WebPage within minutes      



Hi Guys ;

I am back with a video tutorial of HTML 5 . It will help you quickly build a webpage using HTML 5 .No more rubies , php and all. Working with HTML 5 is fun and easy. Pardon me it's my first video tutorial attempt . Any doubts let'em meet at comment section. There is  video-audio sync problem, sorry for that in advance.


Basic websites are created with HTML, CSS and Javascript.

These ‘front-end’ technologies control a website’s appearance, structure, and function.

Years ago, these languages were more isolated and limited, where:

HTML describes the format of a document
CSS describes how the document should look
Javascript defines how they act

But things have evolved with HTML5. These languages are more integrated now, allowing you to do complex things without using complicated ‘back-end’ technologies like PHP, Perl or Ruby on Rails.


The video  guide will walk you through these new developments. Thanks fro watching in advance. 






Tuesday, 5 July 2016

"MACHINE AT YOUR FINGER TIP"

"MACHINE AT YOUR FINGER TIP"

(OPENCV + PYTHON+RASPBERRY PI 2 )

This python script can be used to analyse hand gestures by contour detection and convex hull of palm region using OpenCV, a library used for computer vision processes.You can make a virtual cricket or make a ASL recognition system for Blinds or try some more innovative things using this method. 

Why it is better than COLOUR MAPPING techniques ? Google its and find out .guys ..No offence 


Greetings from Roopak MS 
I am curently working as Senior Project Mentor at Bibox Innovation Lab .
You can also use Boards like Beagle Bone, Orange pi etcc...for the same ..
If you want  full script please mail me to roopuchikku@gmail.com or roopak.ms@bibox.in 

Note : About the squares  I've specified the dimensions myself, you can change as per your need. The problem is that I am using Otsu's Binarization method ( Dont ask me what is that ? idk i am bad at studies ) for thresholding the palm region so I need minimum interference because of the surrounding colors. Therefore, I've used small square large enough to contain a hand gesture. If you increase the size of square the output also get slows. Incoperating the program with GPIO outs can cause delay to your output.



You can see my name ROOPAK-3 in the Gesture Tab isn't it ? You can change the name via Script.

Now  Lets learn some basics ,
  
STEPS 

1. Photo capturing using Camera

  I am using a Logitech C100 cam with 5mp resolution. Connect the camera to any USB port of your raspberry pi 2. I choose logitch because all other cameras in the market have to be calibrated with pi using driver CD.

2. Convert to grayscale
We convert an image from RGB to grayscale and then to binary in order to find the ROI i.e. the portion of the image we are further interested for image processing. By doing this our decision becomes binary: "yes the pixel is of interest" or "no the pixel is not of interest".



 2. Blur image

By blurring, we create smooth transition from one color to another and reduce the edge content. We use thresholding for image segmentation, to create binary images from grayscale images.







3. Thresholding

I've used Otsu's Binarization method. In this method, OpenCV automatically calculates/approximates the threshold value of a bimodal image from its image histogram.




4. Draw contours



5. Find convex hull and convexity defects

 Convexity defects, which is the deepest point of deviation on the contour. By this we can find the number of fingers extended and then we can perform different functions according to the number of fingers extended.





These are the steps involved in image processing . Finished ? Lets roll..make your gesture controlled gadgets. Change the codes accordingly for different purpose.Working with machine is nice. Itz cool when machine works accordingly with our instructions combining machine intelligence with machine brain. Raspberry pi is the best starter for that.

Any doubts feel free to contact me .
Sorry i couldn't take a video, will update the post soon with the videos.
Thanks for Reading this .........!
REGARDS