You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Moreover, this project uses an adapted version of [PKUZHOU's implementation](https://github.com/PKUZHOU/MTCNN_FaceDetection_TensorRT)
1
+
# Face Recognition for NVIDIA Jetson AGX Orin using TensorRT
2
+
- This project is based on the implementation of this repo:
3
+
[Face Recognition for NVIDIA Jetson (Nano) using TensorRT](https://github.com/nwesem/mtcnn_facenet_cpp_tensorRT). Since the original author is no longer updating his content, and many of the original content cannot be applied to the new Jetpack version and the new Jetson device. Therefore, I have modified the original author's content slightly to make it work for face recognition on the Jetson AGX Orin.
4
+
- Face recognition with [Google FaceNet](https://arxiv.org/abs/1503.03832) architecture and retrained model by David Sandberg ([github.com/davidsandberg/facenet](https://github.com/davidsandberg/facenet)) using TensorRT and OpenCV.
5
+
- Moreover, this project uses an adapted version of [PKUZHOU's implementation](https://github.com/PKUZHOU/MTCNN_FaceDetection_TensorRT)
10
6
of the mtCNN for face detection. More info below.
11
7
12
8
## Hardware
13
-
* NVIDIA Jetson Nano
14
-
* Raspberry Pi v2 camera
9
+
- Nvidia Jetson AGX Orin DVK
10
+
- Logitech C922 Pro HD Stream Webcam
15
11
16
-
If you want to use a USB camera instead of Raspi Camera set the boolean _isCSICam_ to false in [main.cpp](./src/main.cpp).
12
+
If you want to use a CSI camera instead of USB Camera, set the boolean _isCSICam_ to true in [main.cpp](./src/main.cpp).
TensorFlow r1.14 (for Python to convert model from .pb to .uff)
16
+
- JetPack 5.1
17
+
- CUDA 11.4.19 + cuDNN 8.6.0
18
+
- TensorRT 8.5.2
19
+
- OpenCV 4.5.4
20
+
- Tensorflow 2.11
22
21
23
-
## Update
24
-
This master branch now uses Jetpack 4.4, so dependencies have slightly changed and tensorflow is not preinstalled anymore. So there is an extra step that takes a few minutes more than before. <br>
25
-
In case you would like to use older versions of Jetpack there is a tag jp4.2.2, that can links to the older implementation.
26
22
27
23
## Installation
28
-
#### 1. Install Cuda, CudNN, TensorRT, and TensorFlow for Python
29
-
You can check [NVIDIA website](https://developer.nvidia.com/) for help.
30
-
Installation procedures are very well documented.<br><br>**If you are
31
-
using NVIDIA Jetson (Nano, TX1/2, Xavier) with Jetpack 4.4**, most needed packages
32
-
should be installed if the Jetson was correctly flashed using SDK
33
-
Manager or the SD card image, you will only need to install cmake, openblas and tensorflow:
34
-
```bash
35
-
sudo apt install cmake libopenblas-dev
36
-
```
37
-
#### 2. Install Tensorflow
38
-
The following shows the steps to install Tensorflow for Jetpack 4.4. This was copied from the official [NVIDIA documentation](https://docs.nvidia.com/deeplearning/frameworks/install-tf-jetson-platform/index.html). I'm assuming you don't need to install it in a virtual environment. If yes, please refer to the documentation linked above. If you are not installing this on a jetson, please refer to the official tensorflow documentation.
24
+
25
+
#### 1. Install Tensorflow
26
+
The following shows the steps to install Tensorflow for Jetpack 5.1. This was copied from the official [NVIDIA documentation](https://docs.nvidia.com/deeplearning/frameworks/install-tf-jetson-platform/index.html). I'm assuming you don't need to install it in a virtual environment. If yes, please refer to the documentation linked above. If you are not installing this on a jetson, please refer to the official tensorflow documentation.
0 commit comments