SlideShare a Scribd company logo
Mood analyzer
@Sherrrylst
Hello!
I’m Sherry List
Azure Developer Engagement Lead, Microsoft
You can find me at @SherrryLst
Demo
http://bit.ly/mood-analyzer
#devconmu
@Sherrrylst
AI, ML, DL, ANN?
@Sherrrylst
Artificial Intelligence
AI is the simulation of human intelligence
processes by machines. These
processes include, reasoning,
remembering, learning and self-
correction.
@Sherrrylst
Machine Learning
@Sherrrylst
Machine learning is a field of computer
science that gives computers the ability
to learn without being explicitly
programmed.
Arthur Samuel, 1959
Machine learning techniques
@Sherrrylst
• Artificial Neural Networks
• Deep Learning
• Bayesian Networks
• Clustering
Artificial Intelligence (AI)
The bigger picture
Machine
Learning
Artificial Neural Networks
Deep Learning
Bayesian Networks
Clustering
@Sherrrylst
Machine
Learning 101
@Sherrrylst
Machine Learning 101
@Sherrrylst
Data
@Sherrrylst
Data
Patterns
Machine Learning 101
@Sherrrylst
Data
Patterns
Algorithm
(Deep learning, clustering, …)
Machine Learning 101
@Sherrrylst
Data
Patterns
Algorithm
(Deep learning, clustering, …)
Find patterns
Machine Learning 101
@Sherrrylst
Data
Patterns
Model
Algorithm
(Deep learning, clustering, …)
Find patterns
Machine Learning 101
@Sherrrylst
Data
Patterns
Model
Algorithm
(Deep learning, clustering, …)
Find patterns Recognizes patterns
Machine Learning 101
@Sherrrylst
Data
Patterns
Model
Algorithm
(Deep learning, clustering, …)
Find patterns Recognizes patterns
Training
Machine Learning 101
@Sherrrylst
Data
Patterns
Model
Algorithm
(Deep learning, clustering, …)
Find patterns Recognizes patterns Application
Training
Machine Learning 101
@Sherrrylst
Data
Patterns
Model
Algorithm
(Deep learning, clustering, …)
Find patterns Recognizes patterns Application
Challenges
Data preparation
@Sherrrylst
Data
Patterns
Model
Algorithm
(Deep learning, clustering, …)
Find patterns Recognizes patterns Application
Challenges
Data preparation Create and test algorithms
@Sherrrylst
Algorithm
(Deep learning, clustering, …)
Find patterns
Challenges
Create and test algorithms
Chihuahua or muffin?
@Sherrrylst
Data
Patterns
Model
Algorithm
(Deep learning, clustering, …)
Find patterns Recognizes patterns Application
Challenges
Data preparation Create and test algorithms Expose the model to app
Is there a better
way?
@Sherrrylst
Azure
Cognitive
Services
@Sherrrylst
@Sherrrylst
Application
The easier way
Azure Cognitive
Services
REST API
Azure Cognitive Services === machine-learning-as-a-service
@Sherrrylst
@Sherrrylst
Application
The easier way
Azure Cognitive
Services
REST API
Cognitive Services
Decision
Speech
Language
Vision
Web search
@Sherrrylst
Cognitive Services
Decision
Speech
Language
Vision
Web search
@Sherrrylst
• Computer vision
@Sherrrylst
Cognitive Services - Vision
• Computer vision
• Video Indexer
@Sherrrylst
Cognitive Services - Vision
• Computer vision
• Video Indexer
• Face
@Sherrrylst
Cognitive Services - Vision
• Computer vision
• Video Indexer
• Face
• Ink Recognizer (Preview)
@Sherrrylst
Cognitive Services - Vision
• Computer vision
• Video Indexer
• Face
• Ink Recognizer (Preview)
• Form Recognizer (Preview)
@Sherrrylst
Cognitive Services - Vision
• Computer vision
• Video Indexer
• Face
• Ink Recognizer (Preview)
• Form Recognizer (Preview)
• Custom Vision
@Sherrrylst
Cognitive Services - Vision
How to use it?
@Sherrrylst
How to use Cognitive Services?
1. Create service in Azure Portal
(https://portal.azure.com/)
@Sherrrylst
How to use Cognitive Services?
1. Create service in Azure Portal
(https://portal.azure.com/)
2. Customize and train model in the
portal (Optional)
@Sherrrylst
How to use Cognitive Services?
1. Create service in Azure Portal
(https://portal.azure.com/)
2. Customize and train model in the
portal (Optional)
3. Call the REST API from your app
@Sherrrylst
How to use Cognitive Services?
1. Create service in Azure Portal
(https://portal.azure.com/)
2. Customize and train model in the
portal (Optional)
3. Call the REST API from your app
4. Parse the JSON response
@Sherrrylst
Let’s do it!
@Sherrrylst
@Sherrrylst
Cognitive Services account - Face
Face API
Create a Cognitive Services account in the
Azure portal
@Sherrrylst
@Sherrrylst
Cognitive Services account
@Sherrrylst
• URL : {Endpoint}/face/v1.0/detect
• URI Parameters
• returnFaceLandmarks (Boolean)
• returnFaceAttributes
• age,gender,smile,glasses,emotion,facialHair
• Headers
• Content-Type: application/octet-stream | application/json
• Ocp-Apim-Subscription-Key
Face API - Detect
Face API Documentation
@Sherrrylst
Face API - Detect
Face API Documentation
@Sherrrylst
💻</code>
@Sherrrylst
Capture the picture
<div class="p-1">
<video #video autoplay></video>
</div>
<div class="pb-2">
<button class="btn btn-primary" (click)="capture()">🤳</button>
</div>
<div>
<canvas #canvas id="result"></canvas>
</div>
Source code
@Sherrrylst
Start the camera
export class CameraComponent {
@ViewChild("video", { static: true }) videoElement: ElementRef;
@ViewChild("canvas", { static: true }) canvas: ElementRef;
constraints = {
video: {
facingMode: ”user",
width: { ideal: 400 },
height: { ideal: 400 }
}
};
constructor( private renderer: Renderer2 ) {}
ngOnInit() {
this.startCamera();
}
Source code
@Sherrrylst
Start the camera
export class CameraComponent {
@ViewChild("video", { static: true }) videoElement: ElementRef;
@ViewChild("canvas", { static: true }) canvas: ElementRef;
constraints = {
video: {
facingMode: "environment",
width: { ideal: 400 },
height: { ideal: 400 }
}
};
constructor( private renderer: Renderer2 ) {}
ngOnInit() {
this.startCamera();
}
Source code
@Sherrrylst
Start the camera
export class CameraComponent {
@ViewChild("video", { static: true }) videoElement: ElementRef;
@ViewChild("canvas", { static: true }) canvas: ElementRef;
constraints = {
video: {
facingMode: "environment",
width: { ideal: 400 },
height: { ideal: 400 }
}
};
constructor( private renderer: Renderer2 ) {}
ngOnInit() {
this.startCamera();
}
Source code
@Sherrrylst
Start the camera
export class CameraComponent {
@ViewChild("video", { static: true }) videoElement: ElementRef;
@ViewChild("canvas", { static: true }) canvas: ElementRef;
constraints = {
video: {
facingMode: "environment",
width: { ideal: 400 },
height: { ideal: 400 }
}
};
constructor( private renderer: Renderer2 ) {}
ngOnInit() {
this.startCamera();
}
Source code
@Sherrrylst
Start the camera
startCamera() {
if (!!(navigator.mediaDevices && navigator.mediaDevices.getUserMedia)) {
navigator.mediaDevices
.getUserMedia(this.constraints)
.then(this.attachVideo.bind(this))
.catch(this.handleError);
} else {
alert("Sorry, camera not available.");
}
}
Source code
@Sherrrylst
Start the camera
attachVideo(stream) {
this.renderer.setProperty(
this.videoElement.nativeElement,
"srcObject",
stream
);
}
Source code
@Sherrrylst
Start the camera
Source code
@Sherrrylst
Start the camera
attachVideo(stream) {
this.renderer.setProperty(
this.videoElement.nativeElement, "srcObject", stream
);
this.renderer.listen(this.videoElement.nativeElement, "play", event =
> {
this.videoHeight = this.videoElement.nativeElement.videoHeight;
this.videoWidth = this.videoElement.nativeElement.videoWidth;
});
}
Source code
@Sherrrylst
🤳 Snap
@Sherrrylst
Capture the picture
capture() {
this.renderer.setProperty( this.canvas.nativeElement, "width",
this.videoWidth);
this.renderer.setProperty( this.canvas.nativeElement,"height",
this.videoHeight);
this.canvas.nativeElement
.getContext("2d")
.drawImage(this.videoElement.nativeElement, 0, 0);
...
}
Source code
@Sherrrylst
Capture the picture
capture() {
this.renderer.setProperty( this.canvas.nativeElement, "width",
this.videoWidth);
this.renderer.setProperty( this.canvas.nativeElement,"height",
this.videoHeight);
this.canvas.nativeElement
.getContext("2d")
.drawImage(this.videoElement.nativeElement, 0, 0);
...
}
Source code
@Sherrrylst
Capture the picture
capture() {
...
this.selfie = this.canvas.nativeElement.toDataURL("img/png");
let file = this.cameraService.dataURItoBlob(this.selfie);
// Mojify this
this.detectEmotions(file);
}
Source code
@Sherrrylst
Capture the picture
capture() {
...
this.selfie = this.canvas.nativeElement.toDataURL("img/png");
let file = this.cameraService.dataURItoBlob(this.selfie);
// Mojify this
this.detectEmotions(file);
}
Source code
@Sherrrylst
Capture the picture
async detectEmotions(file: Blob) {
const headerDict = {
"Content-Type": "application/octet-stream","Ocp-Apim-Subscription-Key": this.apiKey
};
const requestOptions = {
headers: new HttpHeaders(headerDict)
};
this.http
.post(this.faceAPI, file, requestOptions)
.subscribe((res: FaceData[]) => {
this.emotions = this.cameraService.getEmotionData(res);
this.draw(this.emotions);
});
}
Source code
@Sherrrylst
Capture the picture
async detectEmotions(file: Blob) {
const headerDict = {
"Content-Type": "application/octet-stream","Ocp-Apim-Subscription-Key": this.apiKey
};
const requestOptions = {
headers: new HttpHeaders(headerDict)
};
this.http
.post(this.faceAPI, file, requestOptions)
.subscribe((res: FaceData[]) => {
this.emotions = this.cameraService.getEmotionData(res);
this.draw(this.emotions);
});
}
Source code
@Sherrrylst
Capture the picture
async detectEmotions(file: Blob) {
const headerDict = {
"Content-Type": "application/octet-stream","Ocp-Apim-Subscription-Key": this.apiKey
};
const requestOptions = {
headers: new HttpHeaders(headerDict)
};
this.http
.post(this.faceAPI, file, requestOptions)
.subscribe((res: FaceData[]) => {
this.emotions = this.cameraService.getEmotionData(res);
this.draw(this.emotions);
});
}
Source code
@Sherrrylst
Capture the picture
async detectEmotions(file: Blob) {
const headerDict = {
"Content-Type": "application/octet-stream","Ocp-Apim-Subscription-Key": this.apiKey
};
const requestOptions = {
headers: new HttpHeaders(headerDict)
};
this.http
.post(this.faceAPI, file, requestOptions)
.subscribe((res: FaceData[]) => {
this.emotions = this.cameraService.getEmotionData(res);
this.draw(this.emotions);
});
}
Source code
@Sherrrylst
Capture the picture
async detectEmotions(file: Blob) {
const headerDict = {
"Content-Type": "application/octet-stream","Ocp-Apim-Subscription-Key": this.apiKey
};
const requestOptions = {
headers: new HttpHeaders(headerDict)
};
this.http
.post(this.faceAPI, file, requestOptions)
.subscribe((res: FaceData[]) => {
this.emotions = this.cameraService.getEmotionData(res);
this.draw(this.emotions);
});
}
Source code
@Sherrrylst
🤳Draw
@Sherrrylst
Draw the Emoji
draw(faces: Face[]) {
const cameraCanvas = this.canvas.nativeElement.getContext("2d");
for (let face of faces) {
let multiplier = face.faceRectangle.height / face.faceRectangle.width;
let fontSize = face.faceRectangle.width * multiplier;
cameraCanvas.font = fontSize + "px Arial";
cameraCanvas.fillText(
face.mojiIcon,
(face.faceRectangle.left * multiplier) - 20,
(face.faceRectangle.top * multiplier) + (face.faceRectangle.height / 2) + 20
);
}
}
Source code
@Sherrrylst
Capture the picture
draw(faces: Face[]) {
const cameraCanvas = this.canvas.nativeElement.getContext("2d");
for (let face of faces) {
let multiplier = face.faceRectangle.height / face.faceRectangle.width;
let fontSize = face.faceRectangle.width * multiplier;
cameraCanvas.font = fontSize + "px Arial";
cameraCanvas.fillText(
face.mojiIcon,
(face.faceRectangle.left * multiplier) - 20,
(face.faceRectangle.top * multiplier) + (face.faceRectangle.height / 2) + 20
);
}
}
Source code
@Sherrrylst
Capture the picture
draw(faces: Face[]) {
const cameraCanvas = this.canvas.nativeElement.getContext("2d");
for (let face of faces) {
let multiplier = face.faceRectangle.height / face.faceRectangle.width;
let fontSize = face.faceRectangle.width * multiplier;
cameraCanvas.font = fontSize + "px Arial";
cameraCanvas.fillText(
face.mojiIcon,
(face.faceRectangle.left * multiplier) - 20,
(face.faceRectangle.top * multiplier) + (face.faceRectangle.height / 2) + 20
);
}
}
Source code
Tell me, how are you?
http://bit.ly/mood-analyzer
# devconmu
@Sherrrylst
AI.lab@Sherrrylst
The Learner
aka.ms/azure.heroes
#azureHeroes
@Sherrrylst
Thank you!
https://aka.ms/mood-analyzer
Resources
• Microsoft Azure Cognitive Services: The Big Picture
• The Mojifier (MS Learn)
• The Mojifier (Github)
• Where's Chewie? Object detection with Azure Custom Vision by Goran Vuksic
• What does the Computer Vision see? Analyse a local image with JavaScript by Goran Vuksic
• Azure Cognitive Services API — I need your clothes, boots and your motorcycle by Chris Noring
• Add conversational intelligence to your apps by using LUIS (MS Learn)
• Discover sentiment in text with the Text Analytics API (MS Learn)
• Create Intelligent Bots with the Azure Bot Service (MS Learn)
• Capturing Camera Images with Angular by Chad Upton
AI Services
Cognitive Services Bot Service Azure ML, Databricks, HDInsight
Pre-build AI Conversational AI Custom AI
Azure Infrastructure
CPU, FPGA, GPU
Cosmos
DB
SQL DB Data Lake IOT EdgeDSVMSparkBatch AISQL DW
Deep learning Frameworks
Cognitive Toolkits Tensorflow Azure ML, Databricks, HDInsight
Pre-build AI Conversational AI Custom AI
Deep learning Frameworks
CPU, FPGA, GPU
Cosmos
DB
SQL DB Data Lake IOT EdgeDSVMSparkBatch AISQL DW
• Speech to Text
• Text to Speech
• Speaker recognition (Preview)
• Speech Translation
@Sherrrylst
Cognitive Services - Speech
• Speech to Text
• Text to Speech
• Speaker recognition (Preview)
• Speech Translation
@Sherrrylst
Cognitive Services - Speech
• Language Understanding
• Bing Spell Check
• Translator Text
• Content Moderator
• Text Analytics
@Sherrrylst
Cognitive Services - Language
• Language Understanding
• Bing Spell Check
• Translator Text
• Content Moderator
• Text Analytics
@Sherrrylst
Cognitive Services - Language
Cognitive Services - Search
@Sherrrylst
• Bing Custom Search
• Bing Web Search
• Bing Video Search
• Bing Image Search
• Bing Local Business Search (Preview)
• Bing Visual Search
• Bing Entity Search
• Bing News Search
• Bing Auto Suggest

More Related Content

Similar to Mood analyzer-virtual-dev-conf

Mood analyzer-ng poland
Mood analyzer-ng polandMood analyzer-ng poland
Mood analyzer-ng poland
Sherry List
 
Building Deep Learning Applications with TensorFlow and Amazon SageMaker
Building Deep Learning Applications with TensorFlow and Amazon SageMakerBuilding Deep Learning Applications with TensorFlow and Amazon SageMaker
Building Deep Learning Applications with TensorFlow and Amazon SageMaker
Amazon Web Services
 
Build Deep Learning Applications with TensorFlow and Amazon SageMaker
Build Deep Learning Applications with TensorFlow and Amazon SageMakerBuild Deep Learning Applications with TensorFlow and Amazon SageMaker
Build Deep Learning Applications with TensorFlow and Amazon SageMaker
Amazon Web Services
 
Build Deep Learning Applications with TensorFlow & SageMaker
Build Deep Learning Applications with TensorFlow & SageMakerBuild Deep Learning Applications with TensorFlow & SageMaker
Build Deep Learning Applications with TensorFlow & SageMaker
Amazon Web Services
 
Build an Access Control System Using Tessel and Einstein Vision
Build an Access Control System Using Tessel and Einstein VisionBuild an Access Control System Using Tessel and Einstein Vision
Build an Access Control System Using Tessel and Einstein Vision
Shruti Sridharan
 
Dataminds - ML in Production
Dataminds - ML in ProductionDataminds - ML in Production
Dataminds - ML in Production
Nathan Bijnens
 
Build Deep Learning Applications with TensorFlow & SageMaker: Machine Learnin...
Build Deep Learning Applications with TensorFlow & SageMaker: Machine Learnin...Build Deep Learning Applications with TensorFlow & SageMaker: Machine Learnin...
Build Deep Learning Applications with TensorFlow & SageMaker: Machine Learnin...
Amazon Web Services
 
MongoDB Days UK: Building Apps with the MEAN Stack
MongoDB Days UK: Building Apps with the MEAN StackMongoDB Days UK: Building Apps with the MEAN Stack
MongoDB Days UK: Building Apps with the MEAN Stack
MongoDB
 
2020 10 22 AI Fundamentals - Azure Machine Learning
2020 10 22 AI Fundamentals - Azure Machine Learning2020 10 22 AI Fundamentals - Azure Machine Learning
2020 10 22 AI Fundamentals - Azure Machine Learning
Bruno Capuano
 
AI on a PI
AI on a PIAI on a PI
AI on a PI
Julien SIMON
 
Building AI-Driven Apps Using Semantic Kernel.pptx
Building AI-Driven Apps Using Semantic Kernel.pptxBuilding AI-Driven Apps Using Semantic Kernel.pptx
Building AI-Driven Apps Using Semantic Kernel.pptx
Udaiappa Ramachandran
 
AWS Machine Learning Week SF: Amazon SageMaker & TensorFlow
AWS Machine Learning Week SF: Amazon SageMaker & TensorFlowAWS Machine Learning Week SF: Amazon SageMaker & TensorFlow
AWS Machine Learning Week SF: Amazon SageMaker & TensorFlow
Amazon Web Services
 
Ako prepojiť aplikáciu s Elasticsearch
Ako prepojiť aplikáciu s ElasticsearchAko prepojiť aplikáciu s Elasticsearch
Ako prepojiť aplikáciu s Elasticsearch
bart-sk
 
Introduction to A-Frame
Introduction to A-FrameIntroduction to A-Frame
Introduction to A-Frame
Daosheng Mu
 
Unity and Microsoft Azure Cognitive Services - DIGITREK21 Workshop
Unity and Microsoft Azure Cognitive Services - DIGITREK21 WorkshopUnity and Microsoft Azure Cognitive Services - DIGITREK21 Workshop
Unity and Microsoft Azure Cognitive Services - DIGITREK21 Workshop
Pablo Farías Navarro
 
Intro to computer vision in .net update
Intro to computer vision in .net   updateIntro to computer vision in .net   update
Intro to computer vision in .net update
Stephen Lorello
 
Get started with building native mobile apps interacting with SharePoint
Get started with building native mobile apps interacting with SharePointGet started with building native mobile apps interacting with SharePoint
Get started with building native mobile apps interacting with SharePoint
Yaroslav Pentsarskyy [MVP]
 
Demystifying Machine Learning on AWS
Demystifying Machine Learning on AWSDemystifying Machine Learning on AWS
Demystifying Machine Learning on AWS
Amazon Web Services
 
Getting started with titanium
Getting started with titaniumGetting started with titanium
Getting started with titanium
Naga Harish M
 
Make your Backbone Application dance
Make your Backbone Application danceMake your Backbone Application dance
Make your Backbone Application dance
Nicholas Valbusa
 

Similar to Mood analyzer-virtual-dev-conf (20)

Mood analyzer-ng poland
Mood analyzer-ng polandMood analyzer-ng poland
Mood analyzer-ng poland
 
Building Deep Learning Applications with TensorFlow and Amazon SageMaker
Building Deep Learning Applications with TensorFlow and Amazon SageMakerBuilding Deep Learning Applications with TensorFlow and Amazon SageMaker
Building Deep Learning Applications with TensorFlow and Amazon SageMaker
 
Build Deep Learning Applications with TensorFlow and Amazon SageMaker
Build Deep Learning Applications with TensorFlow and Amazon SageMakerBuild Deep Learning Applications with TensorFlow and Amazon SageMaker
Build Deep Learning Applications with TensorFlow and Amazon SageMaker
 
Build Deep Learning Applications with TensorFlow & SageMaker
Build Deep Learning Applications with TensorFlow & SageMakerBuild Deep Learning Applications with TensorFlow & SageMaker
Build Deep Learning Applications with TensorFlow & SageMaker
 
Build an Access Control System Using Tessel and Einstein Vision
Build an Access Control System Using Tessel and Einstein VisionBuild an Access Control System Using Tessel and Einstein Vision
Build an Access Control System Using Tessel and Einstein Vision
 
Dataminds - ML in Production
Dataminds - ML in ProductionDataminds - ML in Production
Dataminds - ML in Production
 
Build Deep Learning Applications with TensorFlow & SageMaker: Machine Learnin...
Build Deep Learning Applications with TensorFlow & SageMaker: Machine Learnin...Build Deep Learning Applications with TensorFlow & SageMaker: Machine Learnin...
Build Deep Learning Applications with TensorFlow & SageMaker: Machine Learnin...
 
MongoDB Days UK: Building Apps with the MEAN Stack
MongoDB Days UK: Building Apps with the MEAN StackMongoDB Days UK: Building Apps with the MEAN Stack
MongoDB Days UK: Building Apps with the MEAN Stack
 
2020 10 22 AI Fundamentals - Azure Machine Learning
2020 10 22 AI Fundamentals - Azure Machine Learning2020 10 22 AI Fundamentals - Azure Machine Learning
2020 10 22 AI Fundamentals - Azure Machine Learning
 
AI on a PI
AI on a PIAI on a PI
AI on a PI
 
Building AI-Driven Apps Using Semantic Kernel.pptx
Building AI-Driven Apps Using Semantic Kernel.pptxBuilding AI-Driven Apps Using Semantic Kernel.pptx
Building AI-Driven Apps Using Semantic Kernel.pptx
 
AWS Machine Learning Week SF: Amazon SageMaker & TensorFlow
AWS Machine Learning Week SF: Amazon SageMaker & TensorFlowAWS Machine Learning Week SF: Amazon SageMaker & TensorFlow
AWS Machine Learning Week SF: Amazon SageMaker & TensorFlow
 
Ako prepojiť aplikáciu s Elasticsearch
Ako prepojiť aplikáciu s ElasticsearchAko prepojiť aplikáciu s Elasticsearch
Ako prepojiť aplikáciu s Elasticsearch
 
Introduction to A-Frame
Introduction to A-FrameIntroduction to A-Frame
Introduction to A-Frame
 
Unity and Microsoft Azure Cognitive Services - DIGITREK21 Workshop
Unity and Microsoft Azure Cognitive Services - DIGITREK21 WorkshopUnity and Microsoft Azure Cognitive Services - DIGITREK21 Workshop
Unity and Microsoft Azure Cognitive Services - DIGITREK21 Workshop
 
Intro to computer vision in .net update
Intro to computer vision in .net   updateIntro to computer vision in .net   update
Intro to computer vision in .net update
 
Get started with building native mobile apps interacting with SharePoint
Get started with building native mobile apps interacting with SharePointGet started with building native mobile apps interacting with SharePoint
Get started with building native mobile apps interacting with SharePoint
 
Demystifying Machine Learning on AWS
Demystifying Machine Learning on AWSDemystifying Machine Learning on AWS
Demystifying Machine Learning on AWS
 
Getting started with titanium
Getting started with titaniumGetting started with titanium
Getting started with titanium
 
Make your Backbone Application dance
Make your Backbone Application danceMake your Backbone Application dance
Make your Backbone Application dance
 

Recently uploaded

UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling ExtensionsUI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
Peter Muessig
 
Odoo ERP Vs. Traditional ERP Systems – A Comparative Analysis
Odoo ERP Vs. Traditional ERP Systems – A Comparative AnalysisOdoo ERP Vs. Traditional ERP Systems – A Comparative Analysis
Odoo ERP Vs. Traditional ERP Systems – A Comparative Analysis
Envertis Software Solutions
 
在线购买加拿大英属哥伦比亚大学毕业证本科学位证书原版一模一样
在线购买加拿大英属哥伦比亚大学毕业证本科学位证书原版一模一样在线购买加拿大英属哥伦比亚大学毕业证本科学位证书原版一模一样
在线购买加拿大英属哥伦比亚大学毕业证本科学位证书原版一模一样
mz5nrf0n
 
zOS Mainframe JES2-JES3 JCL-JECL Differences
zOS Mainframe JES2-JES3 JCL-JECL DifferenceszOS Mainframe JES2-JES3 JCL-JECL Differences
zOS Mainframe JES2-JES3 JCL-JECL Differences
YousufSait3
 
SQL Accounting Software Brochure Malaysia
SQL Accounting Software Brochure MalaysiaSQL Accounting Software Brochure Malaysia
SQL Accounting Software Brochure Malaysia
GohKiangHock
 
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s EcosystemUI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
Peter Muessig
 
一比一原版(USF毕业证)旧金山大学毕业证如何办理
一比一原版(USF毕业证)旧金山大学毕业证如何办理一比一原版(USF毕业证)旧金山大学毕业证如何办理
一比一原版(USF毕业证)旧金山大学毕业证如何办理
dakas1
 
How to write a program in any programming language
How to write a program in any programming languageHow to write a program in any programming language
How to write a program in any programming language
Rakesh Kumar R
 
E-commerce Development Services- Hornet Dynamics
E-commerce Development Services- Hornet DynamicsE-commerce Development Services- Hornet Dynamics
E-commerce Development Services- Hornet Dynamics
Hornet Dynamics
 
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, FactsALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
Green Software Development
 
Top 9 Trends in Cybersecurity for 2024.pptx
Top 9 Trends in Cybersecurity for 2024.pptxTop 9 Trends in Cybersecurity for 2024.pptx
Top 9 Trends in Cybersecurity for 2024.pptx
devvsandy
 
Hand Rolled Applicative User Validation Code Kata
Hand Rolled Applicative User ValidationCode KataHand Rolled Applicative User ValidationCode Kata
Hand Rolled Applicative User Validation Code Kata
Philip Schwarz
 
Mobile app Development Services | Drona Infotech
Mobile app Development Services  | Drona InfotechMobile app Development Services  | Drona Infotech
Mobile app Development Services | Drona Infotech
Drona Infotech
 
All you need to know about Spring Boot and GraalVM
All you need to know about Spring Boot and GraalVMAll you need to know about Spring Boot and GraalVM
All you need to know about Spring Boot and GraalVM
Alina Yurenko
 
GreenCode-A-VSCode-Plugin--Dario-Jurisic
GreenCode-A-VSCode-Plugin--Dario-JurisicGreenCode-A-VSCode-Plugin--Dario-Jurisic
GreenCode-A-VSCode-Plugin--Dario-Jurisic
Green Software Development
 
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
Bert Jan Schrijver
 
WWDC 2024 Keynote Review: For CocoaCoders Austin
WWDC 2024 Keynote Review: For CocoaCoders AustinWWDC 2024 Keynote Review: For CocoaCoders Austin
WWDC 2024 Keynote Review: For CocoaCoders Austin
Patrick Weigel
 
Oracle 23c New Features For DBAs and Developers.pptx
Oracle 23c New Features For DBAs and Developers.pptxOracle 23c New Features For DBAs and Developers.pptx
Oracle 23c New Features For DBAs and Developers.pptx
Remote DBA Services
 
Webinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for EmbeddedWebinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for Embedded
ICS
 
What next after learning python programming basics
What next after learning python programming basicsWhat next after learning python programming basics
What next after learning python programming basics
Rakesh Kumar R
 

Recently uploaded (20)

UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling ExtensionsUI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
 
Odoo ERP Vs. Traditional ERP Systems – A Comparative Analysis
Odoo ERP Vs. Traditional ERP Systems – A Comparative AnalysisOdoo ERP Vs. Traditional ERP Systems – A Comparative Analysis
Odoo ERP Vs. Traditional ERP Systems – A Comparative Analysis
 
在线购买加拿大英属哥伦比亚大学毕业证本科学位证书原版一模一样
在线购买加拿大英属哥伦比亚大学毕业证本科学位证书原版一模一样在线购买加拿大英属哥伦比亚大学毕业证本科学位证书原版一模一样
在线购买加拿大英属哥伦比亚大学毕业证本科学位证书原版一模一样
 
zOS Mainframe JES2-JES3 JCL-JECL Differences
zOS Mainframe JES2-JES3 JCL-JECL DifferenceszOS Mainframe JES2-JES3 JCL-JECL Differences
zOS Mainframe JES2-JES3 JCL-JECL Differences
 
SQL Accounting Software Brochure Malaysia
SQL Accounting Software Brochure MalaysiaSQL Accounting Software Brochure Malaysia
SQL Accounting Software Brochure Malaysia
 
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s EcosystemUI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
 
一比一原版(USF毕业证)旧金山大学毕业证如何办理
一比一原版(USF毕业证)旧金山大学毕业证如何办理一比一原版(USF毕业证)旧金山大学毕业证如何办理
一比一原版(USF毕业证)旧金山大学毕业证如何办理
 
How to write a program in any programming language
How to write a program in any programming languageHow to write a program in any programming language
How to write a program in any programming language
 
E-commerce Development Services- Hornet Dynamics
E-commerce Development Services- Hornet DynamicsE-commerce Development Services- Hornet Dynamics
E-commerce Development Services- Hornet Dynamics
 
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, FactsALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
 
Top 9 Trends in Cybersecurity for 2024.pptx
Top 9 Trends in Cybersecurity for 2024.pptxTop 9 Trends in Cybersecurity for 2024.pptx
Top 9 Trends in Cybersecurity for 2024.pptx
 
Hand Rolled Applicative User Validation Code Kata
Hand Rolled Applicative User ValidationCode KataHand Rolled Applicative User ValidationCode Kata
Hand Rolled Applicative User Validation Code Kata
 
Mobile app Development Services | Drona Infotech
Mobile app Development Services  | Drona InfotechMobile app Development Services  | Drona Infotech
Mobile app Development Services | Drona Infotech
 
All you need to know about Spring Boot and GraalVM
All you need to know about Spring Boot and GraalVMAll you need to know about Spring Boot and GraalVM
All you need to know about Spring Boot and GraalVM
 
GreenCode-A-VSCode-Plugin--Dario-Jurisic
GreenCode-A-VSCode-Plugin--Dario-JurisicGreenCode-A-VSCode-Plugin--Dario-Jurisic
GreenCode-A-VSCode-Plugin--Dario-Jurisic
 
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
 
WWDC 2024 Keynote Review: For CocoaCoders Austin
WWDC 2024 Keynote Review: For CocoaCoders AustinWWDC 2024 Keynote Review: For CocoaCoders Austin
WWDC 2024 Keynote Review: For CocoaCoders Austin
 
Oracle 23c New Features For DBAs and Developers.pptx
Oracle 23c New Features For DBAs and Developers.pptxOracle 23c New Features For DBAs and Developers.pptx
Oracle 23c New Features For DBAs and Developers.pptx
 
Webinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for EmbeddedWebinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for Embedded
 
What next after learning python programming basics
What next after learning python programming basicsWhat next after learning python programming basics
What next after learning python programming basics
 

Mood analyzer-virtual-dev-conf

Editor's Notes

  1. Devices that can remember, learn, understand and recognize things
  2. ML is all about the ability to learn. Applications that can learn without hardcoding different scenarios.
  3. ML is used in many applications to detect the patterns, Is this a cat or a dog. In order to detect these patterns, you need to use different techniques. ANN: Mimics the way that human brain works DL: Learn from many layers of analysis where each layer has the input from the previous layer
  4. AI is the overall concept to make computers intelligent
  5. You use Machine learning to analyze the data
  6. You use Machine learning to analyze the data
  7. This data contains patterns. How a cat looks like or How a dog looks like
  8. You analyze this data with Machine learning algorithm
  9. To find patterns
  10. With those we create a Model, which is the outcome of this process
  11. Model is the thing to recognizes the patterns
  12. This process is also called training a model
  13. Now application can enter data to see if it can recognize a pattern.
  14. Preparing a set of data with diversity and covers the edge cases
  15. Creating the algorithms and choosing the techniques can be challenging. Also testing the outcome and making sure we get the right result is also super challenging.
  16. This is not the most difficult way, but still it’s challenging to find a secure way with having the performance in mind
  17. Cognitive Services are RESTful APIs that exposes ML models to the outside world.
  18. Azure makes sure that the Cognitive Services are available, secured and perform well. We just need to communicate with the API
  19. Computer vision -> Analyze the data and return information like 4 storm troopers standing and sky is blue
  20. Video Indexer -> Analyze the video and extract the text and recognizes things that are in the video
  21. Face -> Detect faces and extract information about the face Custom Vision -> Upload different pictures of Princess Lea for training, so it can recognizes princess Lea
  22. Ink -> Recognize digital ink and handwriting, and pinpoint common shapes.
  23. Form -> Extract text, key-value pairs, and tables from documents.
  24. Custom vision -> Customize image recognition to fit your business needs. Custom Vision -> Upload different pictures of Princess Lea for training, so it can recognizes princess Lea
  25. You can even create a guest account to try it without providing Credit card info and no data will be saved after trial is over (7 days)
  26. https://github.com/sazimi/ng-mood-analyzer
  27. create template references to the two components by @ViewChild
  28. We need to declare some configuration properties for our camera. (Constrains)
  29. We need Angular’s Renderer2 class. This is the safest way to set values on our template elements
  30. We need this method to check for device cameras and request permission from the user:
  31. On success, we’ll attach the stream from the camera to the HTML video element in our template:
  32. add a listener to store the video’s height and width when the video starts. 
  33. Create an image file
  34. https://beam.enjin.io/claim/c87ea2a675828d8970577a57a9da3044
  35. https://aka.ms/mood-analyzer
  36. https://docs.microsoft.com/en-us/learn/modules/replace-faces-with-emojis-matching-emotion https://dev.to/stratiteq/where-s-chewie-object-detection-with-azure-custom-vision-lne https://dev.to/azure/getting-started-with-azure-cognitive-services-cma https://docs.microsoft.com/en-us/learn/modules/classify-user-feedback-with-the-text-analytics-api/?wt.mc_id=cognitiveservices-nativescriptdeveloperdays-shlist
  37. Speaker recognition -> Identify people based on their speech Speech Translation -> Listen and translate to text
  38. Speaker recognition -> Identify people based on their speech Speech Translation -> Listen and translate to text
  39. Language Understanding -> You feeding it with the command and train it to what it means and after that it understands Text Analytics: Analyze a text in order to get the sentiment of a text (Positive/Negative), detect the language, extract the key phrase from a piece of text and retrieve the topics
  40. Language Understanding -> You feeding it with the command and train it to what it means and after that it understands Text Analytics: Analyze a text in order to get the sentiment of a text (Positive/Negative), detect the language, extract the key phrase from a piece of text and retrieve the topics
  41. Bing Custom Search -> Corporate search engine Bing Entity Search -> Detects pictures or persons to enrich the result