Skip to content

No registered converter was able to extract a C++ pointer to type char from this Python object of type bytes #282

Description

@baiqilin1991

when I run dense_flow/tools/extract_flow.py

Traceback (most recent call last):
File "extract_flow.py", line 71, in
flow_frames = f.extract_flow(frame_list)
File "extract_flow.py", line 23, in extract_flow
rst = self._et.extract_flow([x.tostring() for x in frame_list], frame_size[1], frame_size[0])
TypeError: No registered converter was able to extract a C++ pointer to type char from this Python object of type bytes

can any one help me?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions