Closed arisin closed 10 years ago
<< ./etupirka -G [master] I0122 22:49:23.614086 8928 logger.cxx:22] etupirka logger initialized I0122 22:49:23.614238 8928 commandline_helper.cxx:75] interpert I0122 22:49:23.614254 8928 commandline_helper.cxx:78] arguments[0]: ./etupirka I0122 22:49:23.614271 8928 commandline_helper.cxx:78] arguments[1]: -G I0122 22:49:23.614316 8928 commandline_helper.cxx:442] load_default I0122 22:49:23.614332 8928 commandline_helper.cxx:358] load_file I0122 22:49:23.615108 8928 main.cxx:8] to construct etupirka I0122 22:49:23.615166 8928 etupirka.cxx:11] etupirka ctor I0122 22:49:23.615185 8928 commandline_helper.cxx:285] show_conf I0122 22:49:23.615849 8928 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 I0122 22:49:23.616113 8928 etupirka.cxx:19] main_loop_wait[ns]: 33333333 I0122 22:49:23.616132 8928 main.cxx:10] to run I0122 22:49:23.616176 8928 etupirka.cxx:40] mode is main, to run_main I0122 22:49:23.616191 8928 etupirka.cxx:61] to initialize I0122 22:49:23.616204 8928 etupirka.cxx:230] initialize I0122 22:49:23.616214 8928 etupirka.cxx:234] to initialize camera_capture I0122 22:49:23.616228 8928 camera-capture.cxx:15] top-cam-id: 0 I0122 22:49:23.616240 8928 camera-capture.cxx:16] front-cam-id: 1 I0122 22:49:23.616250 8928 camera-capture.cxx:17] width: 640 I0122 22:49:23.616260 8928 camera-capture.cxx:18] height: 480 I0122 22:49:23.616269 8928 camera-capture.cxx:19] video-file-top: I0122 22:49:23.616279 8928 camera-capture.cxx:20] video-file-front: I0122 22:49:23.616289 8928 camera-capture.cxx:26] top-cam set height and width I0122 22:49:23.616302 8928 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 I0122 22:49:23.776576 8928 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 I0122 22:49:23.781723 8928 camera-capture.cxx:52] front-cam opened I0122 22:49:23.781838 8928 etupirka.cxx:236] to initialize finger_detector_top I0122 22:49:23.781867 8928 finger-detector.cxx:96] ctor I0122 22:49:23.781894 8928 finger-detector.cxx:102] is_top: 1 I0122 22:49:23.781921 8928 finger-detector.cxx:125] set_pre_bilateral d, sc, ss: 16, 72, 16 I0122 22:49:23.782021 8928 finger-detector.cxx:131] set_pre_morphology n: 5 I0122 22:49:23.782068 8928 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, I0122 22:49:23.782114 8928 finger-detector.cxx:148] set_nail_morphology n: 5 I0122 22:49:23.782140 8928 finger-detector.cxx:157] set_nail_median_blur ksize: 13 I0122 22:49:23.782166 8928 finger-detector.cxx:168] set_circles dp, min_dist, param_1, param_2, min_radius, max_radius: 1, 8, 100, 8, 4, 12 I0122 22:49:23.782201 8928 etupirka.cxx:238] to initialize finger_detector_front I0122 22:49:23.782227 8928 finger-detector.cxx:96] ctor I0122 22:49:23.782264 8928 finger-detector.cxx:102] is_top: 0 I0122 22:49:23.782290 8928 finger-detector.cxx:125] set_pre_bilateral d, sc, ss: 16, 72, 16 I0122 22:49:23.782322 8928 finger-detector.cxx:131] set_pre_morphology n: 5 I0122 22:49:23.782347 8928 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, I0122 22:49:23.782387 8928 finger-detector.cxx:148] set_nail_morphology n: 5 I0122 22:49:23.782413 8928 finger-detector.cxx:157] set_nail_median_blur ksize: 13 I0122 22:49:23.782438 8928 finger-detector.cxx:168] set_circles dp, min_dist, param_1, param_2, min_radius, max_radius: 1, 8, 100, 8, 4, 12 I0122 22:49:23.782471 8928 etupirka.cxx:240] to initialize space_converter I0122 22:49:23.782503 8928 space-converter.cxx:15] top_camera_positon[mm]: 0.000000,207.000000,264.000000 I0122 22:49:23.782564 8928 space-converter.cxx:16] front_camera_position[mm]: 0.000000,37.000000,350.000000 I0122 22:49:23.782601 8928 space-converter.cxx:17] top_camera_angle_x[deg]: 31.1 I0122 22:49:23.782635 8928 space-converter.cxx:18] camera_fov_diagonal[deg]: 64 I0122 22:49:23.782663 8928 space-converter.cxx:19] camera_sensor_size[mm]: 3.600000,2.700000 I0122 22:49:23.782697 8928 space-converter.cxx:20] image_size[mm]: 640.000000,480.000000 I0122 22:49:23.782742 8928 space-converter.cxx:31] top_camera_angle_x_rad[rad]: 0.542797 I0122 22:49:23.782773 8928 space-converter.cxx:35] camera_sensor_diagonal[mm]: 4.5 I0122 22:49:23.782802 8928 space-converter.cxx:39] camera_fov_diagonal_rad[rad]:1.11701 I0122 22:49:23.782830 8928 space-converter.cxx:43] camera_fov_diagonal_div_2_rad[rad]: 0.558505 I0122 22:49:23.782901 8928 space-converter.cxx:47] camera_focal_length[mm]: 3.60075 I0122 22:49:23.782946 8928 space-converter.cxx:55] camera_fov_div_2_rad[rad]: 0.463564,0.358702 I0122 22:49:23.782984 8928 space-converter.cxx:63] camera_fov_rad[rad]: 0.927128,0.717404 I0122 22:49:23.783017 8928 space-converter.cxx:70] camera_fov[deg]: 53.120514,41.104218 I0122 22:49:23.783054 8928 etupirka.cxx:242] to initialize virtual_keyboard I0122 22:49:23.783783 8928 virtual-keyboard.cxx:21] database(virtual-keyboard.sqlite3) table(test) I0122 22:49:23.783885 8928 virtual-keyboard.cxx:28] SQL: select max(x+w) from test I0122 22:49:23.784116 8928 virtual-keyboard.cxx:31] x_shift_: -219.075 I0122 22:49:23.784216 8928 etupirka.cxx:244] to initialize udp_sender I0122 22:49:23.785143 8928 udp-sender.cxx:15] resolver, query, endpoint, socket are initialized I0122 22:49:23.785239 8928 udp-sender.cxx:16] address(localhost) port(30000) I0122 22:49:23.785286 8928 udp-sender.cxx:18] socket opened I0122 22:49:23.829386 8928 etupirka.cxx:277] done initialize all submodules I0122 22:49:23.829473 8928 etupirka.cxx:279] 0xce7870 I0122 22:49:23.829493 8928 etupirka.cxx:280] 0xcf02e0 I0122 22:49:23.829504 8928 etupirka.cxx:281] 0xcf03b0 I0122 22:49:23.829514 8928 etupirka.cxx:282] 0xcefbe0 I0122 22:49:23.829524 8928 etupirka.cxx:283] 0xcf0480 I0122 22:49:23.829532 8928 etupirka.cxx:284] 0xcec8a0 I0122 22:49:23.829542 8928 etupirka.cxx:285] 0 I0122 22:49:23.829551 8928 etupirka.cxx:286] 0 I0122 22:49:23.829561 8928 etupirka.cxx:66] run main mode main loop I0122 22:49:23.829582 8928 etupirka.cxx:74] to camera_capture() I0122 22:49:24.847925 8928 camera-capture.cxx:63] top-cam captured libv4l2: error turning on stream: No space left on device VIDIOC_STREAMON: No space left on device I0122 22:49:24.849939 8928 camera-capture.cxx:67] front-cam captured I0122 22:49:24.850023 8928 etupirka.cxx:78] to finger_detector_top() I0122 22:49:25.101937 8928 finger-detector.cxx:246] circle x, y, r: 201.5, 255.5, 9.92472 I0122 22:49:25.102072 8928 finger-detector.cxx:246] circle x, y, r: 229.5, 258.5, 8.86002 I0122 22:49:25.102087 8928 finger-detector.cxx:246] circle x, y, r: 346.5, 268.5, 6.04152 I0122 22:49:25.102185 8928 etupirka.cxx:81] circles_top.size(): 3 I0122 22:49:25.102198 8928 etupirka.cxx:83] to finger_detector_front() 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
よろしくお願いします。
カメラID0がMacの内臓カメラに割り当ててあったことによるエラーだったようだ。 とりあえずう動いたので、閉じます。
よろしくお願いします。