Android support

This commit is contained in:
Björn Ritzl
2020-07-15 19:51:38 +02:00
parent 4bf2d79b4c
commit c61161724a
8 changed files with 520 additions and 24 deletions

View File

@@ -26,7 +26,9 @@ local function start_capture(self)
end
camera.start_capture(type, quality, function(self, status)
if status == camera.STATUS_STARTED then
print("camera.start_capture", status)
pprint(camera)
if status == camera.CAMERA_STARTED then
self.cameraframe = camera.get_frame()
self.camerainfo = camera.get_info()
self.cameratextureheader = {