Custom Vision Enables the Future of Recycling

Published Nov 04 2021 11:52 AM 906 Views
Microsoft

Recently, when our team participated in an internal Microsoft Hackathon for Smart and Sustainable Building Solutions, we realized we had an opportunity to tie in a very exciting project we had been working on with an NFL Football Stadium organization. We decided to focus our efforts on a mutual area of interest - in driving sustainability and recycling efforts within the stadium complex – especially during NFL games.

 

With that in mind, we ran with the concept of Re-Cycling Gamification, and how we could engage the sports fans to help drive re-cycling and sustainability efforts within the stadium complex.   Before we get into our solution, let’s take a moment to understand the difference between Single-Stream vs Multi-Stream Re-cycling.

 

Single-Stream Re-Cycling:

Single stream refers to the process of processing “mixed” recycling materials, including glass, paper, plastic, and metal.  In this process, everything is combined into one stream of recyclables and will require extensive sorting and processing before the materials eventually wind-up in the correct categories. Most consumers today are familiar with this concept – and participate in weekly household re-cycling efforts.

 

For most recycling facilities, this means they are required to pick up re-cycle bins from consumers’ homes or offices.  Today, this is seen as a “preferred” method for consumers - who don’t have the time or the desire to sort by category of material.

 

Once collected, the mixed materials are brought to the material recycling facility, where they are then pre-sorted by facility employees and loaded onto industrial vibration equipment that is designed to further separate the materials by weight and size.

 

Most recycling programs in the United States are now single stream.

 

Between 2005 and 2014, these programs went from covering 29 percent of American communities to 80 percent, according to a survey conducted by the American Forest and Paper Association.

 

The popularity of single-stream re-cycling has become “mainstream” today – especially given that is convenient and a full 66 percent of people surveyed by a Harris Poll last October said that they wouldn’t recycle at all - if it wasn’t easy to do.

  • Some experts have credited single stream re-cycling with large increases in the amount of material recycled in the U.S. today.
  • Studies have shown that people choose to put more items out on the curb for recycling when they have a single-sort system.
  • The growth of single-stream recycling tracks mirrors the growth of recycling overall in this country.

 

But, Re-cycling Efforts Today - They are a Changing…

 

ENTER: Multi-Stream Re-Cycling

Multi-stream recycling is a collection method in which waste generators (humans) are required to separate their recyclables into multiple separate bins at the time of disposal.

 

The specific bin categories may vary depending upon the types of materials that are being targeted for the re-cycling efforts. Typical categories might include Paper, Plastic, Aluminum, Metal, or Compostable Waste.

 

This appeared to be a great idea for several other reasons:

  • The stadium concession (meal & beverage) containers are all made of highly recycle-able materials.
    • Example: A recent deal with Coors Light + Ball Corporation to use Infinitely Recyclable Aluminum Cups within the stadium.
  • The fans inside the stadium complex represent a true “captive audience” experience:
    • Attendees are gathered together in the stands for a single purpose.
    • Availability of private, secure, wireless network throughout the complex.
      • Potential for Mobile Phone Applications within the Stadium.
    • Potential for links into the Stadium Scoreboard
      • To really amplify the re-cycling competition within the complex!
    • Potential to construct additional “Proof-of-Concept” (POC) scenarios + equipment (i.e. Motion-Activated IP Cameras) to facilitate the recycling and sustainability gamification efforts. 
  • The stadium complex presented a unique challenge and scenario for several reasons:
    • There is no better captive audience than highly competitive sports fans!
    • If we could channel the fans’ natural competitive nature…
      • We could educate them on sustainability while providing entertainment.
      • We could leverage their highly capable mobile app skills.
      • We could channel their voracious appetite for consumables with a unique approach to encouraging re-cycling efforts.
        • This could be seen as a grass-roots education and training effort for consumers about single-stream recycling and move towards multi-stream recycling efforts.

The Concept:

The premise for this solution was rather simple:

  • Capture images of items being disposed into a recycle bin – real-time.
  • Train a Custom Vision Model to recognize and predict the different types of re-cycled materials being thrown into the bin.
  • Use those predictions to drive a real-time, Power BI dashboard – that would be available on BOTH fans mobile devices & the Stadium Scoreboard!

