Skip to content

KinFu render() error (python3.8) #2925

Closed
@DumDereDum

Description

@DumDereDum
System information (version)
  • OpenCV => 4.2
  • Operating System / Platform => Windows 64 Bit
  • Compiler => Visual Studio 2019 (for building python library)
  • PyCharm 2020.3
  • Python 3.8
Detailed description

Python version of kinfu.render works only with 2 args, while it should work with 1 and with 2

Steps to reproduce
```
params = cv2.kinfu_Params.defaultParams()
kf = cv2.kinfu_KinFu.create(params)
flag = kf.update(depth)
size = height, width, 4
cvt8 = np.zeros(size, dtype=np.uint8)
kf.render(cvt8)
```
Issue submission checklist
  • I report the issue, it's not a question
  • I checked the problem with documentation, FAQ, open issues,
    answers.opencv.org, Stack Overflow, etc and have not found solution
  • I updated to latest OpenCV version and the issue is still there
  • There is reproducer code and related data files: videos, images, onnx, etc

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions