-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
deepstream? #1
Comments
Hi @js1972, thanks for the interest in the project 🙂 Yes, you could possibly use What model are you interested in deploying? Best, |
I mean - will it work with nvidia deepstream? Ie 8 cameras at 30fps with inference; re-streaming as rtsp; writing to files and so on. |
How to use Jetson-inference mobilenet v2 with multiple cameras at once on xavier? |
@js1972, by defining the pipeline as follows: pipeline = CameraPipelineDNN(
cameras=[0, 1, 2, 3, 4, 5, 6, 7],
models=[PeopleNet.GPU],
save_video=True,
save_video_folder="/home/nx/logs/videos"
) on Xavier AGX, you will achieve a similar result to what you mentioned: 30fps inference on 8 cameras + writing to files. The initialized pipeline will use Nvidia Deepstream elements under-the-hood. However, currently no tighter integration with Deepstream is planned. |
Thankyou @tomek-l this is awesome. So under the hood you are using the DeepStream hardware-accelerated elements. |
Interesting question, @aafaqin. I assume you're interested in running detectnet with mobilenet V2 backbone? Similarly as in jetson-inference repository? |
@aafaqin in general, you could also implement that functionality yourself by:
|
@js1972 As far as the two other modules are concerned, I have to admit I never used them. I'd have to take a look into their API in DS docs and get back to you. |
@js1972 In the meantime, are you familiar with python bindings for deepstream ( |
Hi @tomek-l - No not really familiar with them as I tried it out earlier this year (I think it was after DS 5.0 came out) and it was 4 hours of hair pulling to get it installed and working so I could test the deepstream-test1 python app. Then gave up and went back to what I know - C. ;-) Looking at your code in this repo though I am pretty impressed and how nice and succinct it is! So its got me excited that maybe I should take the jump and switch to python now. I have built a smart nvr system. It uses a python controller program as a systemd service which connects to aws iot (so the the system can be controlled from a mobile app). This python controller starts and stops a custom DeepStream C program. The DeepStream program muxes rtsp streams then does person detection with peoplenet and uses the nvdsanalytics element to enable ROI's (privacy/activity zones) on each camera. So if I can get the analytics and smart record components working I could move over to this architecture you have here. |
This looks amazing - I'm wondering will it work with Deepstream elements as well?
The text was updated successfully, but these errors were encountered: