cameracalibrator.py 文件源码

python
阅读 26 收藏 0 点赞 0 评论 0

项目:camera_calibration_frontend 作者: groundmelon 项目源码 文件源码
def on_mouse(self, event, x, y, flags, param):
        if event == cv2.EVENT_LBUTTONDOWN and self.displaywidth < x:
            if self.c.goodenough:
                if 180 <= y < 280:
                    self.c.do_calibration()

            if 280 <= y < 380:
                self.c.do_save()

            if self.c.calibrated:
                if 380 <= y < 480:
                    # Only shut down if we set camera info correctly, #3993
                    if self.do_upload():
                        rospy.signal_shutdown('Quit')
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号