예제 #1
0
def isolate_object_of_interest(points, image, cam_matrix, trans, rot):
    segmented_image, found_box = segment_image(image)
    if not found_box:
        return None, found_box
    points = segment_pointcloud(points, segmented_image, cam_matrix, trans,
                                rot)
    return points, found_box
예제 #2
0
def isolate_objects_of_interest(points, image, cam_matrix, trans, rot):
    segmented_image = segment_image(image)
    cloudList = []
    for mask in segmented_image:
        cloud = segment_pointcloud(np.copy(points), mask, cam_matrix, trans,
                                   rot)
        cloudList.append(cloud)
    return cloudList
예제 #3
0
파일: main.py 프로젝트: joage/CHADBot
def isolate_object_of_interest(points, image, cam_matrix, trans, rot):
    segmented_image = segment_image(image)
    points = segment_pointcloud(points, segmented_image, cam_matrix, trans, rot)
    return points
예제 #4
0
파일: main.py 프로젝트: Qube5/Molkky
def isolate_object_of_interest(points, image, cam_matrix, trans, rot):
    segmented_image, info = segment_image(image, num_pins + 1)
    segmented_image_binary = segmented_image_to_binary(segmented_image)
    points = segment_pointcloud(points, segmented_image_binary, cam_matrix, trans, rot)
    return points, segmented_image, info