diff --git a/examples/camera/lisp/web-server.lisp b/examples/camera/lisp/web-server.lisp index baae969..9b306f1 100644 --- a/examples/camera/lisp/web-server.lisp +++ b/examples/camera/lisp/web-server.lisp @@ -1,6 +1,7 @@ ;;; This starts a local web-server in order to preview/download the taken -;;; pictures on your desktop computer. Make sure you are in the same WiFi, -;;; and open: +;;; pictures (mobile device) on your desktop computer. +;;; +;;; Make sure you are in the same WiFi, and open: ;;; ;;; http://192.168.1.x:1701/ @@ -14,7 +15,10 @@ diff --git a/examples/camera/readme.md b/examples/camera/readme.md index 865fee0..44b4283 100644 --- a/examples/camera/readme.md +++ b/examples/camera/readme.md @@ -30,9 +30,23 @@ http://192.168.1.x:1701/ chosen here because it's both relatively small and works well on mobile. This example needs a small Qt extension for rotating images. That's necessary -here because different devices may have different camera orientations, so the -saved images would be displayed with the wrong orientation in the desktop -browser. +here because different devices may have different orientation handling (namely +iOS), so the saved images would be displayed with the wrong orientation in the +desktop browser. + + + +Note +---- + +While testing on different devices (phone/tablet), I discovered that they may +behave differently regarding the orientation (both video output and saved +images) even if running the same OS. So, to adapt to your device's behavior, +you need to play around with `autoOrientation` and the angles in function +`adaptOrientation()`; see also Lisp function `qt:rotate-image`. + +The current settings worked for me on both an android phone and an iPhone (both +older models). @@ -44,7 +58,7 @@ lqml run.lisp Optionally pass `-slime` to start a Swank server, and connect from Emacs with `M-x slime-connect`. -During development you can pass `-auto`, which will releoad all QML files after +During development you can pass `-auto`, which will reload all QML files after you made a change to any of them and saved it. For re-initialization after reloading, file `lisp/qml-reload/on-reloaded` will be loaded.