【问题标题】:Face recognition doesn't work on Jetson Nano人脸识别在 Jetson Nano 上不起作用
【发布时间】:2020-05-21 21:05:03
【问题描述】:

我想将我的人脸识别系统从 PC 最小化到 Jetson Nano 板

我使用这个示例代码: https://github.com/ageitgey/face_recognition/blob/master/examples/facerec_from_webcam_faster.py

系统在PC上运行良好,可以识别已知人脸。但是当我将代码移至 Jetson Nano 时,系统无法识别已知面孔。 ARM处理器有什么额外的配置吗?

【问题讨论】:

  • 正如 repo 的 README.md 中所述:There is current a bug in the CUDA libraries on the Jetson Nano that will cause this library to fail silently if you don't follow the instructions in the article to comment out a line in dlib and recompile it. 你试过了吗?
  • 还没有,我想先做那个@jgorostegui
  • 我刚刚按照你说的做了,但我的系统仍然无法识别已知面孔@jgorostegui

标签: python nvidia-jetson-nano


【解决方案1】:

您必须先安装所有依赖项,如果您使用 TensorFlow,我将发布链接和命令。您还必须在 Jetson Nano 中构建 OpenCV。

https://docs.nvidia.com/deeplearning/frameworks/install-tf-jetson-platform/index.html

$ sudo apt-get update
$ sudo apt-get install libhdf5-serial-dev hdf5-tools libhdf5-dev zlib1g-dev zip libjpeg8-dev liblapack-dev libblas-dev gfortran

安装和升级 pip3。

$ sudo apt-get install python3-pip
$ sudo pip3 install -U pip testresources setuptools

安装 Python 包依赖项。

$ sudo pip3 install -U numpy==1.16.1 future==0.17.1 mock==3.0.5 h5py==2.9.0 keras_preprocessing==1.0.5 keras_applications==1.0.8 gast==0.2.2 futur

【讨论】:

    猜你喜欢
    • 2019-03-04
    • 2022-06-24
    • 2021-04-02
    • 2011-12-14
    • 1970-01-01
    • 2012-07-26
    • 2012-05-03
    • 2017-12-01
    • 2018-06-14
    相关资源
    最近更新 更多