python_protobuf_demo This is the simplest demo how to use protobuf in Python. 0. google doc: https://developers.google.com/protocol-buffers/docs/pythontutorial 1. download protobuf tool(prebuild version): https://github.com/protocolbuffers/protobuf/releases 2. install protobuf for python: pip install protobuf 3. write the proto file: person.proto 4. compile proto file to python file: protoc ./TargetDetection.proto --python_out=./ #--python_out generate TargetDetection_pb2.py file path 5. use proto in Python for decoding and encoding: demo.py