Skip to content

lxk121lalala/RGBD_data_capture

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RGB-D Data Capture App for iPhone TrueDepth Camera

The code is modified from Apple Sample Code: https://developer.apple.com/documentation/avfoundation/cameras_and_media_capture/streaming_depth_data_from_the_truedepth_camera

Hardware requirements: Mac OS with Xcode 11.0+, iPhone with TrueDepth Camera and iOS 12.0+

Build and Run

You need a Mac OS with Xcode 11.0+ to build the code and an iPhone with TrueDepth Camera, e.g., iPhone X or newer, to run the program.

To build the code, open the project with Xcode, and you should be able to compile it. After building it successfully, connect your iphone and install it.

You will see something like below on your iphone.

NOTE: Once the app is opened, it automatically starts to capture RGB-D images and save them into iPhone's album. It won’t stop until you close the app.

img

The captured RGB-D images will be saved in the album, like the snapshot below. Then you can freely export them from the album.

img

Capturing Human Faces

There is a guidance circle on the interface for capturing face images. In order to collect the depth of a face better, we recommend that the face should be close to the screen until the face is about the same size as the guidance circle, as shown below.

img

About

RGB-D Data Capture App for iPhone TrueDepth Camera

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published