SlideShare a Scribd company logo
Object detection
Objectdetectionletsyoucount,locate,andidentifyselectedobjectswithinanyimage. Youcan use this
model inPowerAppstoextractinformationfrompicturesyoutake withthe camera,orloadintoan app.
In thislab,we will buildandtraina detectionmodelandbuildanappthat usesthe detectionmodel to
identifyobjectsfromavailable images.
Note: If you are buildingthe firstmodel inanenvironment,clickonExplore Templatestogetstarted.
Exercise 1
In thisexercise we will buildandtrainthe ObjectDetectionmodel forthree varietiesof tea.
1. In PowerAppsmaker,expandAIBuilderandselectBuild. SelectObjectDetection.
2. Name yourmodel GreenTeaProduct Detection andbecause youare workingina shared
environmentalsomake sure toinclude yourname aspart of the model name. Thiswill make it
easiertofindlater. Clickcreate.
3. Your screenshouldnowlooklike the image here.
4. Notice the progressindicatoronthe left. Those are the stepswe will follow now tobuildand
trainour model.
5. We are now goingto define the objectswe are tracking. Clickonthe Selectobjectnames.
6. From the entitylist,selectObjectDetection Product.
7. Selectthe Name field andclickSelectfield.
8. Selectthe teaitems andclickNext.
9. Notice the progressindicatorhasmovedforwardtothe Add imagesstep.
10. Clickadd images.
11. Selectimagesfromthe setprovided. Youwill needenoughimagestoprovide 15samplesfor
each type of tea we are tracking.
12. Approve the uploadof images.ClickUploadimages.Afterthe uploadcompletes,clickClose.
13. Clicknexttobegintaggingthe images.
14. Selectthe firstimage tobegintagging.
15. Hoveroverthe image,nearanitemyouwishto tag. A dotted-linedbox shouldappeararound
the item. It has beendetectedasasingle itemthatcan be tagged.
16. Clickon the itemandselectthe matchingobjectname.
17. If the pre-definedselectorisnotaccurate,as inthe below example,youcandrag the container
to draw itto accuratelytag the item.
18. Do thisfor eachiteminthe image andfor eachimage inyour set. Whenyouhave taggedall of
the imagesyouuploadedclickDone Tagginginthe topright of the screen.
19. Once youhave completedtagging,youwillgetasummaryof the tags. If you haven’ttagged
enoughforanalysis,youwill needtoloadandtag more examples.
20. Once youhave definedenoughtagsfortrainingthe model,youwill be allowedtoinitiate the
training. ClickNext.
21. ClickTrain.
22. The trainingtakesa fewmoments.
23. Navigate tothe savedmodel view andconfirmyourmodel hascompletedtraining.
24. Selectthe model youjustmade.
25. SelectQuicktest.
26. Upload or drag and dropone of your test imagestobe analyzed.
27. You will see the analysisandlevel of confidence forthe match.
28. Upload an image youknowwill notmatch. You will see the analysisandlevel of confidence for
the match.
29. Clickclose.
30. Publishyourmodel.
Exercise 2
We will nowcreate acanvas app youcan use fordetectingthe itemsthathave beentrainedinour
model. The productwill be detectedfromthe image andyouwill be able toadjuston-handinventory
for the item.
1. Navigate toApps,andselectCreate anapp, thenselectCanvas. If asked,grantpermissionforthe
app to use youractive CDS credentials.
2. SelectBlankappwithPhone layout.
3. On the makercanvas,selectthe Inserttab inthe ribbonand expandAIBuilder. SelectObject
detectortoplace thiscontrol onyour app.
4. Selectthe AImodel youbuilt.
5. Resize the control tobetteruse the space.
6. Make sure to leave roomformore itemswe will be placingsoon.
7. Playyourapp.
8. Clickon Detect.
9. Choose one of yourtest imagesandclickOpen.
10. The image will nowbe analyzed.
11. Our model hasdetected eachteainthe image.
12. Exitthe app player.
Bonus exercise- build out the data in your canvas app
1. We will nowselectourdatasource. SelectView fromthe ribbonand selectDataSources.
2. Click+ Add Data Source.
3. Addthe CommonData Service datasource. Do not use CommonData Service (current
environment).
4. Selectthe ObjectDetection Products entityandclickConnect.
5. Close the Data pane.
6. WithScreen1selectedinthe Tree view,navigatetothe Insertribbontab,expandGalleryandselect
Blankvertical gallery.
7. Rename the GalleryproductGallery. Youare re-namingthe gallerysoyoucanreference itfromyour
formulas.
8. Resize andmove the gallerycontrol tofitthe available space onthe screen,leavingsome space at
the bottomfor usinglater.
9. Selectthe editiconfromthe gallery.
10. Adda label tothe gallery.
11. Clickeditagainand add a Textinputbox tothe gallery. Resize andplace ittoline upwiththe label
we’ve alreadyplaced. We will be updatinginventorycountsinthistextbox.
12. Rename the TextInputinventoryInput.Youare renamingthiscontrol soyoucan reference itfrom
your formulas.
13. Withfocus onthe Screen1inthe Tree view,clickinthe ribbononInsertandselectButton.
14. Drag and move the buttonto the bottomof the screen,double clickonitto editthe text.Rename it
to Update.
15. We will nowaddthe usermessage togive the userconfirmationtheirsubmissionwasaccepted;we
will define thislogiclater. WithfocusonScreen1,inserta label,dragitto the bottomof the screen.
16. We will nowaddlogicto the controlswe’ve placedonthe screen. Selectthe Galleryandreplace
the Itemsformulawiththe following.
'Object Detection Products'
17. Selectthe label inyourgallery. Replace the Textformulawiththe following:
ThisItem.Name
18. SelectinventoryInputandreplace the formulaforDefaultwiththe following:
LookUp('Object Detection Products',Name = ThisItem.Name).'Inventory Total'
19. Selectthe otherlabel (the one thatshowsatthe bottom of the screen) andreplace itstextwiththe
following:
usermessage
20. You’ll notice thatarea nowlooksblank. We will configure thatmessage inournextstep.
21. Selectthe buttoncontrol andreplace the OnSelectwiththe following:
ForAll(productGallery.AllItems,Patch('Object Detection Products',LookUp('Object
Detection Products',Name=DisplayName),{'Inventory
Total':Value(inventoryInput.Text)}));Set(usermessage,"Updated " &
CountRows(productGallery.AllItems) & " items")
22. Playthe app again.
23. ClickDetect.
24. Selectanimage to evaluate.
25. Update the quantityforthe correct productand clickUpdate.
26. The bottom shouldshowamessage now.

More Related Content

PPT
Selections tutorial01
DOCX
AI Builder - Binary Classification
DOCX
AI Builder - Text Classification
DOCX
Storyline Tips and Techniques
DOCX
Storyline Tips and Techniques
DOCX
AI Builder - Form Processing
PDF
Lab 3: Creating a module and converting it to a template
PPTX
Teachableee Machine for great learners in unique way
Selections tutorial01
AI Builder - Binary Classification
AI Builder - Text Classification
Storyline Tips and Techniques
Storyline Tips and Techniques
AI Builder - Form Processing
Lab 3: Creating a module and converting it to a template
Teachableee Machine for great learners in unique way

Similar to AI Builder - Object Detection (20)

PPT
M14 overview
DOCX
Object Oriented Programming in Android Studio
PDF
Generating an Android App with Acceleo (Eclipse Summit Europe 2010)
DOCX
NCC assingment l4dc ddoocp
PPTX
COVID-19-Preventions-Control-System and Unconstrained Face-mask and Face-hand...
PDF
Hydrogen Torch - Starter Course - Presentation Slides
DOCX
Revit drafting procedure
PDF
Conquering the code in softimage
PPT
Layers of Smalltalk Application
PDF
Smart Development Action Plan Ppt Infographic Template
DOC
ssis lab
PDF
introduction of Ansys software and basic and advance knowledge of modelling s...
PDF
Usability test
PDF
Image Editing Basics Workshop
PDF
Petrel Ocean wizards and developers tools 2013
DOCX
Assignment Instructions 2_7aExplain the interrelationships bet.docx
PDF
Wids datathon slides_vanim (updated)
PDF
Open Innovation Funnel Model Showing Idea Development
PDF
webbdesign
PPTX
CrossUI Tutorial - intermediate - reusable module
M14 overview
Object Oriented Programming in Android Studio
Generating an Android App with Acceleo (Eclipse Summit Europe 2010)
NCC assingment l4dc ddoocp
COVID-19-Preventions-Control-System and Unconstrained Face-mask and Face-hand...
Hydrogen Torch - Starter Course - Presentation Slides
Revit drafting procedure
Conquering the code in softimage
Layers of Smalltalk Application
Smart Development Action Plan Ppt Infographic Template
ssis lab
introduction of Ansys software and basic and advance knowledge of modelling s...
Usability test
Image Editing Basics Workshop
Petrel Ocean wizards and developers tools 2013
Assignment Instructions 2_7aExplain the interrelationships bet.docx
Wids datathon slides_vanim (updated)
Open Innovation Funnel Model Showing Idea Development
webbdesign
CrossUI Tutorial - intermediate - reusable module
Ad

More from Cheah Eng Soon (20)

PPTX
Microsoft Defender for Endpoint
PPTX
Azure Active Directory - Secure and Govern
PPTX
Microsoft Zero Trust
PPTX
MEM for OnPrem Environments
PPTX
Microsoft Threat Protection Automated Incident Response
PDF
Azure Penetration Testing
PDF
Azure Penetration Testing
PPTX
Microsoft Threat Protection Automated Incident Response Demo
PPTX
Microsoft Secure Score Demo
PPTX
Microsoft Cloud App Security Demo
PPTX
M365 Attack Simulation Demo
PPTX
Cloud Security Demo
PPTX
Azure Active Directory - External Identities Demo
PPTX
Azure WAF
PPTX
Azure Weekend 2020 Build Malaysia Bus Uncle Chatbot
PPTX
Microsoft Azure的20大常见安全漏洞与配置错误
PDF
20 common security vulnerabilities and misconfiguration in Azure
PPTX
Integrate Microsoft Graph with Azure Bot Services
PPTX
Azure Sentinel with Office 365
PPTX
3 Steps Integrate Microsoft Graph with Azure Bot Services
Microsoft Defender for Endpoint
Azure Active Directory - Secure and Govern
Microsoft Zero Trust
MEM for OnPrem Environments
Microsoft Threat Protection Automated Incident Response
Azure Penetration Testing
Azure Penetration Testing
Microsoft Threat Protection Automated Incident Response Demo
Microsoft Secure Score Demo
Microsoft Cloud App Security Demo
M365 Attack Simulation Demo
Cloud Security Demo
Azure Active Directory - External Identities Demo
Azure WAF
Azure Weekend 2020 Build Malaysia Bus Uncle Chatbot
Microsoft Azure的20大常见安全漏洞与配置错误
20 common security vulnerabilities and misconfiguration in Azure
Integrate Microsoft Graph with Azure Bot Services
Azure Sentinel with Office 365
3 Steps Integrate Microsoft Graph with Azure Bot Services
Ad

Recently uploaded (20)

PDF
KodekX | Application Modernization Development
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PPTX
Spectroscopy.pptx food analysis technology
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PPT
Teaching material agriculture food technology
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Empathic Computing: Creating Shared Understanding
PPTX
Cloud computing and distributed systems.
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Chapter 3 Spatial Domain Image Processing.pdf
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
cuic standard and advanced reporting.pdf
KodekX | Application Modernization Development
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Spectroscopy.pptx food analysis technology
“AI and Expert System Decision Support & Business Intelligence Systems”
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Teaching material agriculture food technology
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Empathic Computing: Creating Shared Understanding
Cloud computing and distributed systems.
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Understanding_Digital_Forensics_Presentation.pptx
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Chapter 3 Spatial Domain Image Processing.pdf
The AUB Centre for AI in Media Proposal.docx
Advanced methodologies resolving dimensionality complications for autism neur...
cuic standard and advanced reporting.pdf

AI Builder - Object Detection

  • 1. Object detection Objectdetectionletsyoucount,locate,andidentifyselectedobjectswithinanyimage. Youcan use this model inPowerAppstoextractinformationfrompicturesyoutake withthe camera,orloadintoan app. In thislab,we will buildandtraina detectionmodelandbuildanappthat usesthe detectionmodel to identifyobjectsfromavailable images. Note: If you are buildingthe firstmodel inanenvironment,clickonExplore Templatestogetstarted. Exercise 1 In thisexercise we will buildandtrainthe ObjectDetectionmodel forthree varietiesof tea. 1. In PowerAppsmaker,expandAIBuilderandselectBuild. SelectObjectDetection. 2. Name yourmodel GreenTeaProduct Detection andbecause youare workingina shared environmentalsomake sure toinclude yourname aspart of the model name. Thiswill make it easiertofindlater. Clickcreate.
  • 2. 3. Your screenshouldnowlooklike the image here. 4. Notice the progressindicatoronthe left. Those are the stepswe will follow now tobuildand trainour model.
  • 3. 5. We are now goingto define the objectswe are tracking. Clickonthe Selectobjectnames. 6. From the entitylist,selectObjectDetection Product.
  • 4. 7. Selectthe Name field andclickSelectfield. 8. Selectthe teaitems andclickNext. 9. Notice the progressindicatorhasmovedforwardtothe Add imagesstep.
  • 5. 10. Clickadd images. 11. Selectimagesfromthe setprovided. Youwill needenoughimagestoprovide 15samplesfor each type of tea we are tracking.
  • 6. 12. Approve the uploadof images.ClickUploadimages.Afterthe uploadcompletes,clickClose. 13. Clicknexttobegintaggingthe images. 14. Selectthe firstimage tobegintagging.
  • 7. 15. Hoveroverthe image,nearanitemyouwishto tag. A dotted-linedbox shouldappeararound the item. It has beendetectedasasingle itemthatcan be tagged. 16. Clickon the itemandselectthe matchingobjectname.
  • 8. 17. If the pre-definedselectorisnotaccurate,as inthe below example,youcandrag the container to draw itto accuratelytag the item. 18. Do thisfor eachiteminthe image andfor eachimage inyour set. Whenyouhave taggedall of the imagesyouuploadedclickDone Tagginginthe topright of the screen.
  • 9. 19. Once youhave completedtagging,youwillgetasummaryof the tags. If you haven’ttagged enoughforanalysis,youwill needtoloadandtag more examples. 20. Once youhave definedenoughtagsfortrainingthe model,youwill be allowedtoinitiate the training. ClickNext.
  • 10. 21. ClickTrain. 22. The trainingtakesa fewmoments.
  • 11. 23. Navigate tothe savedmodel view andconfirmyourmodel hascompletedtraining. 24. Selectthe model youjustmade. 25. SelectQuicktest.
  • 12. 26. Upload or drag and dropone of your test imagestobe analyzed. 27. You will see the analysisandlevel of confidence forthe match.
  • 13. 28. Upload an image youknowwill notmatch. You will see the analysisandlevel of confidence for the match. 29. Clickclose.
  • 14. 30. Publishyourmodel. Exercise 2 We will nowcreate acanvas app youcan use fordetectingthe itemsthathave beentrainedinour model. The productwill be detectedfromthe image andyouwill be able toadjuston-handinventory for the item. 1. Navigate toApps,andselectCreate anapp, thenselectCanvas. If asked,grantpermissionforthe app to use youractive CDS credentials. 2. SelectBlankappwithPhone layout.
  • 15. 3. On the makercanvas,selectthe Inserttab inthe ribbonand expandAIBuilder. SelectObject detectortoplace thiscontrol onyour app. 4. Selectthe AImodel youbuilt. 5. Resize the control tobetteruse the space.
  • 16. 6. Make sure to leave roomformore itemswe will be placingsoon. 7. Playyourapp.
  • 17. 8. Clickon Detect. 9. Choose one of yourtest imagesandclickOpen.
  • 18. 10. The image will nowbe analyzed. 11. Our model hasdetected eachteainthe image.
  • 19. 12. Exitthe app player. Bonus exercise- build out the data in your canvas app 1. We will nowselectourdatasource. SelectView fromthe ribbonand selectDataSources. 2. Click+ Add Data Source.
  • 20. 3. Addthe CommonData Service datasource. Do not use CommonData Service (current environment). 4. Selectthe ObjectDetection Products entityandclickConnect. 5. Close the Data pane.
  • 21. 6. WithScreen1selectedinthe Tree view,navigatetothe Insertribbontab,expandGalleryandselect Blankvertical gallery. 7. Rename the GalleryproductGallery. Youare re-namingthe gallerysoyoucanreference itfromyour formulas. 8. Resize andmove the gallerycontrol tofitthe available space onthe screen,leavingsome space at the bottomfor usinglater.
  • 22. 9. Selectthe editiconfromthe gallery. 10. Adda label tothe gallery.
  • 23. 11. Clickeditagainand add a Textinputbox tothe gallery. Resize andplace ittoline upwiththe label we’ve alreadyplaced. We will be updatinginventorycountsinthistextbox. 12. Rename the TextInputinventoryInput.Youare renamingthiscontrol soyoucan reference itfrom your formulas.
  • 24. 13. Withfocus onthe Screen1inthe Tree view,clickinthe ribbononInsertandselectButton. 14. Drag and move the buttonto the bottomof the screen,double clickonitto editthe text.Rename it to Update.
  • 25. 15. We will nowaddthe usermessage togive the userconfirmationtheirsubmissionwasaccepted;we will define thislogiclater. WithfocusonScreen1,inserta label,dragitto the bottomof the screen.
  • 26. 16. We will nowaddlogicto the controlswe’ve placedonthe screen. Selectthe Galleryandreplace the Itemsformulawiththe following. 'Object Detection Products' 17. Selectthe label inyourgallery. Replace the Textformulawiththe following: ThisItem.Name 18. SelectinventoryInputandreplace the formulaforDefaultwiththe following: LookUp('Object Detection Products',Name = ThisItem.Name).'Inventory Total' 19. Selectthe otherlabel (the one thatshowsatthe bottom of the screen) andreplace itstextwiththe following: usermessage
  • 27. 20. You’ll notice thatarea nowlooksblank. We will configure thatmessage inournextstep. 21. Selectthe buttoncontrol andreplace the OnSelectwiththe following: ForAll(productGallery.AllItems,Patch('Object Detection Products',LookUp('Object Detection Products',Name=DisplayName),{'Inventory
  • 28. Total':Value(inventoryInput.Text)}));Set(usermessage,"Updated " & CountRows(productGallery.AllItems) & " items") 22. Playthe app again. 23. ClickDetect. 24. Selectanimage to evaluate. 25. Update the quantityforthe correct productand clickUpdate.
  • 29. 26. The bottom shouldshowamessage now.