Page 1 of 1

Accessing device camera?

Posted: Tue Sep 08, 2020 4:39 pm
by TypicalHB
Is it possible to access a devices camera using Love? If not, is there any libraries that allow me to access the camera that will work with love?

Re: Accessing device camera?

Posted: Tue Sep 08, 2020 11:41 pm
by MrFariator
I don't think love has any built-in way to access device camera, but you could load a C library via luajit FFI. With some googling there are libraries like OpenCV that'd do the job, but might not hurt to search around a bit more if that's a bit too large of library for you.

Re: Accessing device camera?

Posted: Sun Sep 13, 2020 4:05 pm
by AuahDark
These kind of thing entriely depends on platform. In mobile, if user didn't grant you Camera permission then there's nothing you can do.