def trf_learn.recognize_3d.confusion_matrix | ( | true_labels, | |
predicted | |||
) |
Definition at line 76 of file recognize_3d.py.
def trf_learn.recognize_3d.dataset_to_libsvm | ( | dataset, | |
filename | |||
) |
Definition at line 157 of file recognize_3d.py.
def trf_learn.recognize_3d.draw_dataset | ( | dataset, | |
img, | |||
scale = 1. , |
|||
size = 2 , |
|||
scan_id = None |
|||
) |
Definition at line 185 of file recognize_3d.py.
def trf_learn.recognize_3d.draw_labeled_points | ( | image, | |
dataset, | |||
pos_color = [255 , |
|||
neg_color = [0 , |
|||
scale = 1. |
|||
) |
Definition at line 172 of file recognize_3d.py.
def trf_learn.recognize_3d.draw_points | ( | img, | |
img_pts, | |||
color, | |||
size = 1 , |
|||
thickness = -1 |
|||
) |
Definition at line 180 of file recognize_3d.py.
def trf_learn.recognize_3d.find_max_in_density | ( | locs2d | ) |
Definition at line 740 of file recognize_3d.py.
def trf_learn.recognize_3d.insert_folder_name | ( | apath, | |
folder_name | |||
) |
Definition at line 130 of file recognize_3d.py.
def trf_learn.recognize_3d.instance_to_image | ( | win_size, | |
instance, | |||
min_val, | |||
max_val | |||
) |
Definition at line 111 of file recognize_3d.py.
def trf_learn.recognize_3d.instances_to_image | ( | win_size, | |
instances, | |||
min_val, | |||
max_val | |||
) |
Definition at line 105 of file recognize_3d.py.
def trf_learn.recognize_3d.inverse_indices | ( | indices_exclude, | |
num_elements | |||
) |
Definition at line 202 of file recognize_3d.py.
def trf_learn.recognize_3d.load_data_from_file2 | ( | fname, | |
rec_param | |||
) |
Definition at line 134 of file recognize_3d.py.
def trf_learn.recognize_3d.make_point_exclusion_test_set | ( | training_dataset, | |
all_data_dir, | |||
ext | |||
) |
Definition at line 249 of file recognize_3d.py.
def trf_learn.recognize_3d.preprocess_data_in_dir | ( | dirname, | |
ext | |||
) |
Definition at line 237 of file recognize_3d.py.
def trf_learn.recognize_3d.preprocess_scan_extract_features | ( | raw_data_fname, | |
ext | |||
) |
Definition at line 208 of file recognize_3d.py.
def trf_learn.recognize_3d.separate_by_labels | ( | points, | |
labels | |||
) |
Definition at line 70 of file recognize_3d.py.
tuple trf_learn::recognize_3d::current_scan_pred = InterestPointDataset(xs, results, locs2d, locs3d, None) |
Definition at line 2148 of file recognize_3d.py.
Definition at line 2125 of file recognize_3d.py.
string trf_learn::recognize_3d::dest = 'mode' |
Definition at line 2002 of file recognize_3d.py.
Definition at line 2050 of file recognize_3d.py.
list trf_learn::recognize_3d::fname = raw_input('pick a file name') |
Definition at line 2049 of file recognize_3d.py.
tuple trf_learn::recognize_3d::fp = FiducialPicker(args[0]) |
Definition at line 2023 of file recognize_3d.py.
tuple trf_learn::recognize_3d::fpfh = rospy.ServiceProxy('fpfh', fsrv.FPFHCalc) |
Definition at line 2094 of file recognize_3d.py.
string trf_learn::recognize_3d::help = 'fiducialpicker, preprocess, or label' |
Definition at line 2003 of file recognize_3d.py.
tuple trf_learn::recognize_3d::histogram = np.matrix(res.hist.histograms) |
Definition at line 2109 of file recognize_3d.py.
tuple trf_learn::recognize_3d::img = cv.CloneMat(cdisp['cv']) |
Definition at line 2151 of file recognize_3d.py.
tuple trf_learn::recognize_3d::ip = ImagePublisher('active_learn') |
Definition at line 2136 of file recognize_3d.py.
Definition at line 2044 of file recognize_3d.py.
tuple trf_learn::recognize_3d::kfe = KinectFeatureExtractor() |
Definition at line 2122 of file recognize_3d.py.
tuple trf_learn::recognize_3d::learner = SVMPCA_ActiveLearner(use_pca=True) |
Definition at line 2134 of file recognize_3d.py.
Definition at line 2043 of file recognize_3d.py.
Definition at line 2015 of file recognize_3d.py.
tuple trf_learn::recognize_3d::neg_to_pos_ratio = float(nneg) |
Definition at line 2132 of file recognize_3d.py.
Definition at line 68 of file recognize_3d.py.
tuple trf_learn::recognize_3d::nneg = np.sum(dataset.outputs == NEGATIVE) |
Definition at line 2126 of file recognize_3d.py.
tuple trf_learn::recognize_3d::npos = np.sum(dataset.outputs == POSITIVE) |
Definition at line 2127 of file recognize_3d.py.
tuple trf_learn::recognize_3d::p = optparse.OptionParser() |
Definition at line 2000 of file recognize_3d.py.
tuple trf_learn::recognize_3d::picked_i = int(raw_input('pick a key to use')) |
Definition at line 2047 of file recognize_3d.py.
tuple trf_learn::recognize_3d::points3d = np.matrix(res.hist.points3d) |
Definition at line 2110 of file recognize_3d.py.
float trf_learn::recognize_3d::POSITIVE = 1.0 |
Definition at line 67 of file recognize_3d.py.
tuple trf_learn::recognize_3d::req = fsrv.FPFHCalcRequest() |
Definition at line 2099 of file recognize_3d.py.
tuple trf_learn::recognize_3d::res = fpfh(req) |
Definition at line 2104 of file recognize_3d.py.
tuple trf_learn::recognize_3d::results = np.matrix(learner.classify(sdset)) |
Definition at line 2147 of file recognize_3d.py.
00001 ScanLabeler(args[0], ext='_features_df2_dict.pkl', scan_to_train_on=opt.train, 00002 seed_dset=opt.seed, features_to_use=opt.feature)
Definition at line 2060 of file recognize_3d.py.
Definition at line 2048 of file recognize_3d.py.
Definition at line 2135 of file recognize_3d.py.
float trf_learn::recognize_3d::UNLABELED = 2.0 |
Definition at line 66 of file recognize_3d.py.
string trf_learn::recognize_3d::weight_balance = ' -w0 1 -w1 %.2f' |
Definition at line 2133 of file recognize_3d.py.