SlideShare una empresa de Scribd logo
1 de 40
CLOUD STUDY JAM
ML API
GDG Taichung
Duran Hsieh
AGENDA
• Requirements
• Classify Text into Categories with
the Natural Language API
• Detect Labels, Faces, and
Landmarks in Images with the
Cloud Vision API
• Detect Labels, Faces, and
Landmarks in Images with the
Cloud Vision API
• Q&A
REQUIREMENTS
4Presented By: Duran Hsieh
REQUIREMENTS
• 取得API KET,寫入環境變數
• export API_KEY=<YOUR_API_KEY>
• 專案名稱寫入 環境變數
• export PROJECT=<your_project_name>
• 將建立Storage bucket,將圖片放入 storage
• 建立 request.json
• 呼叫 API 取得結果
CLASSIFY TEXT INTO
CATEGORIES WITH THE
NATURAL LANGUAGE API
6Presented By: Duran Hsieh
CLASSIFY TEXT INTO CATEGORIES WITH THE NATURAL
LANGUAGE API
• Classify a news article
• 透過新聞內文,推測文章表達意思
7Presented By: Duran Hsieh
CLASSIFY TEXT INTO CATEGORIES WITH THE NATURAL
LANGUAGE API
• 啟用 Natural Language API
8Presented By: Duran Hsieh
CLASSIFY TEXT INTO CATEGORIES WITH THE NATURAL
LANGUAGE API
• 建立API Key
• 記錄下來,後續呼叫API會用到
9Presented By: Duran Hsieh
CLASSIFY TEXT INTO CATEGORIES WITH THE NATURAL
LANGUAGE API
• 開啟 cloud shell,存入環境變數
• export API_KEY=<YOUR_API_KEY>
10Presented By: Duran Hsieh
CLASSIFY TEXT INTO CATEGORIES WITH THE NATURAL
LANGUAGE API
• 開啟 Code Editor
• 雖然是 Beta 版,但建立json檔案好方便 (file > new file)
11Presented By: Duran Hsieh
CLASSIFY TEXT INTO CATEGORIES WITH THE NATURAL
LANGUAGE API
• 呼叫 API
• curl
“https://language.googleapis.com/v1/documents:c
lassifyText?key=${API_KEY}”
 -s -X POST -H "Content-Type: application/json" --
data-binary @request.json
12Presented By: Duran Hsieh
CLASSIFY TEXT INTO CATEGORIES WITH THE NATURAL
LANGUAGE API
• Creating a BigQuery table for our categorized
text
• 建立 BigQuery Table
• 透過 API 與 py 將分析後的文字放入各個欄位
• 透過 BigQuery 查詢,得到結果並
13Presented By: Duran Hsieh
CLASSIFY TEXT INTO CATEGORIES WITH THE NATURAL
LANGUAGE API
• 開啟 BigQuery
• 依序建立 dataset、datatable
• 開啟 BigQuery
• 依序建立 dataset、datatable
14Presented By: Duran Hsieh
CLASSIFY TEXT INTO CATEGORIES WITH THE NATURAL
LANGUAGE API
• 開啟 BigQuery
• 依序建立 dataset、datatable
• 開啟 BigQuery
• 依序建立 dataset、datatable
15Presented By: Duran Hsieh
CLASSIFY TEXT INTO CATEGORIES WITH THE NATURAL
LANGUAGE API
• 專案名稱寫入 環境變數
• export PROJECT=<your_project_name>
16Presented By: Duran Hsieh
CLASSIFY TEXT INTO CATEGORIES WITH THE NATURAL
LANGUAGE API
• create a service account
gcloud iam service-accounts create my-account --
display-name my-account
gcloud projects add-iam-policy-binding $PROJECT --
member=serviceAccount:my-
account@$PROJECT.iam.gserviceaccount.com --
role=roles/bigquery.admin
gcloud iam service-accounts keys create key.json --
iam-account=my-
account@$PROJECT.iam.gserviceaccount.com
export
GOOGLE_APPLICATION_CREDENTIALS=key.json
17Presented By: Duran Hsieh
CLASSIFY TEXT INTO CATEGORIES WITH THE NATURAL
LANGUAGE API
• 建立classify-text.py,替換project 名稱,並執行
python classify-text.py
18Presented By: Duran Hsieh
CLASSIFY TEXT INTO CATEGORIES WITH THE NATURAL
LANGUAGE API
• BigQuery 下查詢
DETECT LABELS, FACES,
AND LANDMARKS IN
IMAGES WITH THE CLOUD
VISION API
20Presented By: Duran Hsieh
DETECT LABELS, FACES, AND LANDMARKS IN IMAGES WITH
THE CLOUD VISION API
• 前置作業
• Create an API Key
• 放入環境變數
• 建立 storage - bucket
21Presented By: Duran Hsieh
DETECT LABELS, FACES, AND LANDMARKS IN IMAGES WITH
THE CLOUD VISION API
• Upload an image to your bucket
• 分析圖片內容,是什麼?
• Web Detection
• 找到網路上相似的圖片
• Face and Landmark Detection
• 人臉辨識
22Presented By: Duran Hsieh
DETECT LABELS, FACES, AND LANDMARKS IN IMAGES WITH
THE CLOUD VISION API
• Upload an image to your bucket
• 放入圖片到 bucket、設定權限
23Presented By: Duran Hsieh
DETECT LABELS, FACES, AND LANDMARKS IN IMAGES WITH
THE CLOUD VISION API
• Upload an image to your bucket
• 呼叫API 取得結果
24Presented By: Duran Hsieh
DETECT LABELS, FACES, AND LANDMARKS IN IMAGES WITH
THE CLOUD VISION API
• Web Detection
• from LABEL_DETECTION to WEB_DETECTION
25Presented By: Duran Hsieh
DETECT LABELS, FACES, AND LANDMARKS IN IMAGES WITH
THE CLOUD VISION API
• Web Detection
• Result
26Presented By: Duran Hsieh
DETECT LABELS, FACES, AND LANDMARKS IN IMAGES WITH
THE CLOUD VISION API
• Upload an image to your bucket
• 放入圖片到 bucket、設定權限
27Presented By: Duran Hsieh
DETECT LABELS, FACES, AND LANDMARKS IN IMAGES WITH
THE CLOUD VISION API
• Face and Landmark Detection
• Type 改成 FACE_DETECTION 與 LANDMARK_DETECTION
28Presented By: Duran Hsieh
DETECT LABELS, FACES, AND LANDMARKS IN IMAGES WITH
THE CLOUD VISION API
• Face and Landmark Detection
• Result
ENTITY AND
SENTIMENT ANALYSIS
WITH THE NATURAL
LANGUAGE API
30Presented By: Duran Hsieh
ENTITY AND SENTIMENT ANALYSIS WITH THE NATURAL
LANGUAGE API
• 前置作業
• Create an API Key
• 放入環境變數
31Presented By: Duran Hsieh
ENTITY AND SENTIMENT ANALYSIS WITH THE NATURAL
LANGUAGE API
• Call the Natural Language API
• 解析句子,做字詞分析、歸類
• Sentiment analysis with the Natural Language
API
• 情緒分析
• Analyzing entity sentiment
• 實體與情緒分析
• Analyzing syntax and parts of speech
• 語意分析
• Multilingual natural language processing
• 多國自然語言處理
32Presented By: Duran Hsieh
ENTITY AND SENTIMENT ANALYSIS WITH THE NATURAL
LANGUAGE API
• Call the Natural Language API
• 建置 request.json 與呼叫 API
33Presented By: Duran Hsieh
ENTITY AND SENTIMENT ANALYSIS WITH THE NATURAL
LANGUAGE API
• 結果
34Presented By: Duran Hsieh
ENTITY AND SENTIMENT ANALYSIS WITH THE NATURAL
LANGUAGE API
• Sentiment analysis with the Natural Language
API
35Presented By: Duran Hsieh
ENTITY AND SENTIMENT ANALYSIS WITH THE NATURAL
LANGUAGE API
• Analyzing entity sentiment
36Presented By: Duran Hsieh
ENTITY AND SENTIMENT ANALYSIS WITH THE NATURAL
LANGUAGE API
• Analyzing entity sentiment
37Presented By: Duran Hsieh
ENTITY AND SENTIMENT ANALYSIS WITH THE NATURAL
LANGUAGE API
• Analyzing syntax and parts of speech
38Presented By: Duran Hsieh
ENTITY AND SENTIMENT ANALYSIS WITH THE NATURAL
LANGUAGE API
• Multilingual natural language processing
QUESTION & ANSWERS
THANK YOU FOR
WATCHING

