First Azure Kinect App–VIDEO- Getting Depth and Color camera

Ivana Tilca Blog

Hello!

This article if part of a serie of “How to” create Apps with Azure Kinect DK. Yesterday I posted the first Part of this serie. Including:

  • Connect and open our Device
  • Configure our camera
  • Start our camera
  • Stop our camera
  • Dispose our Device

Today I am excited to dig in the theory of the configuration of our camera. As you saw in first post we had the following configuration.

APPLICATION WITH C API

k4a_device_configuration_t config = K4A_DEVICE_CONFIG_INIT_DISABLE_ALL;
config.camera_fps = K4A_FRAMES_PER_SECOND_30;
config.color_format = K4A_IMAGE_FORMAT_COLOR_MJPG;
config.color_resolution = K4A_COLOR_RESOLUTION_2160P;
config.depth_mode = K4A_DEPTH_MODE_NFOV_UNBINNED;

APPLICATION WITH K4A NUGET PACKAGE

DeviceConfiguration config = DeviceConfiguration.DisableAll;

config
.CameraFps = FrameRate.Thirty;

config
.ColorFormat = ImageFormat.ColorMjpg;

config
.ColorResolution = ColorResolution.R2160p;

config
.DepthMode = DepthMode.NarrowViewUnbinned;

But the thing is… what did we configurate in here?

“Camera Frames Per Second.”

FPS is used to measure frame rate – the number of consecutive full-screen images that are displayed…

View original post 509 more words

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.