yuchuli 981ce533e5 add cameradecision for use camera make decision. 3 months ago
..
proto 981ce533e5 add cameradecision for use camera make decision. 3 months ago
PyModuleCommModule.py 981ce533e5 add cameradecision for use camera make decision. 3 months ago
cameradecision.py 981ce533e5 add cameradecision for use camera make decision. 3 months ago
cameradecisonmain.py 981ce533e5 add cameradecision for use camera make decision. 3 months ago
readme.md 981ce533e5 add cameradecision for use camera make decision. 3 months ago

readme.md

sudo apt install python3-numpy

sudo apt install python3-protobuf

到src/common/modulecomm目录下新建一个build文件夹 cd build cmake .. make 将生成的modulecommpython.so文件拷贝到本文件夹

如果需要修改_pb2.py,进入proto文件夹。 执行: protoc *.proto -I=./ --python_out=./

cameraobjectarray_pb2.py里修改cameraobjectpb2的导入方式,加from . from . import cameraobject_pb2 as cameraobjectpb2