This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import numpy as np | |
import pickle | |
import rospy | |
from sensor_stick.pcl_helper import * | |
from sensor_stick.training_helper import spawn_model | |
from sensor_stick.training_helper import delete_model | |
from sensor_stick.training_helper import initial_setup | |
from sensor_stick.training_helper import capture_sample |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# Import modules | |
import numpy as np | |
import sklearn | |
from sklearn.preprocessing import LabelEncoder | |
import pickle | |
from sensor_stick.srv import GetNormals | |
from sensor_stick.features import compute_color_histograms | |
from sensor_stick.features import compute_normal_histograms |