# Building and Deploying a Face Mask Detection Application Using NGC Collections

**URL:** <https://forums.developer.nvidia.com/t/building-and-deploying-a-face-mask-detection-application-using-ngc-collections/166987>\
**Category:** Technical Blog\
**Created:** [January 27, 2021, 11:12pm UTC](https://forums.developer.nvidia.com/t/building-and-deploying-a-face-mask-detection-application-using-ngc-collections/166987 "2021-01-27T23:12:03Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Morganh](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/morganh/32/9748_2.png) [@Morganh](https://forums.developer.nvidia.com/u/Morganh)\
**Post date:** [October 1, 2021, 2:51am UTC](https://forums.developer.nvidia.com/t/building-and-deploying-a-face-mask-detection-application-using-ngc-collections/166987/5 "2021-10-01T02:51:47Z")

</div>

@thuy.hoang19 ,  
Your question is actually talking about how to run inference with the tensorrt engine.  
Officially, please see [Integrating TAO CV Models with Triton Inference Server — Tao Toolkit](https://docs.nvidia.com/tao/tao-toolkit/text/tao_cv_triton_inf_server/index.html) and then leverage [tao-toolkit-triton-apps/tao\_triton/python/postprocessing/detectnet\_processor.py at main · NVIDIA-AI-IOT/tao-toolkit-triton-apps · GitHub](https://github.com/NVIDIA-AI-IOT/tao-toolkit-triton-apps/blob/main/tao_triton/python/postprocessing/detectnet_processor.py) and [tao-toolkit-triton-apps/tao\_triton/python/postprocessing/utils.py at fc7e222c036354498e53a8ed11b5cf7c0a3e5239 · NVIDIA-AI-IOT/tao-toolkit-triton-apps · GitHub](https://github.com/NVIDIA-AI-IOT/tao-toolkit-triton-apps/blob/fc7e222c036354498e53a8ed11b5cf7c0a3e5239/tao_triton/python/postprocessing/utils.py#L49)

Also, there are similar topics shared by other customers in TAO fourm.

> [@Run PeopleNet with tensorrt](https://forums.developer.nvidia.com/t/run-peoplenet-with-tensorrt/128000/21):
>
> Hey everyone. After looking into a lot of places, blogs and repos I could manage to run a .engine or .trt file for Detectnet\_v2 with preprocessing and proper postprocessing. Here is my working code, hope it helps future persons: import os import time import cv2 import matplotlib.pyplot as plt import numpy as np import pycuda.autoinit import pycuda.driver as cuda import tensorrt as trt from PIL import Image class HostDeviceMem(object): def \_\_init\_\_(self, host\_mem, device\_mem): se…

> [@How to run purpose built model Peoplenet on Jetson Nano in my own application?](https://forums.developer.nvidia.com/t/how-to-run-purpose-built-model-peoplenet-on-jetson-nano-in-my-own-application/127895):
>
> Hello, I am using Jetson Nano with Jetpack 4.4(recommended in forum) and I want to use Nvidia’s purpose built model Peoplenet in my own application (not deepstream). For clarity, I downloaded the peoplenet’s pruned model from ngc container [peoplenet pruned model](https://ngc.nvidia.com/catalog/models/nvidia:tlt_peoplenet) and used TLT converter downloaded for Jetson and converted the etlt file to TRT engine successfully. I am able to use this generated engine file in deepstream-app, but I don’t find any references how to use it in my custom application. …

---

_[View the full topic](https://forums.developer.nvidia.com/t/building-and-deploying-a-face-mask-detection-application-using-ngc-collections/166987)._