Más contenido relacionado

La actualidad más candente

Contract-based Testing Approach as a Tool for Shift Lef
Contract-based Testing Approach as a Tool for Shift LefContract-based Testing Approach as a Tool for Shift Lef
Contract-based Testing Approach as a Tool for Shift LefKatherine Golovinova
 
The Power of Azure DevOps - Global Azure Day 2020
The Power of Azure DevOps - Global Azure Day 2020The Power of Azure DevOps - Global Azure Day 2020
The Power of Azure DevOps - Global Azure Day 2020Jeff Bramwell
 
Infrastructure as Code (BBWorld/DevCon13)
Infrastructure as Code (BBWorld/DevCon13)Infrastructure as Code (BBWorld/DevCon13)
Infrastructure as Code (BBWorld/DevCon13)Mike McGarr
 
Building a Service Delivery Platform - JCICPH 2014
Building a Service Delivery Platform - JCICPH 2014Building a Service Delivery Platform - JCICPH 2014
Building a Service Delivery Platform - JCICPH 2014Andreas Rehn
 
Deploying Apps on OpenStack
Deploying Apps on OpenStackDeploying Apps on OpenStack
Deploying Apps on OpenStackAnne Gentle
 
Continues Integration and Continuous Delivery with Azure DevOps - Deploy Anyt...
Continues Integration and Continuous Delivery with Azure DevOps - Deploy Anyt...Continues Integration and Continuous Delivery with Azure DevOps - Deploy Anyt...
Continues Integration and Continuous Delivery with Azure DevOps - Deploy Anyt...Janusz Nowak
 
Continuous Delivery with Jenkins and Wildfly (2014)
Continuous Delivery with Jenkins and Wildfly (2014)Continuous Delivery with Jenkins and Wildfly (2014)
Continuous Delivery with Jenkins and Wildfly (2014)Tracy Kennedy
 
Git and GitHub for Documentation
Git and GitHub for DocumentationGit and GitHub for Documentation
Git and GitHub for DocumentationAnne Gentle
 
Using Docker for Testing
Using Docker for TestingUsing Docker for Testing
Using Docker for TestingMukta Aphale
 
All Day DevOps - Azure DevOps from Start to Star
All Day DevOps - Azure DevOps from Start to StarAll Day DevOps - Azure DevOps from Start to Star
All Day DevOps - Azure DevOps from Start to StarÁngel Rayo
 
Accelerating DevOps with ChatOps
Accelerating DevOps with ChatOpsAccelerating DevOps with ChatOps
Accelerating DevOps with ChatOpsRohan Rath
 
DevOps and AWS - Code PaLOUsa 2017
DevOps and AWS  - Code PaLOUsa 2017DevOps and AWS  - Code PaLOUsa 2017
DevOps and AWS - Code PaLOUsa 2017James Strong
 
UGIdotNET App Modernisation Keynote
UGIdotNET App Modernisation KeynoteUGIdotNET App Modernisation Keynote
UGIdotNET App Modernisation KeynoteLorenzo Barbieri
 
Software Delivery at Warp Speed: Five Essential Techniques
Software Delivery at Warp Speed: Five Essential TechniquesSoftware Delivery at Warp Speed: Five Essential Techniques
Software Delivery at Warp Speed: Five Essential TechniquesAtlassian
 
Deep Dive on Continuous Integration and Continuous Delivery in Anypoint Platf...
Deep Dive on Continuous Integration and Continuous Delivery in Anypoint Platf...Deep Dive on Continuous Integration and Continuous Delivery in Anypoint Platf...
Deep Dive on Continuous Integration and Continuous Delivery in Anypoint Platf...NaimishKakkad2
 
Docker Enables DevOps
Docker Enables DevOpsDocker Enables DevOps
Docker Enables DevOpsBoyd Hemphill
 
Jenkins + Docker = Continuous Improvement
Jenkins + Docker = Continuous ImprovementJenkins + Docker = Continuous Improvement
Jenkins + Docker = Continuous ImprovementUdaypal Aarkoti
 
From GitHub Source to GitHub Release: Free CICD Pipelines For JavaFX Apps
From GitHub Source to GitHub Release: Free CICD Pipelines For JavaFX AppsFrom GitHub Source to GitHub Release: Free CICD Pipelines For JavaFX Apps
From GitHub Source to GitHub Release: Free CICD Pipelines For JavaFX AppsBruno Borges
 

La actualidad más candente (20)

Contract-based Testing Approach as a Tool for Shift Lef
Contract-based Testing Approach as a Tool for Shift LefContract-based Testing Approach as a Tool for Shift Lef
Contract-based Testing Approach as a Tool for Shift Lef
 
The Power of Azure DevOps - Global Azure Day 2020
The Power of Azure DevOps - Global Azure Day 2020The Power of Azure DevOps - Global Azure Day 2020
The Power of Azure DevOps - Global Azure Day 2020
 
Infrastructure as Code (BBWorld/DevCon13)
Infrastructure as Code (BBWorld/DevCon13)Infrastructure as Code (BBWorld/DevCon13)
Infrastructure as Code (BBWorld/DevCon13)
 
Building a Service Delivery Platform - JCICPH 2014
Building a Service Delivery Platform - JCICPH 2014Building a Service Delivery Platform - JCICPH 2014
Building a Service Delivery Platform - JCICPH 2014
 
Deploying Apps on OpenStack
Deploying Apps on OpenStackDeploying Apps on OpenStack
Deploying Apps on OpenStack
 
Jenkins Reviewbot
Jenkins ReviewbotJenkins Reviewbot
Jenkins Reviewbot
 
GitHub for partners
GitHub for partnersGitHub for partners
GitHub for partners
 
Continues Integration and Continuous Delivery with Azure DevOps - Deploy Anyt...
Continues Integration and Continuous Delivery with Azure DevOps - Deploy Anyt...Continues Integration and Continuous Delivery with Azure DevOps - Deploy Anyt...
Continues Integration and Continuous Delivery with Azure DevOps - Deploy Anyt...
 
Continuous Delivery with Jenkins and Wildfly (2014)
Continuous Delivery with Jenkins and Wildfly (2014)Continuous Delivery with Jenkins and Wildfly (2014)
Continuous Delivery with Jenkins and Wildfly (2014)
 
Git and GitHub for Documentation
Git and GitHub for DocumentationGit and GitHub for Documentation
Git and GitHub for Documentation
 
Using Docker for Testing
Using Docker for TestingUsing Docker for Testing
Using Docker for Testing
 
All Day DevOps - Azure DevOps from Start to Star
All Day DevOps - Azure DevOps from Start to StarAll Day DevOps - Azure DevOps from Start to Star
All Day DevOps - Azure DevOps from Start to Star
 
Accelerating DevOps with ChatOps
Accelerating DevOps with ChatOpsAccelerating DevOps with ChatOps
Accelerating DevOps with ChatOps
 
DevOps and AWS - Code PaLOUsa 2017
DevOps and AWS  - Code PaLOUsa 2017DevOps and AWS  - Code PaLOUsa 2017
DevOps and AWS - Code PaLOUsa 2017
 
UGIdotNET App Modernisation Keynote
UGIdotNET App Modernisation KeynoteUGIdotNET App Modernisation Keynote
UGIdotNET App Modernisation Keynote
 
Software Delivery at Warp Speed: Five Essential Techniques
Software Delivery at Warp Speed: Five Essential TechniquesSoftware Delivery at Warp Speed: Five Essential Techniques
Software Delivery at Warp Speed: Five Essential Techniques
 
Deep Dive on Continuous Integration and Continuous Delivery in Anypoint Platf...
Deep Dive on Continuous Integration and Continuous Delivery in Anypoint Platf...Deep Dive on Continuous Integration and Continuous Delivery in Anypoint Platf...
Deep Dive on Continuous Integration and Continuous Delivery in Anypoint Platf...
 
Docker Enables DevOps
Docker Enables DevOpsDocker Enables DevOps
Docker Enables DevOps
 
Jenkins + Docker = Continuous Improvement
Jenkins + Docker = Continuous ImprovementJenkins + Docker = Continuous Improvement
Jenkins + Docker = Continuous Improvement
 
From GitHub Source to GitHub Release: Free CICD Pipelines For JavaFX Apps
From GitHub Source to GitHub Release: Free CICD Pipelines For JavaFX AppsFrom GitHub Source to GitHub Release: Free CICD Pipelines For JavaFX Apps
From GitHub Source to GitHub Release: Free CICD Pipelines For JavaFX Apps
 

Similar a Cloud Study Jam ML API 3

"API Design: From User Need to Finished Spec" by Andrew Jordan, ex-Product @T...
"API Design: From User Need to Finished Spec" by Andrew Jordan, ex-Product @T..."API Design: From User Need to Finished Spec" by Andrew Jordan, ex-Product @T...
"API Design: From User Need to Finished Spec" by Andrew Jordan, ex-Product @T...TheFamily
 
Collaborative Line of Business Applications on IBM Bluemix
Collaborative Line of Business Applications on IBM BluemixCollaborative Line of Business Applications on IBM Bluemix
Collaborative Line of Business Applications on IBM BluemixNiklas Heidloff
 
Introduction to cypress in Angular (Chinese)
Introduction to cypress in Angular (Chinese)Introduction to cypress in Angular (Chinese)
Introduction to cypress in Angular (Chinese)Hong Tat Yew
 
Untangling - fall2017 - week 9
Untangling - fall2017 - week 9Untangling - fall2017 - week 9
Untangling - fall2017 - week 9Derek Jacoby
 
London Community Summit - Chef at SkyBet
London Community Summit - Chef at SkyBetLondon Community Summit - Chef at SkyBet
London Community Summit - Chef at SkyBetChef
 
Serverless with Spring Cloud Function, Knative and riff #SpringOneTour #s1t
Serverless with Spring Cloud Function, Knative and riff #SpringOneTour #s1tServerless with Spring Cloud Function, Knative and riff #SpringOneTour #s1t
Serverless with Spring Cloud Function, Knative and riff #SpringOneTour #s1tToshiaki Maki
 
Building a REST API Microservice for the DevNet API Scavenger Hunt
Building a REST API Microservice for the DevNet API Scavenger HuntBuilding a REST API Microservice for the DevNet API Scavenger Hunt
Building a REST API Microservice for the DevNet API Scavenger HuntAshley Roach
 
How Netflix Is Solving Authorization Across Their Cloud
How Netflix Is Solving Authorization Across Their CloudHow Netflix Is Solving Authorization Across Their Cloud
How Netflix Is Solving Authorization Across Their CloudTorin Sandall
 
Building an Academic Program Database and API with Contentful and Amazon Web ...
Building an Academic Program Database and API with Contentful and Amazon Web ...Building an Academic Program Database and API with Contentful and Amazon Web ...
Building an Academic Program Database and API with Contentful and Amazon Web ...Dave Olsen
 
How we built a job board in one week with JHipster
How we built a job board in one week with JHipsterHow we built a job board in one week with JHipster
How we built a job board in one week with JHipsterKile Niklawski
 
How we built a job board in one week with JHipster - @KileNiklawski @IpponUSA
How we built a job board in one week with JHipster - @KileNiklawski @IpponUSAHow we built a job board in one week with JHipster - @KileNiklawski @IpponUSA
How we built a job board in one week with JHipster - @KileNiklawski @IpponUSAKile Niklawski
 
Orange developers day - Hibernate Search Workshop
Orange developers day - Hibernate Search WorkshopOrange developers day - Hibernate Search Workshop
Orange developers day - Hibernate Search WorkshopGamal Shaban
 
Infrastructure Is Code with the AWS Cloud Development Kit (DEV372) - AWS re:I...
Infrastructure Is Code with the AWS Cloud Development Kit (DEV372) - AWS re:I...Infrastructure Is Code with the AWS Cloud Development Kit (DEV372) - AWS re:I...
Infrastructure Is Code with the AWS Cloud Development Kit (DEV372) - AWS re:I...Amazon Web Services
 
Forced Evolution: Shopify's Journey to Kubernetes
Forced Evolution: Shopify's Journey to KubernetesForced Evolution: Shopify's Journey to Kubernetes
Forced Evolution: Shopify's Journey to KubernetesC4Media
 
Deep Dive on CI/CD NYC Meet Up Group
Deep Dive on CI/CD NYC Meet Up GroupDeep Dive on CI/CD NYC Meet Up Group
Deep Dive on CI/CD NYC Meet Up GroupNeerajKumar1965
 
Authentication and Identity with Amazon Cognito & Analytics with Amazon Pinpoint
Authentication and Identity with Amazon Cognito & Analytics with Amazon PinpointAuthentication and Identity with Amazon Cognito & Analytics with Amazon Pinpoint
Authentication and Identity with Amazon Cognito & Analytics with Amazon PinpointAmazon Web Services
 

Similar a Cloud Study Jam ML API 3 (20)

77402_VishalLaljeet
77402_VishalLaljeet77402_VishalLaljeet
77402_VishalLaljeet
 
