# 加载内置的人检测神经网络模型(该网络位于OpenMV Cam的固件中)。
net = tf.load('person_detection')
labels = ['unsure', 'person', 'no_person']运行后终端提示
Traceback (most recent call last):
File "<stdin>", line 21, in <module>
OSError: Could not find the file
OpenMV v4.4.1; MicroPython d8e38d0; OPENMV4P-STM32H743
Type "help()" for more information.person_detection在新的固件中删除了,可以使用这个代码替代:
https://github.com/openmv/openmv/blob/master/scripts/examples/03-Machine-Learning/00-TensorFlow/tf_object_detection.py