From 012ddb2ed0922a86e9fa55c9024164cdabe31b59 Mon Sep 17 00:00:00 2001 From: John Zhao Date: Sat, 12 May 2018 22:19:45 +0800 Subject: [PATCH] Update api camera sample --- samples/api/camera.cc | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/samples/api/camera.cc b/samples/api/camera.cc index 1f7de12..d5aff62 100644 --- a/samples/api/camera.cc +++ b/samples/api/camera.cc @@ -13,18 +13,15 @@ // limitations under the License. #include -#include "mynteye/glog_init.h" +#include #include "mynteye/api.h" #include "mynteye/times.h" -#include "mynteye/utils.h" MYNTEYE_USE_NAMESPACE int main(int argc, char *argv[]) { - glog_init _(argc, argv); - - auto &&api = API::Create(); + auto &&api = API::Create(argc, argv); // api->SetOptionValue(Option::FRAME_RATE, 25); // api->SetOptionValue(Option::IMU_FREQUENCY, 500);