Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/seieric/gst-dsobjectsmask
πNVIDIA DeepStream integrated GStreamer Plugin. Mask objects with cuda cores on Jetson boards. Fast and smooth since everything is done on NVMM.π
https://github.com/seieric/gst-dsobjectsmask
cuda cuda-programming deepstream gpu gstreamer gstreamer-plugins instance-segmentation jetson-agx-orin jetson-agx-xavier jetson-tx1 jetson-tx2 jetson-xavier maskrcnn nvidia-jetson nvidia-jetson-nano opencv opencv4 resnet resnet50
Last synced: 23 days ago
JSON representation
πNVIDIA DeepStream integrated GStreamer Plugin. Mask objects with cuda cores on Jetson boards. Fast and smooth since everything is done on NVMM.π
- Host: GitHub
- URL: https://github.com/seieric/gst-dsobjectsmask
- Owner: seieric
- Created: 2023-01-04T09:49:59.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-05T02:16:48.000Z (about 2 years ago)
- Last Synced: 2024-12-01T01:13:27.373Z (3 months ago)
- Topics: cuda, cuda-programming, deepstream, gpu, gstreamer, gstreamer-plugins, instance-segmentation, jetson-agx-orin, jetson-agx-xavier, jetson-tx1, jetson-tx2, jetson-xavier, maskrcnn, nvidia-jetson, nvidia-jetson-nano, opencv, opencv4, resnet, resnet50
- Language: C++
- Homepage:
- Size: 4.83 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Gst-dsobjectsmask
This plugin masks objects detected by NVIDIA nvinfer plugin. Fast and smooth since all the masking processes are done with GPU. Originally forked from [seieric/gst-dsobjectsmosaic](https://github.com/seieric/gst-dsobjectsmosaic).
Must be a better masking solution than masking with nvdsosd.
**Note: This plugin is tested with [PeopleSegNet](https://catalog.ngc.nvidia.com/orgs/nvidia/teams/tao/models/peoplesegnet), which is an instance segmentation model. Masking process refers to a object's mask_params of NvDsObjectMeta. Other models (e.g. semantic segmentation models) may not attach mask_params and this wouldn't work as expected.**
**Note: For Jetson only, not works with dGPU.**
## Features
- Mask objects with cuda
- Specify class ids for which blur should be applied
- Fast and smooth processing### Sample
## Gst Properties
| Property | Meaning | Type and Range |
| -------- | ------- | -------------- |
| min-confidence | Minimum confidence of objects to be masked | Double, 0 to 1
| class-ids | Class ids of objects for which masking should be applied | Semicolon delimited integer array |## Depedencies
- DeepStream 6.1
- OpenCV4 with CUDA support
## Download and Installation
If your environment satisfies the requirements, just run following commands.
```bash
git clone https://github.com/seieric/gst-dsobjectsmask.git
cd gst-dsobjectsmask
sudo make -j$(nproc) install
```## Example usage
This is a brief instruction to test this plugin after installtion.
1. Download [NVIDIA-AI-IOT/deepstream_tao_apps](https://github.com/NVIDIA-AI-IOT/deepstream_tao_apps) to ```/opt/nvidia/deepstream/deepstream-6.1/sources/apps```.
2. Download required models for deepstream_tao_apps. Refer to [the documentation](https://github.com/NVIDIA-AI-IOT/deepstream_tao_apps#2-download-models).
3. Build custom parser in ```/opt/nvidia/deepstream/deepstream-6.1/sources/apps/deepstream_tao_apps/post_processor```.
4. Run the sample script ```samples/peoplesegnet_test.sh```.
5. You will get the ```peoplesegnet_test.mp4``` in your curennt directory.