Monitoring 3D Print Quality using Azure Percept DK

Published Oct 20 2021 08:00 AM 2,497 Views
Microsoft

A few weeks back I was running a demo on Azure Percept DK with one of Microsoft’s Global Partners and the Dev Kit I had setup on a tripod fell off! So, I decided to do something about it. I setup my 3D Printer and after some time using Autodesk Fusion 360 and Ultimaker Cura I managed to print a custom mount that fits a standard tripod fitting and the Azure Percept DK 80/20 rail. 

 

However, the process started me thinking, could I use the Azure Percept DK to monitor the 3D Printer for fault detection? Could I create a Machine Learning model that would understand what a fault was? and had this been created already? 3D Printing can be notoriously tricky, and if unmanaged can produce wasted material and prints. So, creating a solution to monitor and react unattended would be beneficial and lets me honest - Fun!

 

The idea of using IoT, AI/ML is common in manufacturing, but I wanted to create something very custom and if possible, using no code. I'm not a data scientist or AI/ML expert so my goal was to, where possible, use the Azure Services that were available to me to create my 3D printing fault detector. After some thinking I decided to go with the following technologies to build the solution:

 

 

You may ask "Why not use Event Grid?". For this solution I wanted a FIFO (First In / First Out) model to take actions on how the printer would respond to commands, but we will get to that a little later. However, if you are interested in knowing how to use Event Grid do this as well? Look at the doc from Microsoft: Tutorial - Use IoT Hub events to trigger Azure Logic Apps - Azure Event Grid | Microsoft Docs. For a comparison on Azure Message Handling solutions take a look at Compare Azure messaging services - Azure Event Grid | Microsoft Docs

 

Steps, Code, and Examples

To create my solution I broke the process down into steps:

  • Stage 1 - Setup Azure Percept DK
  • Stage 2 - Create the Custom Vison Model and Test
  • Stage 3 - Ascertain how to control the printer
  • Stage 4 - Filter and Route the telemetry
  • Stage 5 - Build my Actions and Responses

I deliberately only used the consoles, no ARM, TF or AZ CLI. So, throughout the article I have added links the Microsoft docs on how to perform each action which I will call out at the relevant points. However, I've complied all the commands you would need to recreate the resources for the solution into a Public GitHub Repo so that this can be replicated by anyone. The repo can be found GitHub Repo and all are welcome to comment or contribute.

 

Stage 1 - Setup Azure Percept DK

 

Configure Azure Percept DK

Configuring the OOBE for Azure Percept DK is very straightforward. I’m not going to cover it in this post but you can find a great example here: Set up the Azure Percept DK device | Microsoft Docs along with a full video walkthrough.


I wanted to use an existing IoT Hub and Resource Group which I had already specified, but this is fully supported in the OOBE.

 

After running through the OOBE I now had my Azure Percept DK connected to my home network and registered in Azure Percept Studio and Azure IoT Hub. Azure Percept Studio is configured as part of the Azure Percept DK setup.

 

I configured the Dev Kit to sit as low as possible in front of the printer. This was so that the "Azureye" camera module had a clear view of the printing nozzle and bed.

 

Azure Percept DK PositionAzure Percept DK Position


Now for the model…

 

Stage 2 - Create the Custom Vison Model and Test

 

Fault Detection Model

I knew I wanted to create the model in Custom Vision and I had a good idea of what domain and settings I needed, but had this been done before? The answer was yes.


An Overview of 3D Printing Concepts

In 3D Printing the most common issue is something called “Spaghetti”. Essentially a 3D printer melts plastic filament into small layers to build the object you are looking to print, but if several settings are not correct (nozzle temp, bed temp, z-axis offset) the filament does not make a good bond and starts to come out looking like, you guessed it – “Spaghetti”.

 

After some research I found that there is a great Open Source project called the Spaghetti Detective with the code hosted on GitHub.

The project itself can be run on an NVIDIA Jetson Nano (which I had also tried), but no support was available yet for Azure Percept. So I started to create a model.

 

Model Creation

I started by creating a new Custom Vision Project. If you have not used Custom Vision before you will need to signup via the portal (full instructions can be found here). However, as I already had an account I created my project via the link within Azure Percept Studio.

 

Because the model needed to look for “Spaghetti” within the image, I knew I needed to have a Project Type of “Object Detection”, and because I needed a split between Accuracy and Low Latency, “Balanced” was the correct Optimization option.


The reason behind using “balanced” was although I wanted to detect errors quickly as to not waste any filament, I also wanted to make sure there was an element of accuracy, as I did not want to have the printer to stop or pause unnecessarily.


Moving to the next stage I wanted to use generic images to tag, rather than using the device stream to capture them, so I just selected my IoT Hub and Device and moved on to Tag Images and Model Training. This allowed me to open the Custom Vision Portal.

 

Now I was able to upload my images (you will need a minimum of 15 images per tag for object detection). I did a scan on the web and found around 20 images I could use to train the model, then spent some time tagging regions for each as “Spaghetti”. I also changed the model Domain to General (Compact) so that I could export the model at a later date. (You can find this in the GitHub Repo).


The specifics of this are out of scope for this post, but you can find a full walkthrough here.


Once my model was trained to an acceptable level for Precision, Recall and mAP, I returned to the Azure Percept Studio and deployed the model to the Dev Kit.

 

Testing the Model

Before moving on I wanted to ensure the model was working and could successfully detect “Spaghetti” on the printer. I selected the “View Your Device Stream” option within Azure Percept Studio and also the “View Live Telemetry”. This would ensure that detection was working, and I could also get an accurate representation of the payload schema.


I used an old print that had produced “Spaghetti” on a previous job, and success the model worked!

 

"Spaghetti" detection and confidence level"Spaghetti" detection and confidence level

Example Payload

{
    "body": {
        "NEURAL_NETWORK": [
            {
                "bbox": [
                    0.521,
                    0.375,
                    0.651,
                    0.492
                ],
                "label": "Spaghetti",
                "confidence": "0.552172",
                "timestamp": "1633438718613618265"
            }
        ]
    }
}

 

Stage 3 - Ascertain how to control the printer

 

OctoPrint Overview and Connectivity

The printer I use is the Ender-3 V2 3D Printer (creality.com), which by default does not have any connected services. It essentially uses either a USB connection or MicroSD card to upload the printer files. However, an amazing Opensource solution is available from OctoPrint.org that runs on Raspberry Pi and is built into the Octopi image. This allows you to enable full remote control and monitoring to printer via your network, but the main reason for using this is that it enables API Management. Full instructions on how to set this up can be found here.

 

OctoPrint ServerOctoPrint Server

 

 

In order to test my solution, I needed to enable port forwarding on my firewall and create an API key within OctoPrint, all of which can be found here: REST API — OctoPrint master documentation

 

For my example I am just using port 80 (HTTP), however in a production situation this would need to be secured and possibly NAT implemented.

 

Postman Dry Run

In order to test the REST API I needed to send a few commands direct to the printer using Postman. The first was to check internally within my LAN that I could connect to the printer and retrieve data using REST, the second was then to ensure the external IP and port was accessible for the same.

 

Postman - api/versionPostman - api/version

 

Once I knew this was responding I could send a command to pause the printer in the same manor:

Postman Example - api/jobPostman Example - api/job

 

Because I was using a POST rather than a GET this time, I needed to send the commands within the body:

Postman Example - Body ContextPostman Example - Body Context

 

It was during these checks I thought, what if the printer has already paused? I ran some more checks by pausing a job and then sending the pause command again. This gave a new response of "409 CONFLICT". I decided I could use this within my logic app as a condition.

 

Recap on The Services

Going back to the beginning I could now tick off some of the services I mentioned:

 

  • Azure Percept DK
  • Azure Percept Studio
  • Custom Vision
  • Azure IoT Hub
  • Message Routing / Custom Endpoint
  • Azure Service Bus / Queues
  • Azure Logic Apps + API Connections
  • REST API
  • Email integration / Twilio SMS ability

Now it was time to wrap this all up and make everything work.

 

Stage 4 - Filter and Route the telemetry

 

Azure Service Bus

As I mentioned earlier, I could have gone with Azure Event Grid to make things a little simpler. However I really wanted to control the flow of the messages coming into the Logic App, to ensure my API commands followed a specific order.

 

Use the Azure portal to create a Service Bus queue - Azure Service Bus | Microsoft Docs

 

Once I had my Azure Service Bus and Queue created I needed to configure my device telemetry coming from the Azure Percept DK to be sent to it. For this I needed to configure Message Routing in Azure IoT Hub. I chose to create this using the portal as I wanted to visually check some of the settings.  

 

Custom EndpointCustom Endpoint

Once I had the Custom Endpoint created I could setup Message Routing. However, I did not want to send all telemetry to the queue, only those that matched the "Spaghetti" label, and only with a confidence of > 30%. For this I needed to use an example message body which I took from the Telemetry I received during the model testing.  I then used the query language to create a routing query that I could use to test against.

 

Message RoutingMessage Routing

 

As I only had the one device in my IoT Hub I did not add any filters based on the Device Twin, but for a 3D Printing cluster this would be a great option, which then could be passed into the message details within the Logic App.

 

Stage 5 - Build my Actions and Responses

 

Logic App

Lastly was the Logic App. I know that what I wanted to create was an alert for any message that came into the queue. Remember we have already filtered the messages by this stage, so we know the messages we now receive we need to take action on. However, I also want to ensure the process handling was clean.

 

I also had to consider how to deal with not only the message body, but the content-data within the message body (The actual telemetry) was Base64 encrypted. With some research time, trial and error and discussions with some awesome people in my team, I finally came up with the workflow I needed. Plus I would also need some API connection for Service Bus, Outlook and Twilio (For SMS messaging).

 

https://docs.microsoft.com/azure/logic-apps/quickstart-create-first-logic-app-workflow 

 

 

Logic App Operations, Actions and ConditionsLogic App Operations, Actions and Conditions

 

The steps for the Logic App workflow are as follows:

 

  • (Operation / API Connection - Service Bus) When a message is received into the queue (TESTQUEUE)
    • The operation is set to check the queue every 5 seconds
  • (Action) Parse the Service Bus Message as JSON
    • This takes the Service Bus Message Payload and generates a schema to use.
  • (Action) Decode the Content-Data section of the message from Base64 to String.
    • This takes the following Expression json(base64ToString(triggerBody()?['ContentData'])) to convert the Telemetry and uses an example payload again.
  • (Action) Get the current Printer Pause Status
    • Adds a True/False Condition.
    • Sends a GET API call to the printers external IP address to see if the status is “409 CONFLICT”
      • If this is TRUE, the printer is already paused and the Logic App is terminated.
      • If False, the next Action is triggered.
  • (Action) Issue HTTP Pause Command
    • Sends a POST API call to the external IP address of the printer with both “action”: “pause” and “command”: “pause” included in the body.
  • (Parallel Actions)
    • API Connection Outlook) Send Detection Email
      • Sends a High Priority email with the Subject “Azure Percept DK – 3D Printing Alert”
    • (API Connection Twilio) Send Detection SMS
      • Sends an SMS via Twilio. This is easy to setup and can be done using a trial account. All details are here

All the schema and payloads I used are included in the GitHub Repo, along with the actual Logic App in JSON form.

 

Testing the End-to-End Process

Now everything was in place it was time to test all the services End-to-End. In order to really test the model and the alerting I decided to start printing an object and then deliberately change the settings to cause a fault. I also decided to use a clear printing filament to make things a little harder to detect. 

 

DetectionDetection

 

Success! The model detected the fault and sent the telemetry to the queue as it matched both the label and confidence. The Logic App trigger the actions and checked to see if the printer had already been paused. In this instance it had not so the Logic App sent the pause command via the API and then confirmed this with an email and SMS message.

 

Detection EmailDetection Email

 

Detection SMSDetection SMS

 

 

Wrap Up

So that's it, a functioning 3D printing fault detection system running on Azure using Azure Percept DK and Custom Vision. Reverting back to my original concept of creating the solution only using services and no code, I believe I managed to get very close. I did need to create some query code and a few lines within the Logic App, but generally that was it. Although I have provided the AZ CLI code to reproduce the solution, I purposefully only used the Azure and Custom Vision Portal to build out.

 

What do you think? How would you approach this? Would you look to use Azure Functions? I'd love to get some feedback on this, so please take a look at the GitHub Repo and see if you can replicate the solution. I will also be updating the model with a new iteration to improve the accuracy in the next few weeks, so keep an eye out on the GitHub repo for the updates.

 

Learn More about Azure Percept

Azure Percept - Product Details

Pre-Built AI Models

Azure Percept - YouTube

 

Purchase Azure Percept

Build Your Azure Percept

 

Azure Percept Tripod Mount

For anyone who is interested you can find the model files I created for this on Thingiverse to print yourself. - Enjoy! :smile:

 

Thingiverse - Azure Percept DK Tripod MountThingiverse - Azure Percept DK Tripod Mount

5 Comments
%3CLINGO-SUB%20id%3D%22lingo-sub-2812741%22%20slang%3D%22en-US%22%3EMonitoring%203D%20Print%20Quality%20using%20Azure%20Percept%20DK%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2812741%22%20slang%3D%22en-US%22%3E%3CP%3EA%20few%20weeks%20back%20I%20was%20running%20a%20demo%20on%20Azure%20Percept%20DK%20with%20one%20of%20Microsoft%E2%80%99s%20Global%20Partners%20and%20the%20Dev%20Kit%20I%20had%20setup%20on%20a%20tripod%20fell%20off!%20So%2C%20I%20decided%20to%20do%20something%20about%20it.%26nbsp%3BI%20setup%20my%203D%20Printer%20and%20after%20some%20time%20using%20%3CSTRONG%3EAutodesk%20Fusion%20360%3C%2FSTRONG%3E%20and%20%3CSTRONG%3EUltimaker%20Cura%3C%2FSTRONG%3E%20I%20managed%20to%20print%20a%20custom%20mount%20that%20fits%20a%20standard%20tripod%20fitting%20and%20the%20Azure%20Percept%20DK%2080%2F20%20rail.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHowever%2C%20the%20process%20started%20me%20thinking%2C%20could%20I%20use%20the%20Azure%20Percept%20DK%20to%20monitor%20the%203D%20Printer%20for%20fault%20detection%3F%26nbsp%3BCould%20I%20create%20a%20Machine%20Learning%20model%20that%20would%20understand%20what%20a%20fault%20was%3F%20and%20had%20this%20been%20created%20already%3F%203D%20Printing%20can%20be%26nbsp%3Bnotoriously%20tricky%2C%20and%20if%20unmanaged%20can%20produce%20wasted%20material%20and%20prints.%20So%2C%20creating%20a%20solution%20to%20monitor%20and%20react%20unattended%20would%20be%20beneficial%20and%20lets%20me%20honest%20-%20Fun!%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20idea%20of%20using%20IoT%2C%20AI%2FML%20is%20common%20in%20manufacturing%2C%20but%20I%20wanted%20to%20create%20something%20very%20custom%20and%20if%20possible%2C%20using%20no%20code.%20I'm%20not%20a%20data%20scientist%20or%20AI%2FML%20expert%20so%20my%20goal%20was%20to%2C%20where%20possible%2C%20use%20the%20Azure%20Services%26nbsp%3Bthat%20were%20available%20to%20me%20to%20create%20my%203D%20printing%20fault%20detector.%20After%20some%20thinking%20I%20decided%20to%20go%20with%20the%20following%20technologies%20to%20build%20the%20solution%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Fazure-percept%2Foverview-azure-percept-dk%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EAzure%20Percept%20DK%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Fazure-percept%2Foverview-azure-percept-studio%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EAzure%20Percept%20Studio%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fservices%2Fcognitive-services%2Fcustom-vision-service%2F%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3ECustom%20Vision%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fservices%2Fiot-hub%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EAzure%20IoT%20Hub%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3EMessage%20Routing%2C%20Custom%20Endpoint%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fservices%2Fservice_bus%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EAzure%20Service%20Bus%20%2F%20Queues%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fservices%2Flogic-apps%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EAzure%20Logic%20Apps%3C%2FA%3E%20%2B%20API%20Connections%3C%2FLI%3E%0A%3CLI%3EREST%20API%3C%2FLI%3E%0A%3CLI%3EEmail%20integration%20%2F%20Twilio%20SMS%20ability%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20may%20ask%20%22Why%20not%20use%20Event%20Grid%3F%22.%20For%20this%20solution%20I%20wanted%20a%20FIFO%20(First%20In%20%2F%20First%20Out)%20model%20to%20take%20actions%20on%20how%20the%20printer%20would%20respond%20to%20commands%2C%20but%20we%20will%20get%20to%20that%20a%20little%20later.%20However%2C%20if%20you%20are%20interested%20in%20knowing%20how%20to%20use%20Event%20Grid%20do%20this%20as%20well%3F%20Look%20at%20the%20doc%20from%20Microsoft%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Fevent-grid%2Fpublish-iot-hub-events-to-logic-apps%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3ETutorial%20-%20Use%20IoT%20Hub%20events%20to%20trigger%20Azure%20Logic%20Apps%20-%20Azure%20Event%20Grid%20%7C%20Microsoft%20Docs.%26nbsp%3B%3C%2FA%3EFor%20a%20comparison%20on%20Azure%20Message%20Handling%20solutions%20take%20a%20look%20at%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Fevent-grid%2Fcompare-messaging-services%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3ECompare%20Azure%20messaging%20services%20-%20Azure%20Event%20Grid%20%7C%20Microsoft%20Docs%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--2124520050%22%20id%3D%22toc-hId--2119937878%22%20id%3D%22toc-hId--2119937878%22%20id%3D%22toc-hId--2119937878%22%20id%3D%22toc-hId--2119937878%22%3ESteps%2C%20Code%2C%20and%20Examples%3C%2FH3%3E%0A%3CP%3ETo%20create%20my%20solution%20I%20broke%20the%20process%20down%20into%20steps%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EStage%201%20-%20Setup%20Azure%20Percept%20DK%3C%2FLI%3E%0A%3CLI%3EStage%202%20-%20Create%20the%20Custom%20Vison%20Model%20and%20Test%3C%2FLI%3E%0A%3CLI%3EStage%203%20-%20Ascertain%20how%20to%20control%20the%20printer%3C%2FLI%3E%0A%3CLI%3EStage%204%20-%20Filter%20and%20Route%20the%20telemetry%3C%2FLI%3E%0A%3CLI%3EStage%205%20-%20Build%20my%20Actions%20and%20Responses%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EI%20deliberately%20only%20used%20the%20consoles%2C%20no%20ARM%2C%20TF%20or%20AZ%20CLI.%20So%2C%20throughout%20the%20article%20I%20have%20added%20links%20the%20Microsoft%20docs%20on%20how%20to%20perform%20each%20action%20which%20I%20will%20call%20out%20at%20the%20relevant%20points.%20However%2C%20I've%20complied%20all%20the%20commands%20you%20would%20need%20to%20recreate%20the%20resources%20for%20the%20solution%20into%20a%20Public%20GitHub%20Repo%20so%20that%20this%20can%20be%20replicated%20by%20anyone.%20The%20repo%20can%20be%20found%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fchrisjeffreyuk%2FAzurePercept3dPrinting%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3EGitHub%20Repo%3C%2FA%3E%26nbsp%3Band%20all%20are%20welcome%20to%20comment%20or%20contribute.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--2135023154%22%20id%3D%22toc-hId--2130440982%22%20id%3D%22toc-hId--2130440982%22%20id%3D%22toc-hId--2130440982%22%20id%3D%22toc-hId--2130440982%22%3EStage%201%20-%20Setup%20Azure%20Percept%20DK%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--1444461680%22%20id%3D%22toc-hId--1439879508%22%20id%3D%22toc-hId--1439879508%22%20id%3D%22toc-hId--1439879508%22%20id%3D%22toc-hId--1439879508%22%3EConfigure%20Azure%20Percept%20DK%3C%2FH3%3E%0A%3CP%3EConfiguring%20the%20OOBE%20for%20Azure%20Percept%20DK%20is%20very%20straightforward.%20I%E2%80%99m%20not%20going%20to%20cover%20it%20in%20this%20post%20but%20you%20can%20find%20a%20great%20example%20here%3A%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Fazure-percept%2Fquickstart-percept-dk-set-up%23%3A~%3Atext%3D%2520Set%2520up%2520the%2520Azure%2520Percept%2520DK%2520device%2Cdevice%2520within%2520your%2520Azure%2520account.%2520A...%2520More%2520%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3ESet%20up%20the%20Azure%20Percept%20DK%20device%20%7C%20Microsoft%20Docs%3C%2FA%3E%20along%20with%20a%20full%20video%20walkthrough.%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3EI%20wanted%20to%20use%20an%20existing%20IoT%20Hub%20and%20Resource%20Group%20which%20I%20had%20already%20specified%2C%20but%20this%20is%20fully%20supported%20in%20the%20OOBE.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAfter%20running%20through%20the%20OOBE%20I%20now%20had%20my%20Azure%20Percept%20DK%20connected%20to%20my%20home%20network%20and%20registered%20in%20Azure%20Percept%20Studio%20and%20Azure%20IoT%20Hub.%20Azure%20Percept%20Studio%20is%20configured%20as%20part%20of%20the%20Azure%20Percept%20DK%20setup.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20configured%20the%20Dev%20Kit%20to%20sit%20as%20low%20as%20possible%20in%20front%20of%20the%20printer.%20This%20was%20so%20that%20the%20%22Azureye%22%20camera%20module%20had%20a%20clear%20view%20of%20the%20printing%20nozzle%20and%20bed.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20align%3D%22center%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22General_Image.jpg%22%20style%3D%22width%3A%20651px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F315623i65F9622CE1FDDFA4%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22General_Image.jpg%22%20alt%3D%22Azure%20Percept%20DK%20Position%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EAzure%20Percept%20DK%20Position%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3ENow%20for%20the%20model%E2%80%A6%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--1454964784%22%20id%3D%22toc-hId--1450382612%22%20id%3D%22toc-hId--1450382612%22%20id%3D%22toc-hId--1450382612%22%20id%3D%22toc-hId--1450382612%22%3EStage%202%20-%20Create%20the%20Custom%20Vison%20Model%20and%20Test%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--764403310%22%20id%3D%22toc-hId--759821138%22%20id%3D%22toc-hId--759821138%22%20id%3D%22toc-hId--759821138%22%20id%3D%22toc-hId--759821138%22%3EFault%20Detection%20Model%3C%2FH3%3E%0A%3CP%3EI%20knew%20I%20wanted%20to%20create%20the%20model%20in%20%3CA%20href%3D%22https%3A%2F%2Fcustomvision.ai%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3ECustom%20Vision%3C%2FA%3E%26nbsp%3Band%20I%20had%20a%20good%20idea%20of%20what%20domain%20and%20settings%20I%20needed%2C%20but%20had%20this%20been%20done%20before%3F%20The%20answer%20was%20yes.%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-1723109523%22%20id%3D%22toc-hId-1727691695%22%20id%3D%22toc-hId-1727691695%22%20id%3D%22toc-hId-1727691695%22%20id%3D%22toc-hId-1727691695%22%3E%3CBR%20%2F%3EAn%20Overview%20of%203D%20Printing%20Concepts%3C%2FH3%3E%0A%3CP%3EIn%203D%20Printing%20the%20most%20common%20issue%20is%20something%20called%20%E2%80%9CSpaghetti%E2%80%9D.%20Essentially%20a%203D%20printer%20melts%20plastic%20filament%20into%20small%20layers%20to%20build%20the%20object%20you%20are%20looking%20to%20print%2C%20but%20if%20several%20settings%20are%20not%20correct%20(nozzle%20temp%2C%20bed%20temp%2C%20z-axis%20offset)%20the%20filament%20does%20not%20make%20a%20good%20bond%20and%20starts%20to%20come%20out%20looking%20like%2C%20you%20guessed%20it%20%E2%80%93%20%E2%80%9CSpaghetti%E2%80%9D.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAfter%20some%20research%20I%20found%20that%20there%20is%20a%20great%20Open%20Source%20project%20called%20the%20%3CA%20href%3D%22https%3A%2F%2Fwww.thespaghettidetective.com%2F%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3ESpaghetti%20Detective%3C%2FA%3E%26nbsp%3Bwith%20the%20code%20hosted%20on%20%3CA%20href%3D%22http%3A%2F%2FTheSpaghettiDetective%2FTheSpaghettiDetective%3A%2520AI-based%20failure%20detection%20for%203D%20printer%20remote%20management%20and%20monitoring.%20(github.com)%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EGitHub.%3C%2FA%3E%3C%2FP%3E%0A%3CP%3EThe%20project%20itself%20can%20be%20run%20on%20an%20NVIDIA%20Jetson%20Nano%20(which%20I%20had%20also%20tried)%2C%20but%20no%20support%20was%20available%20yet%20for%20Azure%20Percept.%20So%20I%20started%20to%20create%20a%20model.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--84344940%22%20id%3D%22toc-hId--79762768%22%20id%3D%22toc-hId--79762768%22%20id%3D%22toc-hId--79762768%22%20id%3D%22toc-hId--79762768%22%3EModel%20Creation%3C%2FH3%3E%0A%3CP%3EI%20started%20by%20creating%20a%20new%20Custom%20Vision%20Project.%20If%20you%20have%20not%20used%20Custom%20Vision%20before%20you%20will%20need%20to%20signup%20via%20the%20portal%20(full%20instructions%20can%20be%20found%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Fcognitive-services%2FCustom-Vision-Service%2Foverview%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3Ehere%3C%2FA%3E).%20However%2C%20as%20I%20already%20had%20an%20account%20I%20created%20my%20project%20via%20the%20link%20within%20Azure%20Percept%20Studio.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EBecause%20the%20model%20needed%20to%20look%20for%20%E2%80%9CSpaghetti%E2%80%9D%20within%20the%20image%2C%20I%20knew%20I%20needed%20to%20have%20a%20Project%20Type%20of%20%E2%80%9CObject%20Detection%E2%80%9D%2C%20and%20because%20I%20needed%20a%20split%20between%20Accuracy%20and%20Low%20Latency%2C%20%E2%80%9CBalanced%E2%80%9D%20was%20the%20correct%20Optimization%20option.%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3EThe%20reason%20behind%20using%20%E2%80%9Cbalanced%E2%80%9D%20was%20although%20I%20wanted%20to%20detect%20errors%20quickly%20as%20to%20not%20waste%20any%20filament%2C%20I%20also%20wanted%20to%20make%20sure%20there%20was%20an%20element%20of%20accuracy%2C%20as%20I%20did%20not%20want%20to%20have%20the%20printer%20to%20stop%20or%20pause%20unnecessarily.%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3EMoving%20to%20the%20next%20stage%20I%20wanted%20to%20use%20generic%20images%20to%20tag%2C%20rather%20than%20using%20the%20device%20stream%20to%20capture%20them%2C%20so%20I%20just%20selected%20my%20IoT%20Hub%20and%20Device%20and%20moved%20on%20to%20Tag%20Images%20and%20Model%20Training.%20This%20allowed%20me%20to%20open%20the%20Custom%20Vision%20Portal.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ENow%20I%20was%20able%20to%20upload%20my%20images%20(you%20will%20need%20a%20minimum%20of%2015%20images%20per%20tag%20for%20object%20detection).%20I%20did%20a%20scan%20on%20the%20web%20and%20found%20around%2020%20images%20I%20could%20use%20to%20train%20the%20model%2C%20then%20spent%20some%20time%20tagging%20regions%20for%20each%20as%20%E2%80%9CSpaghetti%E2%80%9D.%20I%20also%20changed%20the%20model%20Domain%20to%20General%20(Compact)%20so%20that%20I%20could%20export%20the%20model%20at%20a%20later%20date.%20(You%20can%20find%20this%20in%20the%20GitHub%20Repo).%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3EThe%20specifics%20of%20this%20are%20out%20of%20scope%20for%20this%20post%2C%20but%20you%20can%20find%20a%20full%20walkthrough%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fcognitive-services%2Fcustom-vision-service%2Fget-started-build-detector%23%3A~%3Atext%3D%2520Quickstart%253A%2520Build%2520an%2520object%2520detector%2520with%2520the%2Cbutton.%2520The%2520detector%2520uses%2520all%2520of...%2520More%2520%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3Ehere%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3EOnce%20my%20model%20was%20trained%20to%20an%20acceptable%20level%20for%20Precision%2C%20Recall%20and%20mAP%2C%20I%20returned%20to%20the%20Azure%20Percept%20Studio%20and%20deployed%20the%20model%20to%20the%20Dev%20Kit.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--1891799403%22%20id%3D%22toc-hId--1887217231%22%20id%3D%22toc-hId--1887217231%22%20id%3D%22toc-hId--1887217231%22%20id%3D%22toc-hId--1887217231%22%3ETesting%20the%20Model%3C%2FH3%3E%0A%3CP%3EBefore%20moving%20on%20I%20wanted%20to%20ensure%20the%20model%20was%20working%20and%20could%20successfully%20detect%20%E2%80%9CSpaghetti%E2%80%9D%20on%20the%20printer.%20I%20selected%20the%20%E2%80%9CView%20Your%20Device%20Stream%E2%80%9D%20option%20within%20Azure%20Percept%20Studio%20and%20also%20the%20%E2%80%9CView%20Live%20Telemetry%E2%80%9D.%20This%20would%20ensure%20that%20detection%20was%20working%2C%20and%20I%20could%20also%20get%20an%20accurate%20representation%20of%20the%20payload%20schema.%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3EI%20used%20an%20old%20print%20that%20had%20produced%20%E2%80%9CSpaghetti%E2%80%9D%20on%20a%20previous%20job%2C%20and%20success%20the%20model%20worked!%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20align%3D%22center%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22Spaghetti_Detection_Test.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F315282i93D1577799641D14%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Spaghetti_Detection_Test.jpg%22%20alt%3D%22%26quot%3BSpaghetti%26quot%3B%20detection%20and%20confidence%20level%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3E%22Spaghetti%22%20detection%20and%20confidence%20level%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3EExample%20Payload%3C%2FEM%3E%3C%2FP%3E%0A%3CDIV%3E%3CPRE%20class%3D%22lia-code-sample%20language-json%22%3E%3CCODE%3E%7B%0A%20%20%20%20%22body%22%3A%20%7B%0A%20%20%20%20%20%20%20%20%22NEURAL_NETWORK%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22bbox%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%200.521%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%200.375%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%200.651%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%200.492%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22label%22%3A%20%22Spaghetti%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22confidence%22%3A%20%220.552172%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22timestamp%22%3A%20%221633438718613618265%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%5D%0A%20%20%20%20%7D%0A%7D%3C%2FCODE%3E%3C%2FPRE%3E%3C%2FDIV%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--1902302507%22%20id%3D%22toc-hId--1897720335%22%20id%3D%22toc-hId--1897720335%22%20id%3D%22toc-hId--1897720335%22%20id%3D%22toc-hId--1897720335%22%3EStage%203%20-%20Ascertain%20how%20to%20control%20the%20printer%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--1211741033%22%20id%3D%22toc-hId--1207158861%22%20id%3D%22toc-hId--1207158861%22%20id%3D%22toc-hId--1207158861%22%20id%3D%22toc-hId--1207158861%22%3EOctoPrint%20Overview%20and%20Connectivity%3C%2FH3%3E%0A%3CP%3EThe%20printer%20I%20use%20is%20the%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fwww.creality.com%2Fgoods-detail%2Fender-3-v2-3d-printer%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EEnder-3%20V2%203D%20Printer%20(creality.com)%3C%2FA%3E%2C%20which%20by%20default%20does%20not%20have%20any%20connected%20services.%20It%20essentially%20uses%20either%20a%20USB%20connection%20or%20MicroSD%20card%20to%20upload%20the%20printer%20files.%20However%2C%20an%20amazing%20Opensource%20solution%20is%20available%20from%20%3CA%20href%3D%22https%3A%2F%2Foctoprint.org%2F%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EOctoPrint.org%3C%2FA%3E%20that%20runs%20on%20Raspberry%20Pi%20and%20is%20built%20into%20the%20Octopi%20image.%20This%20allows%20you%20to%20enable%20full%20remote%20control%20and%20monitoring%20to%20printer%20via%20your%20network%2C%20but%20the%20main%20reason%20for%20using%20this%20is%20that%20it%20enables%20API%20Management.%20Full%20instructions%20on%20how%20to%20set%20this%20up%20can%20be%20found%20%3CA%20href%3D%22https%3A%2F%2Foctoprint.org%2Fdownload%2F%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20align%3D%22center%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22OctoPrint.jpg%22%20style%3D%22width%3A%20860px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F315535iE1B2B30F5AC80DA3%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22OctoPrint.jpg%22%20alt%3D%22OctoPrint%20Server%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EOctoPrint%20Server%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20order%20to%20test%20my%20solution%2C%20I%20needed%20to%20enable%20port%20forwarding%20on%20my%20firewall%20and%20create%20an%20API%20key%20within%20OctoPrint%2C%20all%20of%20which%20can%20be%20found%20here%3A%20%3CA%20href%3D%22https%3A%2F%2Fdocs.octoprint.org%2Fen%2Fmaster%2Fapi%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EREST%20API%20%E2%80%94%20OctoPrint%20master%20documentation%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFor%20my%20example%20I%20am%20just%20using%20port%2080%20(HTTP)%2C%20however%20in%20a%20production%20situation%20this%20would%20need%20to%20be%20secured%20and%20possibly%20NAT%20implemented.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-580608321%22%20id%3D%22toc-hId-585190493%22%20id%3D%22toc-hId-585190493%22%20id%3D%22toc-hId-585190493%22%20id%3D%22toc-hId-585190493%22%3EPostman%20Dry%20Run%3C%2FH3%3E%0A%3CP%3EIn%20order%20to%20test%20the%20REST%20API%20I%20needed%20to%20send%20a%20few%20commands%20direct%20to%20the%20printer%20using%20Postman.%20The%20first%20was%20to%20check%20internally%20within%20my%20LAN%20that%20I%20could%20connect%20to%20the%20printer%20and%20retrieve%20data%20using%20REST%2C%20the%20second%20was%20then%20to%20ensure%20the%20external%20IP%20and%20port%20was%20accessible%20for%20the%20same.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20align%3D%22center%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22PostMan_Image_1.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F315591i1F445D946B4A68C9%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22PostMan_Image_1.jpg%22%20alt%3D%22Postman%20-%20api%2Fversion%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EPostman%20-%20api%2Fversion%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOnce%20I%20knew%20this%20was%20responding%20I%20could%20send%20a%20command%20to%20pause%20the%20printer%20in%20the%20same%20manor%3A%3C%2FP%3E%0A%3CP%20align%3D%22center%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22PostMan_Image_2.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F315592iCE84BE3C4A4D5268%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22PostMan_Image_2.jpg%22%20alt%3D%22Postman%20Example%20-%20api%2Fjob%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EPostman%20Example%20-%20api%2Fjob%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EBecause%20I%20was%20using%20a%20POST%20rather%20than%20a%20GET%20this%20time%2C%20I%20needed%20to%20send%20the%20commands%20within%20the%20body%3A%3C%2FP%3E%0A%3CP%20align%3D%22center%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22PostMan_Image_3.jpg%22%20style%3D%22width%3A%20650px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F315304i8F81D8621CBE65C2%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22PostMan_Image_3.jpg%22%20alt%3D%22Postman%20Example%20-%20Body%20Context%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EPostman%20Example%20-%20Body%20Context%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIt%20was%20during%20these%20checks%20I%20thought%2C%20what%20if%20the%20printer%20has%20already%20paused%3F%20I%20ran%20some%20more%20checks%20by%20pausing%20a%20job%20and%20then%20sending%20the%20pause%20command%20again.%20This%20gave%20a%20new%20response%20of%20%22409%20CONFLICT%22.%20I%20decided%20I%20could%20use%20this%20within%20my%20logic%20app%20as%20a%20condition.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--1226846142%22%20id%3D%22toc-hId--1222263970%22%20id%3D%22toc-hId--1222263970%22%20id%3D%22toc-hId--1222263970%22%20id%3D%22toc-hId--1222263970%22%3ERecap%20on%20The%20Services%3C%2FH3%3E%0A%3CP%3EGoing%20back%20to%20the%20beginning%20I%20could%20now%20tick%20off%20some%20of%20the%20services%20I%20mentioned%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CSTRIKE%3EAzure%20Percept%20DK%3C%2FSTRIKE%3E%3C%2FLI%3E%0A%3CLI%3E%3CSTRIKE%3EAzure%20Percept%20Studio%3C%2FSTRIKE%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%20style%3D%22text-decoration%3A%20line-through%3B%22%3ECustom%20Vision%3C%2FSPAN%3E%3CSTRIKE%3E%3C%2FSTRIKE%3E%3C%2FLI%3E%0A%3CLI%3E%3CSTRIKE%3EAzure%20IoT%20Hub%3C%2FSTRIKE%3E%3C%2FLI%3E%0A%3CLI%3EMessage%20Routing%20%2F%20Custom%20Endpoint%3C%2FLI%3E%0A%3CLI%3EAzure%20Service%20Bus%20%2F%20Queues%3C%2FLI%3E%0A%3CLI%3EAzure%20Logic%20Apps%20%2B%20API%20Connections%3C%2FLI%3E%0A%3CLI%3E%3CSTRIKE%3EREST%20API%3C%2FSTRIKE%3E%3C%2FLI%3E%0A%3CLI%3EEmail%20integration%20%2F%20Twilio%20SMS%20ability%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3ENow%20it%20was%20time%20to%20wrap%20this%20all%20up%20and%20make%20everything%20work.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-1131583972%22%20id%3D%22toc-hId-1136166144%22%20id%3D%22toc-hId-1136166144%22%20id%3D%22toc-hId-1136166144%22%20id%3D%22toc-hId-1136166144%22%3EStage%204%20-%20Filter%20and%20Route%20the%20telemetry%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--546787772%22%20id%3D%22toc-hId--542205600%22%20id%3D%22toc-hId--542205600%22%20id%3D%22toc-hId--542205600%22%20id%3D%22toc-hId--542205600%22%3EAzure%20Service%20Bus%3C%2FH3%3E%0A%3CP%3EAs%20I%20mentioned%20earlier%2C%20I%20could%20have%20gone%20with%20Azure%20Event%20Grid%20to%20make%20things%20a%20little%20simpler.%20However%20I%20really%20wanted%20to%20control%20the%20flow%20of%20the%20messages%20coming%20into%20the%20Logic%20App%2C%20to%20ensure%20my%20API%20commands%20followed%20a%20specific%20order.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Fservice-bus-messaging%2Fservice-bus-quickstart-portal%23%3A~%3Atext%3DCreate%2520a%2520queue%2520in%2520the%2520Azure%2520portal%25201%2Cvalues%2520with%2520their%2520defaults.%25204%2520Now%252C%2520select%2520Create.%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3EUse%20the%20Azure%20portal%20to%20create%20a%20Service%20Bus%20queue%20-%20Azure%20Service%20Bus%20%7C%20Microsoft%20Docs%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOnce%20I%20had%20my%20Azure%20Service%20Bus%20and%20Queue%20created%20I%20needed%20to%20configure%20my%20device%20telemetry%20coming%20from%20the%20Azure%20Percept%20DK%20to%20be%20sent%20to%20it.%20For%20this%20I%20needed%20to%20configure%20Message%20Routing%20in%20Azure%20IoT%20Hub.%20I%20chose%20to%20create%20this%20using%20the%20portal%20as%20I%20wanted%20to%20visually%20check%20some%20of%20the%20settings.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20align%3D%22center%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22Custom_Endpoint.jpg%22%20style%3D%22width%3A%20590px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F315538i70DA3BD70871BAE4%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Custom_Endpoint.jpg%22%20alt%3D%22Custom%20Endpoint%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3ECustom%20Endpoint%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EOnce%20I%20had%20the%20Custom%20Endpoint%20created%20I%20could%20setup%20Message%20Routing.%20However%2C%20I%20did%20not%20want%20to%20send%20all%20telemetry%20to%20the%20queue%2C%20only%20those%20that%20matched%20the%20%22Spaghetti%22%20label%2C%20and%20only%20with%20a%20confidence%20of%20%26gt%3B%2030%25.%20For%20this%20I%20needed%20to%20use%20an%20example%20message%20body%20which%20I%20took%20from%20the%20Telemetry%20I%20received%20during%20the%20model%20testing.%26nbsp%3B%20I%20then%20used%20the%20query%20language%20to%20create%20a%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Fiot-hub%2Fiot-hub-devguide-routing-query-syntax%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3Erouting%20query%3C%2FA%3E%20that%20I%20could%20use%20to%20test%20against.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20align%3D%22center%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22Message_Routing.jpg%22%20style%3D%22width%3A%20863px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F315539i5650CF29141FF6B4%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Message_Routing.jpg%22%20alt%3D%22Message%20Routing%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EMessage%20Routing%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAs%20I%20only%20had%20the%20one%20device%20in%20my%20IoT%20Hub%20I%20did%20not%20add%20any%20filters%20based%20on%20the%20Device%20Twin%2C%20but%20for%20a%203D%20Printing%20cluster%20this%20would%20be%20a%20great%20option%2C%20which%20then%20could%20be%20passed%20into%20the%20message%20details%20within%20the%20Logic%20App.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-1811642342%22%20id%3D%22toc-hId-1816224514%22%20id%3D%22toc-hId-1816224514%22%20id%3D%22toc-hId-1816224514%22%20id%3D%22toc-hId-1816224514%22%3EStage%205%20-%20Build%20my%20Actions%20and%20Responses%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-133270598%22%20id%3D%22toc-hId-137852770%22%20id%3D%22toc-hId-137852770%22%20id%3D%22toc-hId-137852770%22%20id%3D%22toc-hId-137852770%22%3ELogic%20App%3C%2FH3%3E%0A%3CP%3ELastly%20was%20the%20Logic%20App.%20I%20know%20that%20what%20I%20wanted%20to%20create%20was%20an%20alert%20for%20any%20message%20that%20came%20into%20the%20queue.%20Remember%20we%20have%20already%20filtered%20the%20messages%20by%20this%20stage%2C%20so%20we%20know%20the%20messages%20we%20now%20receive%20we%20need%20to%20take%20action%20on.%20However%2C%20I%20also%20want%20to%20ensure%20the%20process%20handling%20was%20clean.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20also%20had%20to%20consider%20how%20to%20deal%20with%20not%20only%20the%20message%20body%2C%20but%20the%20content-data%20within%20the%20message%20body%20(The%20actual%20telemetry)%20was%20Base64%20encrypted.%20With%20some%20research%20time%2C%20trial%20and%20error%20and%20discussions%20with%20some%20awesome%20people%20in%20my%20team%2C%20I%20finally%20came%20up%20with%20the%20workflow%20I%20needed.%20Plus%20I%20would%20also%20need%20some%20API%20connection%20for%20Service%20Bus%2C%20Outlook%20and%20Twilio%20(For%20SMS%20messaging).%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Flogic-apps%2Fquickstart-create-first-logic-app-workflow%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fazure%2Flogic-apps%2Fquickstart-create-first-logic-app-workflow%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20align%3D%22center%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22Logic_App.jpg%22%20style%3D%22width%3A%20756px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F315545iE19CE8738F0D6AE4%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Logic_App.jpg%22%20alt%3D%22Logic%20App%20Operations%2C%20Actions%20and%20Conditions%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3ELogic%20App%20Operations%2C%20Actions%20and%20Conditions%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20steps%20for%20the%20Logic%20App%20workflow%20are%20as%20follows%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E(Operation%20%2F%20API%20Connection%20-%20Service%20Bus)%20When%20a%20message%20is%20received%20into%20the%20queue%20(TESTQUEUE)%3CUL%3E%0A%3CLI%3EThe%20operation%20is%20set%20to%20check%20the%20queue%20every%205%20seconds%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3CLI%3E(Action)%20Parse%20the%20Service%20Bus%20Message%20as%20JSON%3CUL%3E%0A%3CLI%3EThis%20takes%20the%20Service%20Bus%20Message%20Payload%20and%20generates%20a%20schema%20to%20use.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3CLI%3E(Action)%20Decode%20the%20Content-Data%20section%20of%20the%20message%20from%20Base64%20to%20String.%3CUL%3E%0A%3CLI%3EThis%20takes%20the%20following%20Expression%20%3CFONT%20color%3D%22%233366FF%22%3Ejson(base64ToString(triggerBody()%3F%5B'ContentData'%5D))%3C%2FFONT%3E%20to%20convert%20the%20Telemetry%20and%20uses%20an%20example%20payload%20again.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3CLI%3E(Action)%20Get%20the%20current%20Printer%20Pause%20Status%3CUL%3E%0A%3CLI%3EAdds%20a%20True%2FFalse%20Condition.%3C%2FLI%3E%0A%3CLI%3ESends%20a%20GET%20API%20call%20to%20the%20printers%20external%20IP%20address%20to%20see%20if%20the%20status%20is%20%E2%80%9C409%20CONFLICT%E2%80%9D%3CUL%3E%0A%3CLI%3EIf%20this%20is%20TRUE%2C%20the%20printer%20is%20already%20paused%20and%20the%20Logic%20App%20is%20terminated.%3C%2FLI%3E%0A%3CLI%3EIf%20False%2C%20the%20next%20Action%20is%20triggered.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3CLI%3E(Action)%20Issue%20HTTP%20Pause%20Command%3CUL%3E%0A%3CLI%3ESends%20a%20POST%20API%20call%20to%20the%20external%20IP%20address%20of%20the%20printer%20with%20both%20%E2%80%9Caction%E2%80%9D%3A%20%E2%80%9Cpause%E2%80%9D%20and%20%E2%80%9Ccommand%E2%80%9D%3A%20%E2%80%9Cpause%E2%80%9D%20included%20in%20the%20body.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3CLI%3E(Parallel%20Actions)%3CUL%3E%0A%3CLI%3EAPI%20Connection%20Outlook)%20Send%20Detection%20Email%3CUL%3E%0A%3CLI%3ESends%20a%20High%20Priority%20email%20with%20the%20Subject%20%E2%80%9CAzure%20Percept%20DK%20%E2%80%93%203D%20Printing%20Alert%E2%80%9D%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3CLI%3E(API%20Connection%20Twilio)%20Send%20Detection%20SMS%3CUL%3E%0A%3CLI%3ESends%20an%20SMS%20via%20Twilio.%20This%20is%20easy%20to%20setup%20and%20can%20be%20done%20using%20a%20trial%20account.%20All%20details%20are%20%3CA%20href%3D%22https%3A%2F%2Fwww.twilio.com%2Fdocs%2Fusage%2Ftutorials%2Fhow-to-use-your-free-trial-account%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EAll%20the%20schema%20and%20payloads%20I%20used%20are%20included%20in%20the%20GitHub%20Repo%2C%20along%20with%20the%20actual%20Logic%20App%20in%20JSON%20form.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--1674183865%22%20id%3D%22toc-hId--1669601693%22%20id%3D%22toc-hId--1669601693%22%20id%3D%22toc-hId--1669601693%22%20id%3D%22toc-hId--1669601693%22%3ETesting%20the%20End-to-End%20Process%3C%2FH3%3E%0A%3CP%3ENow%20everything%20was%20in%20place%20it%20was%20time%20to%20test%20all%20the%20services%20End-to-End.%20In%20order%20to%20really%20test%20the%20model%20and%20the%20alerting%20I%20decided%20to%20start%20printing%20an%20object%20and%20then%20deliberately%20change%20the%20settings%20to%20cause%20a%20fault.%20I%20also%20decided%20to%20use%20a%20clear%20printing%20filament%20to%20make%20things%20a%20little%20harder%20to%20detect.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20align%3D%22center%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22Spaghetti_Detection_059.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F315554i74E27D314AC0AA01%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Spaghetti_Detection_059.jpg%22%20alt%3D%22Detection%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EDetection%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESuccess!%20The%20model%20detected%20the%20fault%20and%20sent%20the%20telemetry%20to%20the%20queue%20as%20it%20matched%20both%20the%20label%20and%20confidence.%20The%20Logic%20App%20trigger%20the%20actions%20and%20checked%20to%20see%20if%20the%20printer%20had%20already%20been%20paused.%20In%20this%20instance%20it%20had%20not%20so%20the%20Logic%20App%20sent%20the%20pause%20command%20via%20the%20API%20and%20then%20confirmed%20this%20with%20an%20email%20and%20SMS%20message.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20align%3D%22center%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22Email_059.jpg%22%20style%3D%22width%3A%20825px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F315552iAA28BADD2DA59B9A%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Email_059.jpg%22%20alt%3D%22Detection%20Email%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EDetection%20Email%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20align%3D%22center%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22SMS_059.jpg%22%20style%3D%22width%3A%20610px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F315553i63D6C07D396EEADE%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22SMS_059.jpg%22%20alt%3D%22Detection%20SMS%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EDetection%20SMS%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-813328968%22%20id%3D%22toc-hId-817911140%22%20id%3D%22toc-hId-817911140%22%20id%3D%22toc-hId-817911140%22%20id%3D%22toc-hId-817911140%22%3EWrap%20Up%3C%2FH3%3E%0A%3CP%3ESo%20that's%20it%2C%20a%20functioning%203D%20printing%20fault%20detection%20system%20running%20on%20Azure%20using%20Azure%20Percept%20DK%20and%20Custom%20Vision.%20Reverting%20back%20to%20my%20original%20concept%20of%20creating%20the%20solution%20only%20using%20services%20and%20no%20code%2C%20I%20believe%20I%20managed%20to%20get%20very%20close.%20I%20did%20need%20to%20create%20some%20query%20code%20and%20a%20few%20lines%20within%20the%20Logic%20App%2C%20but%20generally%20that%20was%20it.%20Although%20I%20have%20provided%20the%20AZ%20CLI%20code%20to%20reproduce%20the%20solution%2C%20I%20purposefully%20only%20used%20the%20Azure%20and%20Custom%20Vision%20Portal%20to%20build%20out.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWhat%20do%20you%20think%3F%20How%20would%20you%20approach%20this%3F%20Would%20you%20look%20to%20use%20Azure%20Functions%3F%20I'd%20love%20to%20get%20some%20feedback%20on%20this%2C%20so%20please%20take%20a%20look%20at%20the%20GitHub%20Repo%20and%20see%20if%20you%20can%20replicate%20the%20solution.%20I%20will%20also%20be%20updating%20the%20model%20with%20a%20new%20iteration%20to%20improve%20the%20accuracy%20in%20the%20next%20few%20weeks%2C%20so%20keep%20an%20eye%20out%20on%20the%20GitHub%20repo%20for%20the%20updates.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--994125495%22%20id%3D%22toc-hId--989543323%22%20id%3D%22toc-hId--989543323%22%20id%3D%22toc-hId--989543323%22%20id%3D%22toc-hId--989543323%22%3ELearn%20More%20about%20Azure%20Percept%3C%2FH3%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fservices%2Fazure-percept%2F%23product-overview%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3EAzure%20Percept%20-%20Product%20Details%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Fazure-percept%2Foverview-ai-models%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3EPre-Built%20AI%20Models%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.youtube.com%2Fchannel%2FUCa8_TsUuotIMuzkLzGNQPIg%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EAzure%20Percept%20-%20YouTube%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-1493387338%22%20id%3D%22toc-hId-1497969510%22%20id%3D%22toc-hId-1497969510%22%20id%3D%22toc-hId-1497969510%22%20id%3D%22toc-hId-1497969510%22%3EPurchase%20Azure%20Percept%3C%2FH3%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.microsoft.com%2Fstore%2Fbuild%2Fazure-precept%2F8v2qxmzbz9vc%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3EBuild%20Your%20Azure%20Percept%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-384094816%22%20id%3D%22toc-hId-388676988%22%20id%3D%22toc-hId-388676988%22%20id%3D%22toc-hId-388676988%22%20id%3D%22toc-hId-388676988%22%3EAzure%20Percept%20Tripod%20Mount%3C%2FH3%3E%0A%3CP%3EFor%20anyone%20who%20is%20interested%20you%20can%20find%20the%20model%20files%20I%20created%20for%20this%20on%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fwww.thingiverse.com%2Fthing%3A4961114%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EThingiverse%3C%2FA%3E%26nbsp%3Bto%20print%20yourself.%20-%20Enjoy!%20%3CIMG%20class%3D%22lia-deferred-image%20lia-image-emoji%22%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Fhtml%2F%408341BD79091AF36AA2A09063B554B5CD%2Fimages%2Femoticons%2Fsmile_40x40.gif%22%20alt%3D%22%3Asmile%3A%22%20title%3D%22%3Asmile%3A%22%20%2F%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20align%3D%22center%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22Thingiverse.jpg%22%20style%3D%22width%3A%20959px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F315532iECE8CCDAC9837AE2%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Thingiverse.jpg%22%20alt%3D%22Thingiverse%20-%20Azure%20Percept%20DK%20Tripod%20Mount%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EThingiverse%20-%20Azure%20Percept%20DK%20Tripod%20Mount%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-2812741%22%20slang%3D%22en-US%22%3E%3CP%3EUsing%20the%20the%20Azure%20Percept%20DK%20to%20monitor%203D%20printing%20for%20quality%20assurance%20and%20control.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22Baby_Groot_Spaghetti.jpg%22%20style%3D%22width%3A%20859px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F315530i677EDAEAEF6E6F21%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Baby_Groot_Spaghetti.jpg%22%20alt%3D%22Groot%20%26quot%3BSpaghetti%26quot%3B%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EGroot%20%22Spaghetti%22%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2812741%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%20IoT%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EAzure%20IoT%20Edge%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EAzure%20IoT%20Hub%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EAzure%20Percept%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EAzure%20Percept%20DK%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EAzure%20Percept%20Studio%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EIoT%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20IoT%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2866417%22%20slang%3D%22en-US%22%3ERe%3A%20Monitoring%203D%20Print%20Quality%20using%20Azure%20Percept%20DK%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2866417%22%20slang%3D%22en-US%22%3E%3CP%3EAmazing%20piece%20of%20work!%20What%E2%80%99s%20next%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2869347%22%20slang%3D%22en-US%22%3ERe%3A%20Monitoring%203D%20Print%20Quality%20using%20Azure%20Percept%20DK%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2869347%22%20slang%3D%22en-US%22%3E%3CP%3EAwesome%20article.%26nbsp%3B%20Great%20work.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Co-Authors
Version history
Last update:
‎Oct 21 2021 07:51 AM
Updated by: