Closed usagi closed 10 years ago
<< ./etupirka -G -m main [master] I0120 18:31:11.946148 4176 logger.cxx:22] etupirka logger initialized I0120 18:31:11.946200 4176 commandline_helper.cxx:75] interpert I0120 18:31:11.946208 4176 commandline_helper.cxx:78] arguments[0]: ./etupirka I0120 18:31:11.946218 4176 commandline_helper.cxx:78] arguments[1]: -G I0120 18:31:11.946223 4176 commandline_helper.cxx:78] arguments[2]: -m I0120 18:31:11.946228 4176 commandline_helper.cxx:78] arguments[3]: main I0120 18:31:11.946235 4176 commandline_helper.cxx:437] load_default I0120 18:31:11.946244 4176 commandline_helper.cxx:358] load_file E0120 18:31:11.946322 4176 commandline_helper.cxx:366] exception: boost::property_tree::read_ini; file etupirka.conf is not exists, maybe. I0120 18:31:11.946337 4176 main.cxx:8] to construct etupirka I0120 18:31:11.946346 4176 etupirka.cxx:11] etupirka ctor I0120 18:31:11.946352 4176 commandline_helper.cxx:285] show_conf I0120 18:31:11.946799 4176 etupirka.cxx:16] conf.mode: mode=main gui=true fps=30 video_file_top= video_file_front= circle_x_distance_threshold=6 send_repeat_key_down_signal=false recieve_repeat_key_down_signal=false [camera_capture] top_camera_id=0 front_camera_id=1 width=640 height=480 [finger_detector_top] pre_bilateral_d=16 pre_bilateral_sc=72 pre_bilateral_ss=16 pre_morphology_n=5 hsv_h_min=315.87 hsv_h_max=356.36 hsv_s_min=0.2992 hsv_s_max=0.7049 hsv_v_min=120 hsv_v_max=255 nail_morphology_n=5 nail_median_blur_ksize=13 circles_dp=1 circles_min_dist=8 circles_param_1=100 circles_param_2=8 circles_min_radius=4 circles_max_radius=12 [finger_detector_front] pre_bilateral_d=16 pre_bilateral_sc=72 pre_bilateral_ss=16 pre_morphology_n=5 hsv_h_min=356.33 hsv_h_max=390 hsv_s_min=0.1105 hsv_s_max=0.3118 hsv_v_min=199 hsv_v_max=255 nail_morphology_n=5 nail_median_blur_ksize=13 circles_dp=1 circles_min_dist=8 circles_param_1=100 circles_param_2=8 circles_min_radius=4 circles_max_radius=12 [space_converter] top_camera_position=0.000000,207.000000,264.000000 front_camera_position=0.000000,37.000000,350.000000 top_camera_angle_x=31.1 camera_fov_diagonal=64 camera_sensor_size=3.600000,2.700000 image_size=640.000000,480.000000 [virtual_keyboard] database=virtual-keyboard.sqlite3 table=test [udp_sender] address=localhost port=30000 [udp_reciever] port=30000 I0120 18:31:11.946949 4176 etupirka.cxx:19] main_loop_wait[ns]: 33333333 I0120 18:31:11.946956 4176 main.cxx:10] to run I0120 18:31:11.946960 4176 etupirka.cxx:33] mode is main, to run_main I0120 18:31:11.946965 4176 etupirka.cxx:51] to initialize I0120 18:31:11.946970 4176 etupirka.cxx:216] initialize I0120 18:31:11.946975 4176 etupirka.cxx:220] to initialize camera_capture I0120 18:31:11.946981 4176 camera-capture.cxx:15] top-cam-id: 0 I0120 18:31:11.946986 4176 camera-capture.cxx:16] front-cam-id: 1 I0120 18:31:11.946991 4176 camera-capture.cxx:17] width: 640 I0120 18:31:11.946995 4176 camera-capture.cxx:18] height: 480 I0120 18:31:11.947000 4176 camera-capture.cxx:19] video-file-top: I0120 18:31:11.947005 4176 camera-capture.cxx:20] video-file-front: I0120 18:31:11.947008 4176 camera-capture.cxx:26] top-cam set height and width I0120 18:31:11.947015 4176 camera-capture.cxx:33] front-cam set height and width VIDIOC_QUERYMENU: Invalid argument VIDIOC_QUERYMENU: Invalid argument VIDIOC_QUERYMENU: Invalid argument VIDIOC_QUERYMENU: Invalid argument VIDIOC_QUERYMENU: Invalid argument VIDIOC_QUERYMENU: Invalid argument VIDIOC_QUERYMENU: Invalid argument I0120 18:31:12.092757 4176 camera-capture.cxx:43] top-cam opened VIDIOC_QUERYMENU: Invalid argument VIDIOC_QUERYMENU: Invalid argument VIDIOC_QUERYMENU: Invalid argument VIDIOC_QUERYMENU: Invalid argument VIDIOC_QUERYMENU: Invalid argument VIDIOC_QUERYMENU: Invalid argument VIDIOC_QUERYMENU: Invalid argument I0120 18:31:12.095823 4176 camera-capture.cxx:52] front-cam opened I0120 18:31:12.095841 4176 etupirka.cxx:222] to initialize finger_detector_top I0120 18:31:12.095849 4176 finger-detector.cxx:96] ctor I0120 18:31:12.095856 4176 finger-detector.cxx:102] is_top: 1 I0120 18:31:12.095862 4176 finger-detector.cxx:125] set_pre_bilateral d, sc, ss: 16, 72, 16 I0120 18:31:12.095872 4176 finger-detector.cxx:131] set_pre_morphology n: 5 I0120 18:31:12.095877 4176 finger-detector.cxx:142] set_hsv h-min, h-max, s-min, s-max, v-min, v-max: 315.87, 356.36, 0.2992, 0.7049, 120, 255, I0120 18:31:12.095887 4176 finger-detector.cxx:148] set_nail_morphology n: 5 I0120 18:31:12.095892 4176 finger-detector.cxx:157] set_nail_median_blur ksize: 13 I0120 18:31:12.095897 4176 finger-detector.cxx:168] set_circles dp, min_dist, param_1, param_2, min_radius, max_radius: 1, 8, 100, 8, 4, 12 I0120 18:31:12.095913 4176 etupirka.cxx:224] to initialize finger_detector_front I0120 18:31:12.095918 4176 finger-detector.cxx:96] ctor I0120 18:31:12.095922 4176 finger-detector.cxx:102] is_top: 0 I0120 18:31:12.095927 4176 finger-detector.cxx:125] set_pre_bilateral d, sc, ss: 16, 72, 16 I0120 18:31:12.095933 4176 finger-detector.cxx:131] set_pre_morphology n: 5 I0120 18:31:12.095938 4176 finger-detector.cxx:142] set_hsv h-min, h-max, s-min, s-max, v-min, v-max: 356.33, 390, 0.1105, 0.3118, 199, 255, I0120 18:31:12.095945 4176 finger-detector.cxx:148] set_nail_morphology n: 5 I0120 18:31:12.095950 4176 finger-detector.cxx:157] set_nail_median_blur ksize: 13 I0120 18:31:12.095954 4176 finger-detector.cxx:168] set_circles dp, min_dist, param_1, param_2, min_radius, max_radius: 1, 8, 100, 8, 4, 12 I0120 18:31:12.095960 4176 etupirka.cxx:226] to initialize space_converter I0120 18:31:12.095973 4176 space-converter.cxx:15] top_camera_positon[mm]: 0.000000,207.000000,264.000000 I0120 18:31:12.095979 4176 space-converter.cxx:16] front_camera_position[mm]: 0.000000,37.000000,350.000000 I0120 18:31:12.095984 4176 space-converter.cxx:17] top_camera_angle_x[deg]: 31.1 I0120 18:31:12.095990 4176 space-converter.cxx:18] camera_fov_diagonal[deg]: 64 I0120 18:31:12.095998 4176 space-converter.cxx:19] camera_sensor_size[mm]: 3.600000,2.700000 I0120 18:31:12.096004 4176 space-converter.cxx:20] image_size[mm]: 640.000000,480.000000 I0120 18:31:12.096009 4176 space-converter.cxx:31] top_camera_angle_x_rad[rad]: 0.542797 I0120 18:31:12.096014 4176 space-converter.cxx:35] camera_sensor_diagonal[mm]: 4.5 I0120 18:31:12.096019 4176 space-converter.cxx:39] camera_fov_diagonal_rad[rad]:1.11701 I0120 18:31:12.096024 4176 space-converter.cxx:43] camera_fov_diagonal_div_2_rad[rad]: 0.558505 I0120 18:31:12.096037 4176 space-converter.cxx:47] camera_focal_length[mm]: 3.60075 I0120 18:31:12.096045 4176 space-converter.cxx:55] camera_fov_div_2_rad[rad]: 0.463564,0.358702 I0120 18:31:12.096051 4176 space-converter.cxx:63] camera_fov_rad[rad]: 0.927128,0.717404 I0120 18:31:12.096058 4176 space-converter.cxx:70] camera_fov[deg]: 53.120514,41.104218 I0120 18:31:12.096063 4176 etupirka.cxx:228] to initialize virtual_keyboard I0120 18:31:12.096303 4176 virtual-keyboard.cxx:21] database(virtual-keyboard.sqlite3) table(test) I0120 18:31:12.096318 4176 virtual-keyboard.cxx:28] SQL: select max(x+w) from test I0120 18:31:12.096377 4176 virtual-keyboard.cxx:31] x_shift_: -219.075 I0120 18:31:12.096390 4176 etupirka.cxx:230] to initialize udp_sender I0120 18:31:12.096607 4176 udp-sender.cxx:15] resolver, query, endpoint, socket are initialized I0120 18:31:12.096619 4176 udp-sender.cxx:16] address(localhost) port(30000) I0120 18:31:12.096629 4176 udp-sender.cxx:18] socket opened I0120 18:31:12.224064 4176 etupirka.cxx:263] done initialize all submodules I0120 18:31:12.224092 4176 etupirka.cxx:265] 0x228e1f0 I0120 18:31:12.224102 4176 etupirka.cxx:266] 0x2292700 I0120 18:31:12.224107 4176 etupirka.cxx:267] 0x22927d0 I0120 18:31:12.224112 4176 etupirka.cxx:268] 0x22940a0 I0120 18:31:12.224115 4176 etupirka.cxx:269] 0x2291a30 I0120 18:31:12.224120 4176 etupirka.cxx:270] 0x22adc40 I0120 18:31:12.224124 4176 etupirka.cxx:271] 0 I0120 18:31:12.224129 4176 etupirka.cxx:272] 0 I0120 18:31:12.224133 4176 etupirka.cxx:56] run main mode main loop I0120 18:31:12.224143 4176 etupirka.cxx:64] to camera_capture() libv4l2: error turning on stream: Invalid argument VIDIOC_STREAMON: Invalid argument I0120 18:31:12.225028 4176 camera-capture.cxx:63] top-cam captured libv4l2: error turning on stream: Invalid argument VIDIOC_STREAMON: Invalid argument I0120 18:31:12.225893 4176 camera-capture.cxx:67] front-cam captured I0120 18:31:12.225903 4176 etupirka.cxx:68] to finger_detector_top() OpenCV Error: Assertion failed ((src.type() == CV_8UC1 || src.type() == CV_8UC3) && src.type() == dst.type() && src.size() == dst.size() && src.data != dst.data) in bilateralFilter_8u, file /build/buildd/opencv-2.4.5+dfsg/modules/imgproc/src/smooth.cpp, line 1874 terminate called after throwing an instance of 'cv::Exception' what(): /build/buildd/opencv-2.4.5+dfsg/modules/imgproc/src/smooth.cpp:1874: error: (-215) (src.type() == CV_8UC1 || src.type() == CV_8UC3) && src.type() == dst.type() && src.size() == dst.size() && src.data != dst.data in function bilateralFilter_8u zsh: abort ./etupirka -G -m main