There's an (official?) Python API for accessing the camera, and there's raspistill/raspivid/raspiyuv for command line access.
What is the best/recommended way to access the camera from C (or C++)? My priority is ease of learning, which means that I prefer well documented complex stuff to udocumented simple APIs.
My ultimate goal is to access the camera form Mathematica with more flexibility than what raspistill allows. In particular, I would like to avoid shutting down and restarting the camera between taking pictures (which is slow and it takes extra time before the exposure is auto-adjusted) and I need flexibility about when the picture is taken (this rules out time lapse mode). It is easy to extend Mathematica using C/C++, but not Python. Looking for C APIs seems the best way.
So far I've found mentions of:
MMAL -- this seems to be recommended but I can't find much documentation. Is this API documented?
OpenMAX -- https://www.khronos.org/openmax/
There are also higher level APIs made by people: http://robotblogging.blogspot.com/2013/ ... i-for.html and http://www.uco.es/investiga/grupos/ava/node/40