JeffBarnes_0-1636049969303.png

Figure 1 – Team Vision for Recycling Gamification

 

The team gathered various training images that were used as the basis for the initial iterations of the custom vision model and were pre-sorted by the following categories – so that the images could be tagged appropriately:

Cardboard

Glass

Metal

Paper

Plastic

Misc

 

The Technical Implementation:

The technical Proof-of-Concept “POC” solution was implemented using the following Microsoft Azure services:

 

Custom Vision: https://www.customvision.ai

 

Microsoft Azure: https://portal.azure.com

·         BLOB Storage

·         Logic App

·         Event hub

·         Stream Analytics Job

Power BI (Pro-Web Version): https://app.powerbi.com/

·         Workspace

·         Streaming dataset

·         Report

·         Dashboard

 

High-Level Architecture:

The graphic below illustrates the high-level architecture for the solution. This project was constructed during the hackathon and has a working demo to help prove the viability as well.

 

JeffBarnes_1-1636049969320.png

 

Figure 2 – High-Level Architecture.

 

Technical Overview

  • The process starts when a motion-activated IP Camera detects an item being thrown into a re-cycling bin.
  • Still images of the item are captured and up-loaded (in real-time) to an Azure Storage blob container. This creates a blob created event in Azure.
  • The blob created event triggers an Azure Logic App to “wake-up” with the arrival of each new image that is saved to Azure blob storage.
  • This triggers a Logic App workflow to process each image:
    1. Retrieve the URL of the uploaded image from blob storage.
    2. Compose a rest API request - using the URL - to perform a real-time Machine Learning prediction on the image.
      1.     The Machine Learning prediction model was previously created using the Custom Vision service.
    3. Process the prediction results:
      1.     If the prediction for a re-cycle category is => 85% THEN
        1. Compose and send an EventHub message.
  • A Message is placed on an Azure Event Hub reflecting an updated prediction result.
  • An Azure Stream Analytics job then processes the incoming event hub message and outputs it directly to a real-Time Power BI streaming dataset.
  • Power BI then displays the Re-cycling dashboard via web and mobile layouts.
    1. With any luck, we will be able to project not the stadium scoreboard to help encourage participation and friendly competition for valuable prizes.        

 

JeffBarnes_2-1636049969332.png

 

Figure 3 – Sample re-cycling dashboard.

Compelling Facts:

As part of the team’s efforts to raise awareness around sustainability and re-cycling efforts, they gathered an interesting set of “Did You Know” facts to help provide “Edutainment” for the fans to help drive sustainability efforts within the stadium complex. 

Below are sample “Did You Know” facts:

JeffBarnes_3-1636049969354.png

Figure 4– Sample “Did You Know” Fact #1.

JeffBarnes_4-1636049969361.png

Figure 5 – Sample “Did You Know” Fact #2.

JeffBarnes_5-1636049969370.png

Figure 6 – Sample “Did You Know” Fact #3.

 

Key Takeaways

  • The team joined forces and skillsets to build on the work we’ve done with the customer, and in the process, learned more about how data and analytics can be used to advance environmental sustainability goals such as multi-stream recycling.
  • We as individuals each share a common passion around caring for our environment. Participating in this hackathon project accelerated our understanding of developing solutions for sustainability that can scale.
  • This project could be described as a “perfect storm” – where AI technology meets passion for sustainability, and the outcomes are endless. As is mostly the case these days, the technology IS available, it just requires those with a purpose and a passion to leverage it in the best ways possible.
  • We all have our own lessons to learn about sustainability and recycling, and what we have learned with single-stream re-cycling was just the beginning!
  • Multi-Stream re-cycling is the future, and it will require all of us to pause, and focus – even for just a few seconds – before we toss our trash into the bins, because when it comes to recycling, pre-sorting is the key to the future.  

 

%3CLINGO-SUB%20id%3D%22lingo-sub-2928184%22%20slang%3D%22en-US%22%3ECustom%20Vision%20Enables%20the%20Future%20of%20Recycling%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2928184%22%20slang%3D%22en-US%22%3E%3CP%3ERecently%2C%20when%20our%20team%20participated%20in%20an%20internal%20Microsoft%20Hackathon%20for%20Smart%20and%20Sustainable%20Building%20Solutions%2C%20we%20realized%20we%20had%20an%20opportunity%20to%20tie%20in%20a%20very%20exciting%20project%20we%20had%20been%20working%20on%20with%20an%20NFL%20Football%20Stadium%20organization.%20We%20decided%20to%20focus%20our%20efforts%20on%20a%20mutual%20area%20of%20interest%20-%20in%20driving%20sustainability%20and%20recycling%20efforts%20within%20the%20stadium%20complex%20%E2%80%93%20especially%20during%20NFL%20games.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWith%20that%20in%20mind%2C%20we%20ran%20with%20the%20concept%20of%20%3CSTRONG%3ERe-Cycling%20Gamification%3C%2FSTRONG%3E%2C%20and%20how%20we%20could%20engage%20the%20sports%20fans%20to%20help%20drive%20re-cycling%20and%20sustainability%20efforts%20within%20the%20stadium%20complex.%26nbsp%3B%20%26nbsp%3BBefore%20we%20get%20into%20our%20solution%2C%20let%E2%80%99s%20take%20a%20moment%20to%20understand%20the%20difference%20between%20Single-Stream%20vs%20Multi-Stream%20Re-cycling.%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--297842912%22%20id%3D%22toc-hId--297841080%22%3E%26nbsp%3B%3C%2FH2%3E%0A%3CH2%20id%3D%22toc-hId--2105297375%22%20id%3D%22toc-hId--2105295543%22%3ESingle-Stream%20Re-Cycling%3A%3C%2FH2%3E%0A%3CP%3E%3CSTRONG%3ESingle%20stream%3C%2FSTRONG%3E%26nbsp%3Brefers%20to%20the%20process%20of%20processing%20%E2%80%9Cmixed%E2%80%9D%20recycling%20materials%2C%20including%20glass%2C%20paper%2C%20plastic%2C%20and%20metal.%26nbsp%3B%20In%20this%20process%2C%20everything%20is%20combined%20into%20one%20stream%20of%20recyclables%20and%20will%20require%20extensive%20sorting%20and%20processing%20before%20the%20materials%20eventually%20wind-up%20in%20the%20correct%20categories.%20Most%20consumers%20today%20are%20familiar%20with%20this%20concept%20%E2%80%93%20and%20participate%20in%20weekly%20household%20re-cycling%20efforts.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFor%20most%20recycling%20facilities%2C%20this%20means%20they%20are%20required%20to%20pick%20up%20re-cycle%20bins%20from%20consumers%E2%80%99%20homes%20or%20offices.%26nbsp%3B%20Today%2C%20this%20is%20seen%20as%20a%20%E2%80%9Cpreferred%E2%80%9D%20method%20for%20consumers%20-%20who%20don%E2%80%99t%20have%20the%20time%20or%20the%20desire%20to%20sort%20by%20category%20of%20material.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOnce%20collected%2C%20the%20mixed%20materials%20are%20brought%20to%20the%20material%20recycling%20facility%2C%20where%20they%20are%20then%20pre-sorted%20by%20facility%20employees%20and%20loaded%20onto%20industrial%20vibration%20equipment%20that%20is%20designed%20to%20further%20separate%20the%20materials%20by%20weight%20and%20size.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EMost%20recycling%20programs%20in%20the%20United%20States%20are%20now%20%3CSTRONG%3Esingle%20stream%3C%2FSTRONG%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EBetween%202005%20and%202014%2C%20these%20programs%20went%20from%20covering%20%3CSTRONG%3E29%3C%2FSTRONG%3E%20percent%20of%20American%20communities%20to%20%3CSTRONG%3E80%3C%2FSTRONG%3E%20percent%2C%20according%20to%20a%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fpaperrecycles.org%2Fdocs%2Fdefault-source%2Fdefault-document-library%2F2014-afpa_community-survey_exec-summary_final(1).pdf%3Fsfvrsn%3D0%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Esurvey%20conducted%20by%20the%20American%20Forest%20and%20Paper%20Association.%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20popularity%20of%20single-stream%20re-cycling%20has%20become%20%E2%80%9Cmainstream%E2%80%9D%20today%20%E2%80%93%20especially%20given%20that%20is%20convenient%20and%20a%20full%20%3CSTRONG%3E66%3C%2FSTRONG%3E%20percent%20of%20people%20surveyed%20by%20a%20%3CA%20href%3D%22https%3A%2F%2Fwww.isri.org%2Fdocs%2Fdefault-source%2Frecycling-analysis-(reports-studies)%2F2018-harris-poll-exec-summary-final.pdf%3Fsfvrsn%3D2%26amp%3Bsfvrsn%3D2%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EHarris%20Poll%20last%20October%3C%2FA%3E%20said%20that%20they%20wouldn%E2%80%99t%20recycle%20at%20all%20-%20if%20it%20wasn%E2%80%99t%20easy%20to%20do.%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3ESome%20experts%20have%20credited%20single%20stream%20re-cycling%20with%20large%20increases%20in%20the%20amount%20of%20material%20recycled%20in%20the%20U.S.%20today.%3C%2FLI%3E%0A%3CLI%3EStudies%20have%20shown%20that%20people%20choose%20to%20put%20more%20items%20out%20on%20the%20curb%20for%20recycling%20when%20they%20have%20a%20single-sort%20system.%3C%2FLI%3E%0A%3CLI%3EThe%20growth%20of%20single-stream%20recycling%20tracks%20mirrors%20the%20growth%20of%20recycling%20overall%20in%20this%20country.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%225%22%3E%3CSTRONG%3EBut%2C%20Re-cycling%20Efforts%20Today%20-%20They%20are%20a%20Changing%E2%80%A6%3C%2FSTRONG%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-382215458%22%20id%3D%22toc-hId-382217290%22%3E%26nbsp%3B%3C%2FH2%3E%0A%3CH2%20id%3D%22toc-hId--1425239005%22%20id%3D%22toc-hId--1425237173%22%3EENTER%3A%20Multi-Stream%20Re-Cycling%3C%2FH2%3E%0A%3CP%3EMulti-stream%20recycling%20is%20a%20collection%20method%20in%20which%20waste%20generators%20(humans)%20are%20required%20to%20separate%20their%20recyclables%20into%20multiple%20separate%20bins%20%3CSTRONG%3Eat%20the%20time%20of%20disposal.%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20specific%20bin%20categories%20may%20vary%20depending%20upon%20the%20types%20of%20materials%20that%20are%20being%20targeted%20for%20the%20re-cycling%20efforts.%20Typical%20categories%20might%20include%20Paper%2C%20Plastic%2C%20Aluminum%2C%20Metal%2C%20or%20Compostable%20Waste.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThis%20appeared%20to%20be%20a%20great%20idea%20for%20several%20other%20reasons%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EThe%20stadium%20concession%20(meal%20%26amp%3B%20beverage)%20containers%20are%20all%20made%20of%20highly%20recycle-able%20materials.%3CUL%3E%0A%3CLI%3EExample%3A%20A%20recent%20deal%20with%20Coors%20Light%20%2B%20%3CA%20href%3D%22https%3A%2F%2Fwww.lightmetalage.com%2Fnews%2Findustry-news%2Fapplications-design%2Fball-corporation-changes-the-game-with-aluminum-beverage-packaging%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EBall%20Corporation%3C%2FA%3E%20to%20use%20Infinitely%20Recyclable%20Aluminum%20Cups%20within%20the%20stadium.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3CLI%3EThe%20fans%20inside%20the%20stadium%20complex%20represent%20a%20true%20%E2%80%9Ccaptive%20audience%E2%80%9D%20experience%3A%3CUL%3E%0A%3CLI%3EAttendees%20are%20gathered%20together%20in%20the%20stands%20for%20a%20single%20purpose.%3C%2FLI%3E%0A%3CLI%3EAvailability%20of%20private%2C%20secure%2C%20wireless%20network%20throughout%20the%20complex.%3CUL%3E%0A%3CLI%3EPotential%20for%20Mobile%20Phone%20Applications%20within%20the%20Stadium.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3CLI%3EPotential%20for%20links%20into%20the%20Stadium%20Scoreboard%3CUL%3E%0A%3CLI%3ETo%20really%20amplify%20the%20re-cycling%20competition%20within%20the%20complex!%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3CLI%3EPotential%20to%20construct%20additional%20%E2%80%9CProof-of-Concept%E2%80%9D%20(POC)%20scenarios%20%2B%20equipment%20(i.e.%20Motion-Activated%20IP%20Cameras)%20to%20facilitate%20the%20recycling%20and%20sustainability%20gamification%20efforts.%26nbsp%3B%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3CLI%3EThe%20stadium%20complex%20presented%20a%20unique%20challenge%20and%20scenario%20for%20several%20reasons%3A%3CUL%3E%0A%3CLI%3EThere%20is%20no%20better%20captive%20audience%20than%20highly%20competitive%20sports%20fans!%3C%2FLI%3E%0A%3CLI%3EIf%20we%20could%20channel%20the%20fans%E2%80%99%20natural%20competitive%20nature%E2%80%A6%3CUL%3E%0A%3CLI%3EWe%20could%20%3CSTRONG%3Eeducate%3C%2FSTRONG%3E%20them%20on%20%3CSTRONG%3Esustainability%3C%2FSTRONG%3E%20while%20providing%20%3CSTRONG%3Eentertainment%3C%2FSTRONG%3E.%3C%2FLI%3E%0A%3CLI%3EWe%20could%20leverage%20their%20highly%20capable%20%3CSTRONG%3Emobile%20app%3C%2FSTRONG%3E%20skills.%3C%2FLI%3E%0A%3CLI%3EWe%20could%20channel%20their%20voracious%20appetite%20for%20consumables%20with%20a%20unique%20approach%20to%20encouraging%20re-cycling%20efforts.%3CUL%3E%0A%3CLI%3EThis%20could%20be%20seen%20as%20a%20grass-roots%20education%20and%20training%20effort%20for%20consumers%20about%20%3CSTRONG%3Esingle-stream%20recycling%3C%2FSTRONG%3E%20and%20move%20towards%20%3CSTRONG%3Emulti-stream%20recycling%3C%2FSTRONG%3E%20efforts.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CH2%20id%3D%22toc-hId-1062273828%22%20id%3D%22toc-hId-1062275660%22%3EThe%20Concept%3A%3C%2FH2%3E%0A%3CP%3EThe%20premise%20for%20this%20solution%20was%20rather%20simple%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3ECapture%20images%20of%20items%20being%20disposed%20into%20a%20recycle%20bin%20%E2%80%93%20real-time.%3C%2FLI%3E%0A%3CLI%3ETrain%20%3CA%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fen-us%2Fservices%2Fcognitive-services%2Fcustom-vision-service%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ea%20Custom%20Vision%20Model%3C%2FA%3E%20to%20recognize%20and%20predict%20the%20different%20types%20of%20re-cycled%20materials%20being%20thrown%20into%20the%20bin.%3C%2FLI%3E%0A%3CLI%3EUse%20those%20predictions%20to%20drive%20a%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpower-bi%2Fconnect-data%2Fservice-real-time-streaming%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ereal-time%2C%20Power%20BI%20dashboard%3C%2FA%3E%20%E2%80%93%20that%20would%20be%20available%20on%20BOTH%20fans%20mobile%20devices%20%26amp%3B%20the%20Stadium%20Scoreboard!%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22JeffBarnes_0-1636049969303.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F324285i250B1A0D6FAE234B%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22JeffBarnes_0-1636049969303.png%22%20alt%3D%22JeffBarnes_0-1636049969303.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3EFigure%201%20%E2%80%93%20Team%20Vision%20for%20Recycling%20Gamification%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20team%20gathered%20various%20training%20images%20that%20were%20used%20as%20the%20basis%20for%20the%20initial%20iterations%20of%20the%20custom%20vision%20model%20and%20were%20pre-sorted%20by%20the%20following%20categories%20%E2%80%93%20so%20that%20the%20images%20could%20be%20tagged%20appropriately%3A%3C%2FP%3E%0A%3CTABLE%3E%0A%3CTBODY%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22104%22%3E%3CP%3ECardboard%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22104%22%3E%3CP%3EGlass%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22104%22%3E%3CP%3EMetal%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22104%22%3E%3CP%3EPaper%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22104%22%3E%3CP%3EPlastic%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22104%22%3E%3CP%3EMisc%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3C%2FTBODY%3E%0A%3C%2FTABLE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--745180635%22%20id%3D%22toc-hId--745178803%22%3EThe%20Technical%20Implementation%3A%3C%2FH2%3E%0A%3CP%3EThe%20technical%20Proof-of-Concept%20%E2%80%9CPOC%E2%80%9D%20solution%20was%20implemented%20using%20the%20following%20Microsoft%20Azure%20services%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CTABLE%3E%0A%3CTBODY%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22208%22%3E%3CP%3ECustom%20Vision%3A%20%3CA%20href%3D%22https%3A%2F%2Fwww.customvision.ai%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fwww.customvision.ai%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22208%22%3E%3CP%3EMicrosoft%20Azure%3A%20%3CA%20href%3D%22https%3A%2F%2Fportal.azure.com%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fportal.azure.com%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%C2%B7%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20BLOB%20Storage%3C%2FP%3E%0A%3CP%3E%C2%B7%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Logic%20App%3C%2FP%3E%0A%3CP%3E%C2%B7%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Event%20hub%3C%2FP%3E%0A%3CP%3E%C2%B7%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Stream%20Analytics%20Job%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22208%22%3E%3CP%3EPower%20BI%20(Pro-Web%20Version)%3A%20%3CA%20href%3D%22https%3A%2F%2Fapp.powerbi.com%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fapp.powerbi.com%2F%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%C2%B7%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Workspace%3C%2FP%3E%0A%3CP%3E%C2%B7%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Streaming%20dataset%3C%2FP%3E%0A%3CP%3E%C2%B7%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Report%3C%2FP%3E%0A%3CP%3E%C2%B7%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Dashboard%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3C%2FTBODY%3E%0A%3C%2FTABLE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-1742332198%22%20id%3D%22toc-hId-1742334030%22%3EHigh-Level%20Architecture%3A%3C%2FH2%3E%0A%3CP%3EThe%20graphic%20below%20illustrates%20the%20high-level%20architecture%20for%20the%20solution.%20This%20project%20was%20constructed%20during%20the%20hackathon%20and%20has%20a%20working%20demo%20to%20help%20prove%20the%20viability%20as%20well.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22JeffBarnes_1-1636049969320.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F324288iBB1B4D5C15FF6A34%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22JeffBarnes_1-1636049969320.png%22%20alt%3D%22JeffBarnes_1-1636049969320.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3EFigure%202%20%E2%80%93%20High-Level%20Architecture.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--65122265%22%20id%3D%22toc-hId--65120433%22%3ETechnical%20Overview%3C%2FH2%3E%0A%3CUL%3E%0A%3CLI%3EThe%20process%20starts%20when%20a%20motion-activated%20IP%20Camera%20detects%20an%20item%20being%20thrown%20into%20a%20re-cycling%20bin.%3C%2FLI%3E%0A%3CLI%3EStill%20images%20of%20the%20item%20are%20captured%20and%20up-loaded%20(in%20real-time)%20to%20an%20Azure%20Storage%20blob%20container.%20This%20creates%20a%20blob%20created%20event%20in%20Azure.%3C%2FLI%3E%0A%3CLI%3EThe%20blob%20created%20event%20triggers%20an%20Azure%20Logic%20App%20to%20%E2%80%9Cwake-up%E2%80%9D%20with%20the%20arrival%20of%20each%20new%20image%20that%20is%20saved%20to%20Azure%20blob%20storage.%3C%2FLI%3E%0A%3CLI%3EThis%20triggers%20a%20Logic%20App%20workflow%20to%20process%20each%20image%3A%3COL%3E%0A%3CLI%3ERetrieve%20the%20URL%20of%20the%20uploaded%20image%20from%20blob%20storage.%3C%2FLI%3E%0A%3CLI%3ECompose%20a%20rest%20API%20request%20-%20using%20the%20URL%20-%20to%20perform%20a%20real-time%20Machine%20Learning%20prediction%20on%20the%20image.%3COL%3E%0A%3CLI%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20The%20Machine%20Learning%20prediction%20model%20was%20previously%20created%20using%20the%20Custom%20Vision%20service.%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3C%2FLI%3E%0A%3CLI%3EProcess%20the%20prediction%20results%3A%3COL%3E%0A%3CLI%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20If%20the%20prediction%20for%20a%20re-cycle%20category%20is%20%3D%26gt%3B%2085%25%20THEN%3COL%3E%0A%3CLI%3ECompose%20and%20send%20an%20EventHub%20message.%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CUL%3E%0A%3CLI%3EA%20Message%20is%20placed%20on%20an%20Azure%20Event%20Hub%20reflecting%20an%20updated%20prediction%20result.%3C%2FLI%3E%0A%3CLI%3EAn%20Azure%20Stream%20Analytics%20job%20then%20processes%20the%20incoming%20event%20hub%20message%20and%20outputs%20it%20directly%20to%20a%20real-Time%20Power%20BI%20streaming%20dataset.%3C%2FLI%3E%0A%3CLI%3EPower%20BI%20then%20displays%20the%20Re-cycling%20dashboard%20via%20web%20and%20mobile%20layouts.%3COL%3E%0A%3CLI%3EWith%20any%20luck%2C%20we%20will%20be%20able%20to%20project%20not%20the%20stadium%20scoreboard%20to%20help%20encourage%20participation%20and%20friendly%20competition%20for%20valuable%20prizes.%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22JeffBarnes_2-1636049969332.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F324286iB75CDE858728793E%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22JeffBarnes_2-1636049969332.png%22%20alt%3D%22JeffBarnes_2-1636049969332.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3EFigure%203%20%E2%80%93%20Sample%20re-cycling%20dashboard.%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--1872576728%22%20id%3D%22toc-hId--1872574896%22%3ECompelling%20Facts%3A%3C%2FH2%3E%0A%3CP%3EAs%20part%20of%20the%20team%E2%80%99s%20efforts%20to%20raise%20awareness%20around%20sustainability%20and%20re-cycling%20efforts%2C%20they%20gathered%20an%20interesting%20set%20of%20%E2%80%9CDid%20You%20Know%E2%80%9D%20facts%20to%20help%20provide%20%E2%80%9C%3CA%20href%3D%22https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FEducational_entertainment%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EEdutainment%3C%2FA%3E%E2%80%9D%20for%20the%20fans%20to%20help%20drive%20sustainability%20efforts%20within%20the%20stadium%20complex.%26nbsp%3B%3C%2FP%3E%0A%3CP%3EBelow%20are%20sample%20%E2%80%9CDid%20You%20Know%E2%80%9D%20facts%3A%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-60px%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22JeffBarnes_3-1636049969354.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F324291iDBE953FC4E61B901%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22JeffBarnes_3-1636049969354.png%22%20alt%3D%22JeffBarnes_3-1636049969354.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-60px%22%3EFigure%204%E2%80%93%20Sample%20%E2%80%9CDid%20You%20Know%E2%80%9D%20Fact%20%231.%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-60px%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22JeffBarnes_4-1636049969361.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F324289i4B094099D2289182%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22JeffBarnes_4-1636049969361.png%22%20alt%3D%22JeffBarnes_4-1636049969361.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-60px%22%3EFigure%205%20%E2%80%93%20Sample%20%E2%80%9CDid%20You%20Know%E2%80%9D%20Fact%20%232.%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-60px%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22JeffBarnes_5-1636049969370.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F324290i4AF841D409AAF347%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22JeffBarnes_5-1636049969370.png%22%20alt%3D%22JeffBarnes_5-1636049969370.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-60px%22%3EFigure%206%20%E2%80%93%20Sample%20%E2%80%9CDid%20You%20Know%E2%80%9D%20Fact%20%233.%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-614936105%22%20id%3D%22toc-hId-614937937%22%3E%26nbsp%3B%3C%2FH2%3E%0A%3CH2%20id%3D%22toc-hId-481251381%22%20id%3D%22toc-hId-481253213%22%3EKey%20Takeaways%3C%2FH2%3E%0A%3CUL%3E%0A%3CLI%3EThe%20team%20joined%20forces%20and%20skillsets%20to%20build%20on%20the%20work%20we%E2%80%99ve%20done%20with%20the%20customer%2C%20and%20in%20the%20process%2C%20learned%20more%20about%20how%20data%20and%20analytics%20can%20be%20used%20to%20advance%20environmental%20sustainability%20goals%20such%20as%20multi-stream%20recycling.%3C%2FLI%3E%0A%3CLI%3EWe%20as%20individuals%20each%20share%20a%20common%20passion%20around%20caring%20for%20our%20environment.%20Participating%20in%20this%20hackathon%20project%20accelerated%20our%20understanding%20of%20developing%20solutions%20for%20sustainability%20that%20can%20scale.%3C%2FLI%3E%0A%3CLI%3EThis%20project%20could%20be%20described%20as%20a%20%E2%80%9Cperfect%20storm%E2%80%9D%20%E2%80%93%20where%20AI%20technology%20meets%20passion%20for%20sustainability%2C%20and%20the%20outcomes%20are%20endless.%20As%20is%20mostly%20the%20case%20these%20days%2C%20the%20technology%20IS%20available%2C%20it%20just%20requires%20those%20with%20a%20purpose%20and%20a%20passion%20to%20leverage%20it%20in%20the%20best%20ways%20possible.%3C%2FLI%3E%0A%3CLI%3EWe%20all%20have%20our%20own%20lessons%20to%20learn%20about%20sustainability%20and%20recycling%2C%20and%20what%20we%20have%20learned%20with%20single-stream%20re-cycling%20was%20just%20the%20beginning!%3C%2FLI%3E%0A%3CLI%3EMulti-Stream%20re-cycling%20is%20the%20future%2C%20and%20it%20will%20require%20all%20of%20us%20to%20pause%2C%20and%20focus%20%E2%80%93%20even%20for%20just%20a%20few%20seconds%20%E2%80%93%20before%20we%20toss%20our%20trash%20into%20the%20bins%2C%20because%20when%20it%20comes%20to%20recycling%2C%20pre-sorting%20is%20the%20key%20to%20the%20future.%20%26nbsp%3B%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-2928184%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22JeffBarnes_0-1635975676733.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F324070i1A895272B7683163%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22JeffBarnes_0-1635975676733.png%22%20alt%3D%22JeffBarnes_0-1635975676733.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3ELearn%20how%20we%20used%20the%20Custom%20Vision%20Service%20to%20create%20a%20real-time%20%22gamification%22%20application%20to%20help%20promote%20recycling%20efforts.%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EMulti-Stream%20re-cycling%3C%2FSTRONG%3E%20is%20the%20future%20of%20sustainability%2C%20and%20it%20will%20require%20%3CEM%3E%3CSTRONG%3EALL%3C%2FSTRONG%3E%3C%2FEM%3E%20of%20us%20to%20pause%2C%20and%20focus%20%E2%80%93%20even%20for%20just%20a%20few%20seconds%20%E2%80%93%20before%20we%20toss%20our%20trash%20into%20the%20bins%2C%20because%20when%20it%20comes%20to%20recycling%2C%20effective%20pre-sorting%20is%20the%20key%20to%20a%20more%20sustainable%20future.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2928184%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%20Cognitive%20Search%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ECustom%20Vision%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Co-Authors
Version history
Last update:
‎Nov 04 2021 11:51 AM
Updated by: