<commit_before>#! /usr/bin/env python

import time
import roslib
import numpy as np
import rospy
import sys
import cv2
import sensor_msgs.point_cloud2
from std_msgs.msg import Empty
from sensor_msgs.msg import CameraInfo
from sensor_msgs.msg import PointCloud2
from sensor_msgs.msg import Image
from rospy.numpy_msg import numpy_msg
from cv_bridge import CvBridge, CvBridgeError

class DepthCalibration:

    def __init__(self):        
        self.enable_camera_info_relay = False
        self.enable_depth_relay = False
        
        self.camera_info_relay = rospy.Publisher("camera_info_relay", CameraInfo, queue_size=10)
        self.depth_relay = rospy.Publisher("depth_relay", Image, queue_size=10)        
        self.save_calibration_publisher = rospy.Publisher("save_calibration_trigger", Empty, queue_size=10)        
        
        self.camera_info_subscriber = rospy.Subscriber("camera_info", CameraInfo, self.camera_info_cb)
        self.depth_subscriber = rospy.Subscriber("depth_raw_distorted", Image, self.depth_cb)
        self.cloud_subscriber = rospy.Subscriber("calibrated_cloud", PointCloud2, self.cloud_cb)


    def run_calibration(self):<commit_msg>Remove unused cv2 import<commit_after>#! /usr/bin/env python

import time
import roslib
import numpy as np
import rospy
import sys
import sensor_msgs.point_cloud2
from std_msgs.msg import Empty
from sensor_msgs.msg import CameraInfo
from sensor_msgs.msg import PointCloud2
from sensor_msgs.msg import Image
from rospy.numpy_msg import numpy_msg
from cv_bridge import CvBridge, CvBridgeError

class DepthCalibration:

    def __init__(self):
        self.enable_camera_info_relay = False
        self.enable_depth_relay = False
        
        self.camera_info_relay = rospy.Publisher("camera_info_relay", CameraInfo, queue_size=10)
        self.depth_relay = rospy.Publisher("depth_relay", Image, queue_size=10)        
        self.save_calibration_publisher = rospy.Publisher("save_calibration_trigger", Empty, queue_size=10)
        
        self.camera_info_subscriber = rospy.Subscriber("camera_info", CameraInfo, self.camera_info_cb)
        self.depth_subscriber = rospy.Subscriber("depth_raw_distorted", Image, self.depth_cb)
        self.cloud_subscriber = rospy.Subscriber("calibrated_cloud", PointCloud2, self.cloud_cb)


    def run_calibration(self):
{'fraction_non_alphanumeric': 0.07337883959044368, 'fraction_numerical': 0.008532423208191127, 'mean_word_length': 4.257847533632287, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2824856', 'n_tokens_mistral': 779, 'n_tokens_neox': 744, 'n_words': 156}