How to utilise the maximum resolution of the Raspberry Pi Cameraboard 2592x1944?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Shogan Aversa-Druesne
le 17 Mai 2015
Réponse apportée : Richard
le 5 Jan 2016
The current MATALB support package for the Raspberry Pi (v15.0.1) locks the cameraboard in video recording mode with a max resolution of 1920x1080 (2MP). The camera is actually capable of a 5 mega pixel image with resolution of 2592x1944 for still images. Is there a way to use the still only mode in MATLAB and capture 5MP images?
2 commentaires
Andrei Dobrescu
le 11 Déc 2015
I am also interested in still images only so I would like to use the full resolution available.
Réponse acceptée
Richard
le 5 Jan 2016
Not sure this is the most efficient way but it is possible to do this from Matlab:
mypi=raspi;
system(mypi,'raspistill -n -o test.jpg');
The default creates a maximum resolution image (2542x1944). Many command line parameters are available for raspistill. The image file can be retrieved with:
getFile(mypi,'test.jpg');
Hopefully, the 2016a release will extend CameraBoard to cover all modes?
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur MATLAB Support Package for Raspberry Pi Hardware dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!