Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
liyuming1978 opened this issue Mar 9, 2023 · 0 comments
Open

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

liyuming1978 opened this issue Mar 9, 2023 · 0 comments
Assignees

Comments

@liyuming1978
Copy link

liyuming1978 commented Mar 9, 2023

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants