Skip to content

ubicomplab/rPPG-Data-Collection-Android

Repository files navigation

rPPG Android Data Collection App

Gradle

dependencies {
    implementation 'com.github.duanhong169:camera:${latestVersion}'
    ...
}

Replace ${latestVersion} with the latest version code. See releases.

Usage

  • Clone the git repo (can do directly through Android Studio - Check out project from Version Control)

  • Build Gradle properly

  • Make sure allow storage and camera access when you download the app on your phone

  • Helpful resources and sample codes are available on Camera_GitHub

File Description

  • activity_main.xml (Camera-app/res/layout) is a file that you can design first page of the app (Survey Start)
  • activity_video_record.xml (Camera-app/res/layout) is a file that you can design recording page of the app
  • MainActivity (Camera-app/java/top.defaults/cameraapp) is a file that you can control first page of the app
    • Can prepare all the settings that are required for recording video
  • Camera2Photographer (Camera-camera\java\top.defaults.camera) is a file that you can control specific camera settings
  • Utils (Camera-camera\java\top.defaults.camera) is a file that contains utility function for Camera2Photographer

Reference

Credits

License

See the LICENSE file.