fanap internship

43
FANAP SUMMER INTERNSHIP 1394

Transcript of fanap internship

Page 1: fanap internship

FANAP SUMMER INTERNSHIP1394

Page 2: fanap internship

Hanzaleh Akbari Nodehi – EE 91

Ghazal Helmzadeh - CS 92

Alireza Amirshahi – EE 91

Pardis Pashakhanloo - CE 91

Pourya Mandi Sanam – EE 91

Amir Hossein Nazem – EE 91

OUR TEAM

Page 3: fanap internship

INTERNSHIP: AN OPPORTUNITYOR just another wasted labor?

◦Getting hands dirty

◦Boosting skills

◦Broadening horizons

◦Dude, let me tell you something…real world is much bigger than university!

◦Realistic decisions based on real interests

Page 4: fanap internship

DO YOU REMEMBER THE FIRST DAY YOU ENTERED THE UNIVERSITY?!

Page 5: fanap internship

We started learning…

Open-Source Computer Vision Library

No more reinventing the wheel

OPENCV

Page 6: fanap internship

Opencvmodules

core

imgproc

objdetect

video

ml

highgui

Page 7: fanap internship

Opencv seems better:

• Money

• Speed & Performance

• Cross-platform

• Ease of Use

Page 8: fanap internship

FACE DETECTION AND FEATURE EXTRACTION

Page 9: fanap internship

FACE DETECTION

Page 10: fanap internship

First approach: skin color

Page 11: fanap internship

Machine learning… better job

Page 12: fanap internship

PAUL VIOLA & MICHAEL JONES

Page 13: fanap internship

WE NEED FEATURES…

Page 14: fanap internship

MAIN IDEAPositive

And Negative Images

Extract feature

Integral image

Features with

minimum error

Weighted sum of

features

Cascade

Page 15: fanap internship

OBJECT DETECTION

Page 16: fanap internship

Ball Detection with opencvObject Detection Using Color

Edge Detection

Tracking Object

Let’s see …

Page 17: fanap internship

Machine learning

Page 18: fanap internship

In 1959, Arthur Samuel defined machine learning as a "Fieldof study that gives computers the ability to learn withoutbeing explicitly programmed".

Arthur Lee Samuel was an American pioneer in the field of computer gaming, artificialintelligence, and machine learning.Born: December 5, 1901, Emporia, Kansas, United StatesDied: July 29, 1990, Stanford, California, United StatesEducation: College of Emporia (1923), Massachusetts Institute of Technology

WHAT IS MACHINE LEARNING ?!!

Page 19: fanap internship

without being explicitly programmed !!!

If (this expression is true) {code block

} Else {another code block

}

Page 20: fanap internship

Let me explain it with examples …

Page 21: fanap internship

How do we learn ?!!

Time …

???

. . .

That was four.

Page 22: fanap internship

• Machine Learning on the other hand is writing aprogram that learns from past experience.

Page 23: fanap internship

It’s Applications …You've probably use a learning algorithm. dozens of times a day without knowing it.

Web Engines Photo Tagging Applications Spam Filter…

Web Engines Photo Tagging Applications Spam Filter…

Page 24: fanap internship

EVERY TIME YOU USE A WEB SEARCH ENGINES LIKE GOOGLE OR BING TOSEARCH THE INTERNET, ONE OF THE REASONS THAT WORK SO WELL IS BECAUSEA LEARNING ALGORITHM, ONE IMPLEMENTED BY GOOGLE OR MICROSOFT, HASLEARNED HOW TO RANK WEB PAGES.

Page 25: fanap internship

It’s Applications …You've probably use a learning algorithm. dozens of times a day without knowing it.

Web Engines Photo Tagging Applications Spam Filter…

Web Engines Photo Tagging Applications Spam Filter…

Page 26: fanap internship

EVERY TIME YOU USE FACEBOOK OR APPLE'S PHOTO TAGGING APPLICATIONAND IT RECOGNIZES YOUR FRIEND'S PHOTOS, THAT'S ALSO MACHINELEARNING.

Page 27: fanap internship

It’s Applications …You've probably use a learning algorithm. dozens of times a day without knowing it.

Web Engines Photo Tagging Applications Spam Filter…

Web Engines Photo Tagging Applications Spam Filter…

Page 28: fanap internship

EVERY TIME YOU READ YOUR EMAILS AND YOUR SPAM FILTER SAVES YOU FROMHAVING TO WADE THROUGH TONS OF SPAM EMAIL, THAT'S ALSO A LEARNINGALGORITHM.

Page 29: fanap internship

Future …

For big companies like facebook, google, yahoo and …, one of the reasons they're excited is theAI dream of someday building machines as intelligent as you or me.

Page 30: fanap internship

Reading a captcha

Page 31: fanap internship

How to read a

C A P T C H A

Page 32: fanap internship

What is captcha?An acronym for "Completely Automated Public Turing test to tell Computers and Humans Apart”

A CAPTCHA is a type of challenge-response test used in computing to determine whether or not the user is human.

Page 33: fanap internship
Page 34: fanap internship

What we have done?Different approaches to read characters automatically

Optical Character Recognition

Decision Tree

Neural Network

Template Matching

Etc.

Page 35: fanap internship

What we have done? (Cont’d.)Developing a NN based program to automatically decipher a Captcha

Advantages of using Neural Networks (our approach) for character recognition

Robust against noise and change in font, size, etc.

Easily portable to other fonts, characters, and even languages.

Page 36: fanap internship

NowLet’s

down a server!

Page 37: fanap internship

Motion detection

Page 38: fanap internship

Motion Detection – Simple Approach

Using a threshold◦Problem: most cameras produce noisy images

◦Solution: Erosion filter

Page 39: fanap internship

Motion Detection – Common Approach

Compare frames◦Good idea with compression in mind◦Disadvantage: slow movement

Page 40: fanap internship

Motion Detection – Better Approach

Change the way you compare◦Independent from motion speed◦Disadvantage: dealing with gone objects

Page 41: fanap internship

Motion detection - Most Efficient Approaches

Based on building the background of the scene

Page 42: fanap internship

THANKS!

Page 43: fanap internship

the end