Skip to content
This repository was archived by the owner on Nov 1, 2024. It is now read-only.
This repository was archived by the owner on Nov 1, 2024. It is now read-only.

Capture errors in VGA mode #10

@suddhu

Description

@suddhu

Hi!

I'm trying to stream images from the DIGIT in 640x480 resolution. However, there seems to be occasional glitches in the frames along with a lateral translation of the entire frame. This doesn't occur for me in the 320 x 240 mode. I've attached a video below illustrating the problem, along with the minimal code example.

Would you happen to know any reason this occurs? Any pointers would be much appreciated, thank you for your time!

Code

from digit_interface import Digit, DigitHandler

connected_digit = DigitHandler.list_digits()[0]
d = Digit(connected_digit['serial'])
d.connect()
d.set_resolution(Digit.STREAMS["VGA"])
print(d.info())
d.show_view()
d.disconnect()

Output

Name: None /dev/video2
        - Model: DIGIT
        - Revision: 200
        - Connected?: True
Stream Info:
        - Resolution: 320 x 240
        - FPS: 60
        - LED Intensity: 4095

Video

vga_digit.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions