Accessing Android camera with go

This page summarizes the projects mentioned and recommended in the original post on /r/golang

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • native-camera2

    Discontinued A simple application to demonstrate how to use Android Camera HAL 3

  • Here’s another quick native camera2 example I found - you may need to write some bindings. https://github.com/justinjoy/native-camera2

  • cam2ip

    Turn any webcam into an IP camera

  • You can access Camera2 API via NDK since API ver 24, for devices that do supports it. I tried to do something here but never finished https://github.com/gen2brain/cam2ip/blob/master/camera/camera_android.go. Before that, I successfully used a camera with native access from OpenCV 2, but that is only on very old devices, can't remember exact API versions. For everything in between I believe the only way is to access the camera from Java, then pass that via JNI or something like that.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts