summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schwan <m.schwan@phytec.de>2020-01-15 15:19:37 +0100
committerMartin Schwan <m.schwan@phytec.de>2020-01-22 10:14:25 +0100
commit1a82079b5b415e2a8b68e83339e859aefcc1ff81 (patch)
tree66e787290d38ea37f9b7cf54c54d203d5baf4473
parent1d757268cdd711af806d648c1ffefc2d4b99fc01 (diff)
downloadaidemo-customvision-1a82079b5b415e2a8b68e83339e859aefcc1ff81.tar.bz2
aidemo-customvision-1a82079b5b415e2a8b68e83339e859aefcc1ff81.zip
modules: demo: Remove fixed resolution and framerate
Let the camera use its default resolution and framerate. This should fix some weird behavior with non-consumer grade cameras. Signed-off-by: Martin Schwan <m.schwan@phytec.de>
-rw-r--r--modules/demo/src/main.qml2
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/demo/src/main.qml b/modules/demo/src/main.qml
index 5fe987a..f8a5a30 100644
--- a/modules/demo/src/main.qml
+++ b/modules/demo/src/main.qml
@@ -24,8 +24,6 @@ ApplicationWindow {
Camera {
id: camera
- viewfinder.resolution: "640x480"
- viewfinder.maximumFrameRate: 15
captureMode: Camera.CaptureStillImage
property string captureLocation: "/tmp/aidemo-customvision-capture.jpg"