mirror of
https://github.com/doomertheboomer/depthrush.git
synced 2026-09-03 22:34:30 -05:00
create configuration program
This commit is contained in:
23
depthrushConfig/depthrushConfig.cpp
Normal file
23
depthrushConfig/depthrushConfig.cpp
Normal file
@@ -0,0 +1,23 @@
|
||||
#include "includes.h"
|
||||
|
||||
int main()
|
||||
{
|
||||
int choice = 0;
|
||||
std::cout << "Depthrush test application\n";
|
||||
std::cout << "1. Calibrate Kinect\n";
|
||||
std::cout << "2. Preview Kinect\n";
|
||||
std::cout << "Enter a choice (1,2): ";
|
||||
std::cin >> choice;
|
||||
if (choice == 1) {
|
||||
calibration();
|
||||
return 0;
|
||||
}
|
||||
else if (choice == 2) {
|
||||
std::cout << "okay 2";
|
||||
return 0;
|
||||
}
|
||||
else {
|
||||
std::cout << "Invalid option!";
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user