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

Capture errors in VGA mode #10

Open
suddhu opened this issue Mar 17, 2022 · 8 comments
Open

Capture errors in VGA mode #10

suddhu opened this issue Mar 17, 2022 · 8 comments
Labels
bug Something isn't working

Comments

@suddhu
Copy link

suddhu commented Mar 17, 2022

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
@AlphaBetaPhi AlphaBetaPhi added the bug Something isn't working label Jun 16, 2022
@NFiedler
Copy link

I struggle with the same issue. Thanks a lot for mentioning that it doesn't occur in QVGA mode! This helped me a lot. However, a fix or a hint would be much appreciated.

@AlphaBetaPhi
Copy link
Contributor

Hi @suddhu, @NFiedler,

Can you confirm if you're using the latest firmware?

@NFiedler
Copy link

I am using the current version of this repository on a Ubuntu 20.04.

@yujinkim0301
Copy link

I have the same problem. Did you get a solution to solve this problem?

@AlphaBetaPhi
Copy link
Contributor

@NFiedler , @yujinkim0301 can you confirm which version of the firmware you are using?

@yujinkim0301
Copy link

How can I check the firmware? If it's the same as the version in digit_interfaces, it's 0.2.1. And on August 19, 2022, 5 digital sensors were purchased.

@suddhu
Copy link
Author

suddhu commented Oct 19, 2022

@AlphaBetaPhi I'm using revision 200, which I believe is the latest version of the firmware. I've also observed that this issue does occasionally come up for QVGA video as well.

@AnatoliyZabrovskiy
Copy link

Hi! Any news on this issue? What is the latest firmware version and how to update it? Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants