GithubHelp home page GithubHelp logo

nndam / deepstream-face-recognition Goto Github PK

View Code? Open in Web Editor NEW
7.0 7.0 3.0 20.42 MB

Face detection -> alignment -> feature extraction with deepstream

Python 8.26% CMake 0.87% Makefile 0.89% Cuda 16.30% C++ 71.48% C 1.83% Dockerfile 0.37%

deepstream-face-recognition's Introduction

Hi ๐Ÿ‘‹, I'm Dam Nguyen Ngoc

A passionate AI/ML engineer

  • ๐Ÿ‘€ Iโ€™m interested in Machine Learning & Artificial Intelligence
  • ๐ŸŒฑ Iโ€™m currently working as AI/ML Engineer
  • ๐Ÿ˜Ž A big fan of NVIDIA

Connect with me:

dam-nguyen-ngoc-42309b203

nndam

ย nndam

nndam

deepstream-face-recognition's People

Contributors

nndam avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

deepstream-face-recognition's Issues

Installation step 2.3 Error

Hi i tried to run this face detector model alone in Jetson Xavier NX board.
i changed glibconfig.h path to -I/usr/lib/aarch64-linux-gnu/glib-2.0/include and custom parser compiled.

now i got the below error for engine creation:

$ cmake ..
-- The CXX compiler identification is GNU 9.4.0
-- The CUDA compiler identification is unknown
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:4 (project):
No CMAKE_CUDA_COMPILER could be found.

Tell CMake where to find the compiler by setting either the environment
variable "CUDACXX" or the CMake cache entry CMAKE_CUDA_COMPILER to the full
path to the compiler, or to the compiler name if it is in the PATH.

-- Configuring incomplete, errors occurred!
See also "/home/sensormatic/Neo/deepstream-face-recognition/plugins/nms/build/CMakeFiles/CMakeOutput.log".
See also "/home/sensormatic/Neo/deepstream-face-recognition/plugins/nms/build/CMakeFiles/CMakeError.log".

Not getting any detections

after following all the steps, I ran both the pipelines. while running it does not throw any error, but I dont get any detection either. any guesses why?

How to create preprocessing between 2 secondary gie

I using source and it very good with face alignment.

But i have pipeline:
Primary gie (detect object: person, car,...) -> secondary (face detect) -> secondary (face encoder)
I want to move face alignment into preprocessing and add it between 2 secondary. How to do it? In deepstream app example not support that.
Why you face alignment at nvinfer but not any other way?

Thanks!!!

Facial Landmarks

Hi thanks for the awesome work, can we get the facial landmarks from this model?

Docker Build Fails.

when I'm trying to build the docker, it fails with this
`Dockerfile:23

22 | RUN pip3 install --upgrade pip
23 | >>> RUN cd /opt/nvidia/deepstream/deepstream-6.1/sources/apps/deepstream_python_apps/bindings &&
24 | >>> mkdir build &&
25 | >>> cd build &&
26 | >>> cmake -DPYTHON_MAJOR_VERSION=3 -DPYTHON_MINOR_VERSION=8 -DPIP_PLATFORM=linux_x86_64 -DDS_PATH=/opt/nvidia/deepstream/deepstream-6.1 .. &&
27 | >>> make &&
28 | >>> pip3 install pyds-1.1.4-py3-none-linux_x86_64.whl
29 | RUN cd /opt/nvidia/deepstream/deepstream-6.1/sources/apps/deepstream_python_apps &&
-------------------- ERROR: failed to solve: process "/bin/sh -c cd /opt/nvidia/deepstream/deepstream-6.1/sources/apps/deepstream_python_apps/bindings && mkdir build && cd build && cmake -DPYTHON_MAJOR_VERSION=3 -DPYTHON_MINOR_VERSION=8 -DPIP_PLATFORM=linux_x86_64 -DDS_PATH=/opt/nvidia/deepstream/deepstream-6.1 .. && make && pip3 install pyds-1.1.4-py3-none-linux_x86_64.whl" did not complete successfully: exit code: 2`

I have x86 machine with RTX3060 GPU. I have installed DS6.2 in it.

Inference Error Jetson xavier NX

Hi, i tried to do inference with the code and i am not sure which is this path Makefile

and i removed it and created the engine file, but got error while inferencing.

ERROR: [TRT]: 2: [pluginV2DynamicExtRunner.cpp::execute::115] Error Code 2: Internal Error (Assertion status == kSTATUS_SUCCESS failed. )
ERROR: Failed to enqueue trt inference batch
ERROR: Infer context enqueue buffer failed, nvinfer error:NVDSINFER_TENSORRT_ERROR
0:00:12.100863066 338608 0xd770f60 WARN nvinfer gstnvinfer.cpp:1357:gst_nvinfer_input_queue_loop: error: Failed to queue input batch for inferencing
Error: gst-stream-error-quark: Failed to queue input batch for inferencing (1): gstnvinfer.cpp(1357): gst_nvinfer_input_queue_loop (): /GstPipeline:pipeline0/GstNvInfer:primary-inference
Exiting app

ERROR: [TRT]: 2: [pluginV2DynamicExtRunner.cpp::execute::115] Error Code 2: Internal Error (Assertion status == kSTATUS_SUCCESS failed. )
ERROR: Failed to enqueue trt inference batch
ERROR: Infer context enqueue buffer failed, nvinfer error:NVDSINFER_TENSORRT_ERROR
0:00:12.195473559 338608 0xd770f60 WARN nvinfer gstnvinfer.cpp:1357:gst_nvinfer_input_queue_loop: error: Failed to queue input batch for inferencing
ERROR: [TRT]: 2: [pluginV2DynamicExtRunner.cpp::execute::115] Error Code 2: Internal Error (Assertion status == kSTATUS_SUCCESS failed. )
ERROR: Failed to enqueue trt inference batch
ERROR: Infer context enqueue buffer failed, nvinfer error:NVDSINFER_TENSORRT_ERROR
0:00:12.216500136 338608 0xd770f60 WARN nvinfer gstnvinfer.cpp:1357:gst_nvinfer_input_queue_loop: error: Failed to queue input batch for inferencing
ERROR: [TRT]: 2: [pluginV2DynamicExtRunner.cpp::execute::115] Error Code 2: Internal Error (Assertion status == kSTATUS_SUCCESS failed. )
ERROR: Failed to enqueue trt inference batch
ERROR: Infer context enqueue buffer failed, nvinfer error:NVDSINFER_TENSORRT_ERROR
0:00:12.236711767 338608 0xd770f60 WARN nvinfer gstnvinfer.cpp:1357:gst_nvinfer_input_queue_loop: error: Failed to queue input batch for inferencing
free(): invalid pointer
Aborted (core dumped)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.