Skip to content

python需要增加int64_t 的meta获取,设置 #350

@liyuming1978

Description

@liyuming1978

win版本验证,python功能单元获取视频帧的timestamp,发现报错。
需要在
modelbox\src\drivers\common\python\modelbox_api\modelbox_api.cc 这个文件里面 增加2行:

  1. static std::vector kBufferObjectConvertFunc 里面增加DataGet<int64_t, py::int_>,
  2. static std::vector kBufferBaseObjectFunc 里面最好也增加一个对应的set, DataSet<Buffer, py::int_, int64_t>

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions