Seeed-Studio / wiki-documents

https://wiki.seeedstudio.com/Getting_Started Seeed Studio Wiki source code
https://wiki.seeedstudio.com/Getting_Started
GNU General Public License v3.0
120 stars 142 forks source link

[Page Add][Enhanced Function]Deploy Frigate on a reComputer(NVIDIA Jetson) device #1238

Closed MatthewJeffson closed 2 months ago

MatthewJeffson commented 5 months ago

Overview

We need your help to enable users to be able to run Frigate smoothly on our reComputer(NVIDIA Jetson devices) and enjoy high-performance real-time object detection. In addition, a complete set of deployment and optimization guidelines should be available to help more users achieve efficient deployment on similar devices.

Additions:

We are looking for community contributions to enrich our library of AI models reComputer(Jetson) devices. We want to receive model examples that can be deployed and used in an easy way, ideally "one-click deployment." This will make it easier for developers and researchers to test and use various AI models on Jetson devices, accelerating the R&D and innovation process.

How do we work together?

github-actions[bot] commented 5 months ago

👋 @MatthewJeffson

Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. Please make sure you have given us as much context as possible.

kouroshkarimi commented 4 months ago

Hi @MatthewJeffson I think I can complete the assignment, but I need more time. I have purchased a Jetson and there may be a delay in its delivery to me. I have experience with developing detection algorithms on Jetson.

MatthewJeffson commented 4 months ago

Wow! Thank you @kouroshkarimi so much for considering this! I really appreciate it! We can get started it once your Jetson arrivied:) Please let me know if you need any help from our side. Best Regards, Matthew

kouroshkarimi commented 4 months ago

@MatthewJeffson, I'm thrilled about that! I believe my Jetson will arrive in a few days. I can't wait to start working on it. I have a lot of experience working with Jetson (Orin, Xavier, AGX, Nano), and I bought my own Jetson for this project. I'm very familiar with how to use it. Could you provide me with some links related to this issue to help me speed up my work? Also, I'm interested in learning more about Seeed Studio's coding principles.

MatthewJeffson commented 4 months ago

@kouroshkarimi Nice! And that is awesome you are quite familiar with Jetson!

We are actually brewing and publishing a number of topics based on Jetson, which as example you can see here:

Regarding this assignment, I think you can refer to here There are still some issues running Frigate on Jetson, like it only uses CPU to do the AI acceleration and not the GPU.

It would be really amazed you can fix or develop something that allows Frigate running smoothly on the Jetson devices, writing to other people a wiki (template) about the installation. We will present on our wiki platform.:)

Thank you so much!

Best Regards, Matthew

kouroshkarimi commented 4 months ago

Hi @MatthewJeffson, Frigate's documentation states that it supports Jetsons and utilizes GPU, contradicting your statement that it only uses CPU! Here is the text :

Image

MatthewJeffson commented 4 months ago

Hello! @kouroshkarimi I am sorry for the misunderstanding. Frigate does utilize GPU but we used to test a little bit that we were not able to apply it - thus, if you can help us that would be really great! Best Regards, Matthew

kouroshkarimi commented 4 months ago

@MatthewJeffson That's okay. I will attempt to run it on the Jetson.

MatthewJeffson commented 4 months ago

Great! Thank you so much!

kouroshkarimi commented 4 months ago

@MatthewJeffson I started coding on Jetson Xavier NX with JP5. I ran the Frigate Docker with TensorRT and obtained the following outputs. It ran with GPU TensorRT for its detector.

Image Image

kouroshkarimi commented 3 months ago

Hi @MatthewJeffson I deployed Frigate on the Nvidia Jetson. How can I receive a response about it? Is it OK or need more optimization?

MatthewJeffson commented 3 months ago

Wow! That is quickly amazing! @kouroshkarimi Thank you so much! You can deploy it near to you then detect some common objects and then do some triggering action:

Like detecting the person running, walking, etc - You can use some common existed ML models.

Or you can train one for it - And if you do that, would you mind as well writing a tutorial about the trainning?

Thanks!

Best Regards, Matthew

kouroshkarimi commented 3 months ago

@MatthewJeffson Sure, I will go for that. Thank you for your reply.

kouroshkarimi commented 3 months ago

Hi @MatthewJeffson I have a question about "Detecting the person running, walking, etc." Do you mean running will be a class and walking is another class, or just detecting the person in general?

kouroshkarimi commented 3 months ago

@MatthewJeffson I deploy it and post its result on LinkedIn. If detecting a person is enough I can write its wiki now.

yuyoujiang commented 3 months ago

Hi @kouroshkarimi , I'm an application engineer of SeeedStuido. Thank you very much for this work. I think it's time to write a wiki to share this project. It would be better if the article included a short video to demonstrate the project's features. @MatthewJeffson has already shared the wiki template with you. If you need more reference material, please refer to here.

kouroshkarimi commented 3 months ago

Hi @yuyoujiang Thank you for responding. I will proceed with that.

MatthewJeffson commented 3 months ago

Hello! @kouroshkarimi I just got back to the office. Thanks for the proceeding:) Best Regards, Matthew

kouroshkarimi commented 2 months ago

Hi @MatthewJeffson I wrote a wiki for it and requested for merge. if it needs to change please tell me to correct it.

MatthewJeffson commented 2 months ago

Thank you! @kouroshkarimi We will check it very soon! By the way, once it merged, would you mind I adding this project in our Contributor Page? image

And we sincerely want to offer cash bonus or products as compensation, may we communicate through email? jianfeng.yu@seeed.cc

Best Regards, Matthew

yuyoujiang commented 2 months ago

Nice work @kouroshkarimi !!! I noticed that your PR does not include a demonstration video. It would be helpful if you could record a video showing how to start Frigate, add cameras, and integrate models, among other tasks. And your demonstration video might be featured on Seeed's official social media channels.

kouroshkarimi commented 2 months ago

Hi @MatthewJeffson Sure. I'll be happy if you add it. thank you for your compensation. Yes, it is ok to communicate through email. I will wait for your email.

kouroshkarimi commented 2 months ago

Hi @yuyoujiang Sure, I will record it in the coming days. Where should I upload the video, and can you provide me with a sample video? I just want to understand the video timing and type of recording.

yuyoujiang commented 2 months ago

Hi @kouroshkarimi , here have some sample videos. Just show the end result. https://www.youtube.com/watch?v=niS0TLzyn-s https://youtu.be/MLPE9V3GKK0?si=wIEuACqYqT_jalwv https://www.youtube.com/@SeeedStudioSZ

Don't be limited by these reference videos, the only requirement for this video is to show the final result, you can also design the video as you want.

github-actions[bot] commented 2 months ago

✅ @MatthewJeffson

This issue is closed, If you have any questions, you can comment and reply.