Skip to content

jbravo94/glass-companion

Repository files navigation

README

Introduction

Smart Glass Companion uses the Iristick SDK Examples code The app includes an embedded HTTP server which serves the camera sources as video stream. It provides trackpad features to enable zoom, auto-focus and flash-light as well as from the app via buttons or touchscreen interaction. Overall, the app provides the basis to access the camera simply from a computer in the same network.

An showcase of the prototype can be viewed on YouTube by clicking on the image or here https://youtu.be/meil9QvhVjo:

20220413_012616_2

Quickstart

  • Start App
  • Navigate to Camera
  • Open Browser with http://phone-ip:8080
  • Single Tap trigger an autofocus
  • Swiping zooms forth and back by factor 2
  • Double tap activates the LED
  • Pinch to zoom, pan to move and tap to autofocus on the previews to interact with the cameras

Notes

  • The http server will be stopped when the preview screen is left, app is minimized or closed
  • Only on connection with the browser is possible Hint: If somebody cannot connect because of a unknown connection left open e.g. tab or other browser, the best solution is to go back to exit the camera preview, which closes existing connections, reopen the preview and try to reconnect.

Used Technologies

  • Java and Android SDK
  • Iristick SDK
  • Sun's Httpserver
  • MJPEG stream capabilities from HTTP protocol
  • ReentrantLock to handle concurrent access of image frames because image capture rate and http stream rate happen asynchronously

Development

Camera G1/G2 information

Foundation

Release

  • Increase version code in AndroidManifest.xml if needed
  • Open Android Studio and select Build -> Generate Signed Bundle / APK -> Android App Bundle and follow next steps
  • Locate apk under generated release folder

License

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages