OfficineArduinoTorino / spassouno-py

a place to store new versions of (s)passouno to fit in a Pi
3 stars 1 forks source link

add compatibility to CREATIVE VF0780 USB Camera #23

Open vongomben opened 4 years ago

vongomben commented 4 years ago

When connected to a USB camera the camera gets recognized but breaks the image method

The camera we would like to use is this

RGB video: HD 720p (1280 x 720) IR depth: QVGA (320 x 240)

Source: https://www.bhphotovideo.com/c/product/1023482-REG/creative_labs_73vf078000001_senz3d_depth_and_gesture.html

vongomben commented 4 years ago

Ho provato a cambiare

camera=Camera((1920,1080),display)

con la risoluzione della camera (1280 X 720) ma non ha funzionato.

Prossimo tentativo é cambiarne alla riga 157

display = pygame.display.set_mode((1680,1050),pygame.FULLSCREEN)

in

display = pygame.display.set_mode((1280,720),pygame.FULLSCREEN)

ma è un trial & error.

vongomben commented 4 years ago

aggiungo l'errore che ci da

immagine