MCPcopy Create free account
hub / github.com/SpectacularAI/sdk / showUsage

Function showUsage

cpp/orbbec/record.cpp:13–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11#include "helpers.hpp"
12
13void showUsage() {
14 std::cout << "Record data for later playback from Orbbec devices" << std::endl << std::endl;
15 std::cout << "Supported arguments:" << std::endl
16 << " -h, --help Help" << std::endl
17 << " --output <recording_folder>, otherwise recording is saved to current working directory" << std::endl
18 << " --auto_subfolders, create timestamp-named subfolders for each recording" << std::endl
19 << " --recording_only, disables Vio" << std::endl
20 << " --color_res <width,height>" << std::endl
21 << " --depth_res <width,height>" << std::endl
22 << " --frame_rate <fps>" << std::endl
23 << " --align, use orbbec sdk to align depth images to color images, note color camera might have smaller fov!" << std::endl
24 << " --exposure <value>" << std::endl
25 << " --gain <value>" << std::endl
26 << " --whitebalance <kelvins> " << std::endl
27 << " --brightness <value>" << std::endl
28 << " --no_preview, do not show a live preview" << std::endl
29 << " --preview_resolution <width,height>, window resolution (default=1280,720)" << std::endl
30 << " --preview_fps <fps>, window fps (default=30)" << std::endl
31 << " --fullscreen, start in fullscreen mode" << std::endl
32 << " --record_window, window recording filename" << std::endl
33 << " --voxel <meters>, voxel size for downsampling point clouds (visualization only)" << std::endl
34 << " --color, filter points without color (visualization only)" << std::endl
35 << " --no_record, disable recording" << std::endl
36 << std::endl;
37}
38
39bool setCameraProperty(std::shared_ptr<ob::Device> device, OBPropertyID propertyId, int value, const std::string &propertyName) {
40 try {

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected