车牌检测案例的问题

车牌检测案例:https://github.com/soonhahwang/Mobilenet-SSD-to-detect-Licence-Plate

请问这个案例如何移植到rdk X3 上?

sunrise@ubuntu:/app/pydev_demo/main$ vi detector_image.py

sunrise@ubuntu:/app/pydev_demo/main$ sudo python3 detector_image.py

Traceback (most recent call last):

File “detector_image.py”, line 1, in

from object_detection.utils import label_map_util, visualization_utils as viz_utils

File “/app/pydev_demo/main/object_detection/utils/label_map_util.py”, line 27, in

import tensorflow.compat.v1 as tf

ModuleNotFoundError: No module named ‘tensorflow’

sunrise@ubuntu:/app/pydev_demo/main$ pip show tensorflow

Name: tensorflow

Version: 2.13.0

Summary: TensorFlow is an open source machine learning framework for everyone.

Home-page: https://www.tensorflow.org/

Author: Google Inc.

Author-email: packages@tensorflow.org

License: Apache 2.0

Location: /home/sunrise/.local/lib/python3.8/site-packages

Requires: tensorflow-cpu-aws

Required-by:

sunrise@ubuntu:/app/pydev_demo/main$ python3

Python 3.8.10 (default, May 26 2023, 14:05:08)

[GCC 9.4.0] on linux

Type “help”, “copyright”, “credits” or “license” for more information.

我安装了TensorFlow,但总是提示没有这个模块。谁部署过这个,请指导一下,谢谢!

https://github.com/tensorflow/models/tree/master可以参考该链接安装相应的包