"API Design: From User Need to Finished Spec" by Andrew Jordan, ex-Product @T...
"API Design: From User Need to Finished Spec" by Andrew Jordan, ex-Product @T..."API Design: From User Need to Finished Spec" by Andrew Jordan, ex-Product @T...
"API Design: From User Need to Finished Spec" by Andrew Jordan, ex-Product @T...
 
Fire up your mobile app!
Fire up your mobile app!Fire up your mobile app!
Fire up your mobile app!
 
Collaborative Line of Business Applications on IBM Bluemix
Collaborative Line of Business Applications on IBM BluemixCollaborative Line of Business Applications on IBM Bluemix
Collaborative Line of Business Applications on IBM Bluemix
 
React Native Workshop
React Native WorkshopReact Native Workshop
React Native Workshop
 
Introduction to cypress in Angular (Chinese)
Introduction to cypress in Angular (Chinese)Introduction to cypress in Angular (Chinese)
Introduction to cypress in Angular (Chinese)
 
Untangling - fall2017 - week 9
Untangling - fall2017 - week 9Untangling - fall2017 - week 9
Untangling - fall2017 - week 9
 
London Community Summit - Chef at SkyBet
London Community Summit - Chef at SkyBetLondon Community Summit - Chef at SkyBet
London Community Summit - Chef at SkyBet
 
Serverless with Spring Cloud Function, Knative and riff #SpringOneTour #s1t
Serverless with Spring Cloud Function, Knative and riff #SpringOneTour #s1tServerless with Spring Cloud Function, Knative and riff #SpringOneTour #s1t
Serverless with Spring Cloud Function, Knative and riff #SpringOneTour #s1t
 
API Best Practices
API Best PracticesAPI Best Practices
API Best Practices
 
Building a REST API Microservice for the DevNet API Scavenger Hunt
Building a REST API Microservice for the DevNet API Scavenger HuntBuilding a REST API Microservice for the DevNet API Scavenger Hunt
Building a REST API Microservice for the DevNet API Scavenger Hunt
 
How Netflix Is Solving Authorization Across Their Cloud
How Netflix Is Solving Authorization Across Their CloudHow Netflix Is Solving Authorization Across Their Cloud
How Netflix Is Solving Authorization Across Their Cloud
 
Building an Academic Program Database and API with Contentful and Amazon Web ...
Building an Academic Program Database and API with Contentful and Amazon Web ...Building an Academic Program Database and API with Contentful and Amazon Web ...
Building an Academic Program Database and API with Contentful and Amazon Web ...
 
How we built a job board in one week with JHipster
How we built a job board in one week with JHipsterHow we built a job board in one week with JHipster
How we built a job board in one week with JHipster
 
How we built a job board in one week with JHipster - @KileNiklawski @IpponUSA
How we built a job board in one week with JHipster - @KileNiklawski @IpponUSAHow we built a job board in one week with JHipster - @KileNiklawski @IpponUSA
How we built a job board in one week with JHipster - @KileNiklawski @IpponUSA
 
Orange developers day - Hibernate Search Workshop
Orange developers day - Hibernate Search WorkshopOrange developers day - Hibernate Search Workshop
Orange developers day - Hibernate Search Workshop
 
Infrastructure Is Code with the AWS Cloud Development Kit (DEV372) - AWS re:I...
Infrastructure Is Code with the AWS Cloud Development Kit (DEV372) - AWS re:I...Infrastructure Is Code with the AWS Cloud Development Kit (DEV372) - AWS re:I...
Infrastructure Is Code with the AWS Cloud Development Kit (DEV372) - AWS re:I...
 
Forced Evolution: Shopify's Journey to Kubernetes
Forced Evolution: Shopify's Journey to KubernetesForced Evolution: Shopify's Journey to Kubernetes
Forced Evolution: Shopify's Journey to Kubernetes
 
Deep Dive on CI/CD NYC Meet Up Group
Deep Dive on CI/CD NYC Meet Up GroupDeep Dive on CI/CD NYC Meet Up Group
Deep Dive on CI/CD NYC Meet Up Group
 
Authentication and Identity with Amazon Cognito & Analytics with Amazon Pinpoint
Authentication and Identity with Amazon Cognito & Analytics with Amazon PinpointAuthentication and Identity with Amazon Cognito & Analytics with Amazon Pinpoint
Authentication and Identity with Amazon Cognito & Analytics with Amazon Pinpoint
 

Más de Duran Hsieh

聽微軟專家說為何.NET開發非學不可?
聽微軟專家說為何.NET開發非學不可?聽微軟專家說為何.NET開發非學不可?
聽微軟專家說為何.NET開發非學不可?Duran Hsieh
 
DevSecOps 實踐與 GitHub 進階安全: 建立安全的開發流程
DevSecOps 實踐與 GitHub 進階安全: 建立安全的開發流程DevSecOps 實踐與 GitHub 進階安全: 建立安全的開發流程
DevSecOps 實踐與 GitHub 進階安全: 建立安全的開發流程Duran Hsieh
 
Visual Studio Dev Tunnel.pdf
Visual Studio Dev Tunnel.pdfVisual Studio Dev Tunnel.pdf
Visual Studio Dev Tunnel.pdfDuran Hsieh
 
GDG Taichung: What is new in Firebase
GDG Taichung: What is new in Firebase GDG Taichung: What is new in Firebase
GDG Taichung: What is new in Firebase Duran Hsieh
 
GDG Taichung - Flutter and Firebase.pdf
GDG Taichung - Flutter and Firebase.pdfGDG Taichung - Flutter and Firebase.pdf
GDG Taichung - Flutter and Firebase.pdfDuran Hsieh
 
GitHub Action Introduction
GitHub Action IntroductionGitHub Action Introduction
GitHub Action IntroductionDuran Hsieh
 
GDG Taichung: Cloud Study Jam ML API
GDG Taichung: Cloud Study Jam ML APIGDG Taichung: Cloud Study Jam ML API
GDG Taichung: Cloud Study Jam ML APIDuran Hsieh
 
GDG Taichung - Firebase Introduction 01
GDG Taichung - Firebase Introduction 01GDG Taichung - Firebase Introduction 01
GDG Taichung - Firebase Introduction 01Duran Hsieh
 
Study4TW .NET Conf Local Event Taichung 2018 slideshow
Study4TW .NET Conf Local Event Taichung 2018 slideshowStudy4TW .NET Conf Local Event Taichung 2018 slideshow
Study4TW .NET Conf Local Event Taichung 2018 slideshowDuran Hsieh
 
Microsoft recommendation solution on azure
Microsoft recommendation solution on azureMicrosoft recommendation solution on azure
Microsoft recommendation solution on azureDuran Hsieh
 
Microsoft professional program introduction
Microsoft professional program introductionMicrosoft professional program introduction
Microsoft professional program introductionDuran Hsieh
 
聰明的投資者
聰明的投資者聰明的投資者
聰明的投資者Duran Hsieh
 
聊天機器人概論 Introduce to chat bot sevices
聊天機器人概論 Introduce to chat bot sevices聊天機器人概論 Introduce to chat bot sevices
聊天機器人概論 Introduce to chat bot sevicesDuran Hsieh
 
Android 基礎課程補充資料
Android 基礎課程補充資料Android 基礎課程補充資料
Android 基礎課程補充資料Duran Hsieh
 
Android基礎課程3 - APP上架、廣告與 Facebook 登入
Android基礎課程3 - APP上架、廣告與 Facebook 登入Android基礎課程3 - APP上架、廣告與 Facebook 登入
Android基礎課程3 - APP上架、廣告與 Facebook 登入Duran Hsieh
 
Android基礎課程2 - google map android API
Android基礎課程2 - google map android APIAndroid基礎課程2 - google map android API
Android基礎課程2 - google map android APIDuran Hsieh
 
Android 基礎開發課程
Android 基礎開發課程Android 基礎開發課程
Android 基礎開發課程Duran Hsieh
 
[Study4TW Visual Studio Everywhere] asp.net core 實務開發經驗分享
[Study4TW Visual Studio Everywhere] asp.net core 實務開發經驗分享[Study4TW Visual Studio Everywhere] asp.net core 實務開發經驗分享
[Study4TW Visual Studio Everywhere] asp.net core 實務開發經驗分享Duran Hsieh
 
2016年逢甲大學資訊系:ASP.NET MVC 4 教育訓練6
2016年逢甲大學資訊系:ASP.NET MVC 4 教育訓練62016年逢甲大學資訊系:ASP.NET MVC 4 教育訓練6
2016年逢甲大學資訊系:ASP.NET MVC 4 教育訓練6Duran Hsieh
 
2016年逢甲大學資訊系:ASP.NET MVC 4 教育訓練5
2016年逢甲大學資訊系:ASP.NET MVC 4 教育訓練52016年逢甲大學資訊系:ASP.NET MVC 4 教育訓練5
2016年逢甲大學資訊系:ASP.NET MVC 4 教育訓練5Duran Hsieh
 

Más de Duran Hsieh (20)

聽微軟專家說為何.NET開發非學不可?
聽微軟專家說為何.NET開發非學不可?聽微軟專家說為何.NET開發非學不可?
聽微軟專家說為何.NET開發非學不可?
 
DevSecOps 實踐與 GitHub 進階安全: 建立安全的開發流程
DevSecOps 實踐與 GitHub 進階安全: 建立安全的開發流程DevSecOps 實踐與 GitHub 進階安全: 建立安全的開發流程
DevSecOps 實踐與 GitHub 進階安全: 建立安全的開發流程
 
Visual Studio Dev Tunnel.pdf
Visual Studio Dev Tunnel.pdfVisual Studio Dev Tunnel.pdf
Visual Studio Dev Tunnel.pdf
 
GDG Taichung: What is new in Firebase
GDG Taichung: What is new in Firebase GDG Taichung: What is new in Firebase
GDG Taichung: What is new in Firebase
 
GDG Taichung - Flutter and Firebase.pdf
GDG Taichung - Flutter and Firebase.pdfGDG Taichung - Flutter and Firebase.pdf
GDG Taichung - Flutter and Firebase.pdf
 
GitHub Action Introduction
GitHub Action IntroductionGitHub Action Introduction
GitHub Action Introduction
 
GDG Taichung: Cloud Study Jam ML API
GDG Taichung: Cloud Study Jam ML APIGDG Taichung: Cloud Study Jam ML API
GDG Taichung: Cloud Study Jam ML API
 
GDG Taichung - Firebase Introduction 01
GDG Taichung - Firebase Introduction 01GDG Taichung - Firebase Introduction 01
GDG Taichung - Firebase Introduction 01
 
Study4TW .NET Conf Local Event Taichung 2018 slideshow
Study4TW .NET Conf Local Event Taichung 2018 slideshowStudy4TW .NET Conf Local Event Taichung 2018 slideshow
Study4TW .NET Conf Local Event Taichung 2018 slideshow
 
Microsoft recommendation solution on azure
Microsoft recommendation solution on azureMicrosoft recommendation solution on azure
Microsoft recommendation solution on azure
 
Microsoft professional program introduction
Microsoft professional program introductionMicrosoft professional program introduction
Microsoft professional program introduction
 
聰明的投資者
聰明的投資者聰明的投資者
聰明的投資者
 
聊天機器人概論 Introduce to chat bot sevices
聊天機器人概論 Introduce to chat bot sevices聊天機器人概論 Introduce to chat bot sevices
聊天機器人概論 Introduce to chat bot sevices
 
Android 基礎課程補充資料
Android 基礎課程補充資料Android 基礎課程補充資料
Android 基礎課程補充資料
 
Android基礎課程3 - APP上架、廣告與 Facebook 登入
Android基礎課程3 - APP上架、廣告與 Facebook 登入Android基礎課程3 - APP上架、廣告與 Facebook 登入
Android基礎課程3 - APP上架、廣告與 Facebook 登入
 
Android基礎課程2 - google map android API
Android基礎課程2 - google map android APIAndroid基礎課程2 - google map android API
Android基礎課程2 - google map android API
 
Android 基礎開發課程
Android 基礎開發課程Android 基礎開發課程
Android 基礎開發課程
 
[Study4TW Visual Studio Everywhere] asp.net core 實務開發經驗分享
[Study4TW Visual Studio Everywhere] asp.net core 實務開發經驗分享[Study4TW Visual Studio Everywhere] asp.net core 實務開發經驗分享
[Study4TW Visual Studio Everywhere] asp.net core 實務開發經驗分享
 
2016年逢甲大學資訊系:ASP.NET MVC 4 教育訓練6
2016年逢甲大學資訊系:ASP.NET MVC 4 教育訓練62016年逢甲大學資訊系:ASP.NET MVC 4 教育訓練6
2016年逢甲大學資訊系:ASP.NET MVC 4 教育訓練6
 
2016年逢甲大學資訊系:ASP.NET MVC 4 教育訓練5
2016年逢甲大學資訊系:ASP.NET MVC 4 教育訓練52016年逢甲大學資訊系:ASP.NET MVC 4 教育訓練5
2016年逢甲大學資訊系:ASP.NET MVC 4 教育訓練5
 

Último

Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 

Último (20)

Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 

Cloud Study Jam ML API 3

  • 1. CLOUD STUDY JAM ML API GDG Taichung Duran Hsieh
  • 2. AGENDA • Requirements • Classify Text into Categories with the Natural Language API • Detect Labels, Faces, and Landmarks in Images with the Cloud Vision API • Detect Labels, Faces, and Landmarks in Images with the Cloud Vision API • Q&A
  • 4. 4Presented By: Duran Hsieh REQUIREMENTS • 取得API KET,寫入環境變數 • export API_KEY=<YOUR_API_KEY> • 專案名稱寫入 環境變數 • export PROJECT=<your_project_name> • 將建立Storage bucket,將圖片放入 storage • 建立 request.json • 呼叫 API 取得結果
  • 5. CLASSIFY TEXT INTO CATEGORIES WITH THE NATURAL LANGUAGE API
  • 6. 6Presented By: Duran Hsieh CLASSIFY TEXT INTO CATEGORIES WITH THE NATURAL LANGUAGE API • Classify a news article • 透過新聞內文,推測文章表達意思
  • 7. 7Presented By: Duran Hsieh CLASSIFY TEXT INTO CATEGORIES WITH THE NATURAL LANGUAGE API • 啟用 Natural Language API
  • 8. 8Presented By: Duran Hsieh CLASSIFY TEXT INTO CATEGORIES WITH THE NATURAL LANGUAGE API • 建立API Key • 記錄下來,後續呼叫API會用到
  • 9. 9Presented By: Duran Hsieh CLASSIFY TEXT INTO CATEGORIES WITH THE NATURAL LANGUAGE API • 開啟 cloud shell,存入環境變數 • export API_KEY=<YOUR_API_KEY>
  • 10. 10Presented By: Duran Hsieh CLASSIFY TEXT INTO CATEGORIES WITH THE NATURAL LANGUAGE API • 開啟 Code Editor • 雖然是 Beta 版,但建立json檔案好方便 (file > new file)
  • 11. 11Presented By: Duran Hsieh CLASSIFY TEXT INTO CATEGORIES WITH THE NATURAL LANGUAGE API • 呼叫 API • curl “https://language.googleapis.com/v1/documents:c lassifyText?key=${API_KEY}” -s -X POST -H "Content-Type: application/json" -- data-binary @request.json
  • 12. 12Presented By: Duran Hsieh CLASSIFY TEXT INTO CATEGORIES WITH THE NATURAL LANGUAGE API • Creating a BigQuery table for our categorized text • 建立 BigQuery Table • 透過 API 與 py 將分析後的文字放入各個欄位 • 透過 BigQuery 查詢,得到結果並
  • 13. 13Presented By: Duran Hsieh CLASSIFY TEXT INTO CATEGORIES WITH THE NATURAL LANGUAGE API • 開啟 BigQuery • 依序建立 dataset、datatable • 開啟 BigQuery • 依序建立 dataset、datatable
  • 14. 14Presented By: Duran Hsieh CLASSIFY TEXT INTO CATEGORIES WITH THE NATURAL LANGUAGE API • 開啟 BigQuery • 依序建立 dataset、datatable • 開啟 BigQuery • 依序建立 dataset、datatable
  • 15. 15Presented By: Duran Hsieh CLASSIFY TEXT INTO CATEGORIES WITH THE NATURAL LANGUAGE API • 專案名稱寫入 環境變數 • export PROJECT=<your_project_name>
  • 16. 16Presented By: Duran Hsieh CLASSIFY TEXT INTO CATEGORIES WITH THE NATURAL LANGUAGE API • create a service account gcloud iam service-accounts create my-account -- display-name my-account gcloud projects add-iam-policy-binding $PROJECT -- member=serviceAccount:my- account@$PROJECT.iam.gserviceaccount.com -- role=roles/bigquery.admin gcloud iam service-accounts keys create key.json -- iam-account=my- account@$PROJECT.iam.gserviceaccount.com export GOOGLE_APPLICATION_CREDENTIALS=key.json
  • 17. 17Presented By: Duran Hsieh CLASSIFY TEXT INTO CATEGORIES WITH THE NATURAL LANGUAGE API • 建立classify-text.py,替換project 名稱,並執行 python classify-text.py
  • 18. 18Presented By: Duran Hsieh CLASSIFY TEXT INTO CATEGORIES WITH THE NATURAL LANGUAGE API • BigQuery 下查詢
  • 19. DETECT LABELS, FACES, AND LANDMARKS IN IMAGES WITH THE CLOUD VISION API
  • 20. 20Presented By: Duran Hsieh DETECT LABELS, FACES, AND LANDMARKS IN IMAGES WITH THE CLOUD VISION API • 前置作業 • Create an API Key • 放入環境變數 • 建立 storage - bucket
  • 21. 21Presented By: Duran Hsieh DETECT LABELS, FACES, AND LANDMARKS IN IMAGES WITH THE CLOUD VISION API • Upload an image to your bucket • 分析圖片內容,是什麼? • Web Detection • 找到網路上相似的圖片 • Face and Landmark Detection • 人臉辨識
  • 22. 22Presented By: Duran Hsieh DETECT LABELS, FACES, AND LANDMARKS IN IMAGES WITH THE CLOUD VISION API • Upload an image to your bucket • 放入圖片到 bucket、設定權限
  • 23. 23Presented By: Duran Hsieh DETECT LABELS, FACES, AND LANDMARKS IN IMAGES WITH THE CLOUD VISION API • Upload an image to your bucket • 呼叫API 取得結果
  • 24. 24Presented By: Duran Hsieh DETECT LABELS, FACES, AND LANDMARKS IN IMAGES WITH THE CLOUD VISION API • Web Detection • from LABEL_DETECTION to WEB_DETECTION
  • 25. 25Presented By: Duran Hsieh DETECT LABELS, FACES, AND LANDMARKS IN IMAGES WITH THE CLOUD VISION API • Web Detection • Result
  • 26. 26Presented By: Duran Hsieh DETECT LABELS, FACES, AND LANDMARKS IN IMAGES WITH THE CLOUD VISION API • Upload an image to your bucket • 放入圖片到 bucket、設定權限
  • 27. 27Presented By: Duran Hsieh DETECT LABELS, FACES, AND LANDMARKS IN IMAGES WITH THE CLOUD VISION API • Face and Landmark Detection • Type 改成 FACE_DETECTION 與 LANDMARK_DETECTION
  • 28. 28Presented By: Duran Hsieh DETECT LABELS, FACES, AND LANDMARKS IN IMAGES WITH THE CLOUD VISION API • Face and Landmark Detection • Result
  • 29. ENTITY AND SENTIMENT ANALYSIS WITH THE NATURAL LANGUAGE API
  • 30. 30Presented By: Duran Hsieh ENTITY AND SENTIMENT ANALYSIS WITH THE NATURAL LANGUAGE API • 前置作業 • Create an API Key • 放入環境變數
  • 31. 31Presented By: Duran Hsieh ENTITY AND SENTIMENT ANALYSIS WITH THE NATURAL LANGUAGE API • Call the Natural Language API • 解析句子,做字詞分析、歸類 • Sentiment analysis with the Natural Language API • 情緒分析 • Analyzing entity sentiment • 實體與情緒分析 • Analyzing syntax and parts of speech • 語意分析 • Multilingual natural language processing • 多國自然語言處理
  • 32. 32Presented By: Duran Hsieh ENTITY AND SENTIMENT ANALYSIS WITH THE NATURAL LANGUAGE API • Call the Natural Language API • 建置 request.json 與呼叫 API
  • 33. 33Presented By: Duran Hsieh ENTITY AND SENTIMENT ANALYSIS WITH THE NATURAL LANGUAGE API • 結果
  • 34. 34Presented By: Duran Hsieh ENTITY AND SENTIMENT ANALYSIS WITH THE NATURAL LANGUAGE API • Sentiment analysis with the Natural Language API
  • 35. 35Presented By: Duran Hsieh ENTITY AND SENTIMENT ANALYSIS WITH THE NATURAL LANGUAGE API • Analyzing entity sentiment
  • 36. 36Presented By: Duran Hsieh ENTITY AND SENTIMENT ANALYSIS WITH THE NATURAL LANGUAGE API • Analyzing entity sentiment
  • 37. 37Presented By: Duran Hsieh ENTITY AND SENTIMENT ANALYSIS WITH THE NATURAL LANGUAGE API • Analyzing syntax and parts of speech
  • 38. 38Presented By: Duran Hsieh ENTITY AND SENTIMENT ANALYSIS WITH THE NATURAL LANGUAGE API • Multilingual natural language processing

Notas del editor

  1. 什麼是 Linq ?
  2. LINQ 運作原理說明