Update api camera sample

This commit is contained in:
John Zhao 2018-05-12 22:19:45 +08:00
parent 994342ae3a
commit 012ddb2ed0

View File

@ -13,18 +13,15 @@
// limitations under the License. // limitations under the License.
#include <opencv2/highgui/highgui.hpp> #include <opencv2/highgui/highgui.hpp>
#include "mynteye/glog_init.h" #include <glog/logging.h>
#include "mynteye/api.h" #include "mynteye/api.h"
#include "mynteye/times.h" #include "mynteye/times.h"
#include "mynteye/utils.h"
MYNTEYE_USE_NAMESPACE MYNTEYE_USE_NAMESPACE
int main(int argc, char *argv[]) { int main(int argc, char *argv[]) {
glog_init _(argc, argv); auto &&api = API::Create(argc, argv);
auto &&api = API::Create();
// api->SetOptionValue(Option::FRAME_RATE, 25); // api->SetOptionValue(Option::FRAME_RATE, 25);
// api->SetOptionValue(Option::IMU_FREQUENCY, 500); // api->SetOptionValue(Option::IMU_FREQUENCY, 500);