Skip to content

USB data issue #89

Open
Open
@stefan981

Description

@stefan981

Hey Marek,

Thanks for the great app; it has helped me a lot with development.

Two months ago, the USB connection from my iPad worked, and I was able to stream the RGB and the depth image. However, now when I try to do it with the same code, it does not work. I get an OpenCV assertion that states the RGB matrix is empty. When I only use the depth image, I don't receive any errors, but the output is just a black image.

I have installed the latest app version and pulled the latest code from GitHub. The behavior is the same for both the Python and C++ versions. It is able to start the USB connection, the software recognises the device and starts the streaming.

Is this a known issue? I couldn’t find any relevant issues about this. Do you have any suggestions on what my problem could be?

Update:
It seems that the resize funbction in get_rgb_frame() causes the issues. This is the error:
ValueError: resize only works on single-segment arrays
Force restart the IPad like suggested in #71 did not help.

Best wishes,
Stefan

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