Functions | |
def | approx_equals |
def | approx_subset |
def | approx_superset |
def | categorize |
def | false_negatives |
def | intersects |
Variables | |
a = auto.area | |
list | aa = autos[os[2]] |
list | ah = hands[os[1]] |
list | ai = autos[os[2]] |
list | autos = [] |
tuple | autototal = sum([x.area for x in autos]) |
list | categorized = [categorize(autos, hands, i) for i in range(len(autos))] |
string | coll_namespace = 'run{0}' |
string | db_name = 'semantic_world_model' |
tuple | fns = false_negatives(autos, hands) |
list | fps = [x for x in categorized if x[0] == 5] |
tuple | gcn = gcn_proxy() |
tuple | gcn_proxy |
list | hands = [] |
tuple | handtotal = sum([x.area for x in hands]) |
tuple | index = int(sys.argv[1]) |
list | intersections = [x for x in categorized if x[0] == 4] |
float | it = 0.0 |
float | min_area = 0.25 |
float | mistake = 0.0 |
list | names = [] |
list | oversegs = [x for x in categorized if x[0] == 2] |
list | pairs = [(x, y) for (x, y) in zip(hands, names) if x.area >= min_area] |
float | pct = 0.75 |
tuple | planes = list(planes_mc.query({})) |
tuple | planes_mc = mr.MessageCollection(db_name, coll_namespace+'_planes', Planes) |
run_id = None | |
list | truepos = [x for x in categorized if x[0] == 1] |
list | undersegs = [x for x in categorized if x[0] == 3] |
def plane_analysis.approx_equals | ( | a, | |
b | |||
) |
Definition at line 93 of file plane_analysis.py.
def plane_analysis.approx_subset | ( | a, | |
b | |||
) |
Is a an approximate subset of b, according to section 7 of the paper?
Definition at line 80 of file plane_analysis.py.
def plane_analysis.approx_superset | ( | a, | |
b | |||
) |
I am an approximate superset of you if you're an approximate subset of me.
Definition at line 87 of file plane_analysis.py.
def plane_analysis.categorize | ( | autos, | |
hands, | |||
index | |||
) |
Given the set of autos, and hands, and an index (into autos), return the appropriate categorization of that index. This always returns a tuple whose first element is in range(1, 6), describing the category; the next value is the thing it matched against (but see the last return).
Definition at line 100 of file plane_analysis.py.
def plane_analysis.false_negatives | ( | autos, | |
hands | |||
) |
Find the hands that have no autos intersecting them at all.
Definition at line 125 of file plane_analysis.py.
def plane_analysis.intersects | ( | a, | |
b | |||
) |
Does a intersect b at all?
Definition at line 96 of file plane_analysis.py.
plane_analysis::a = auto.area |
Definition at line 199 of file plane_analysis.py.
list plane_analysis::aa = autos[os[2]] |
Definition at line 150 of file plane_analysis.py.
list plane_analysis::ah = hands[os[1]] |
Definition at line 151 of file plane_analysis.py.
list plane_analysis::ai = autos[os[2]] |
Definition at line 152 of file plane_analysis.py.
Definition at line 58 of file plane_analysis.py.
tuple plane_analysis::autototal = sum([x.area for x in autos]) |
Definition at line 187 of file plane_analysis.py.
list plane_analysis::categorized = [categorize(autos, hands, i) for i in range(len(autos))] |
Definition at line 139 of file plane_analysis.py.
Definition at line 37 of file plane_analysis.py.
plane_analysis::db_name = 'semantic_world_model' |
Definition at line 36 of file plane_analysis.py.
tuple plane_analysis::fns = false_negatives(autos, hands) |
Definition at line 180 of file plane_analysis.py.
list plane_analysis::fps = [x for x in categorized if x[0] == 5] |
Definition at line 174 of file plane_analysis.py.
tuple plane_analysis::gcn = gcn_proxy() |
Definition at line 44 of file plane_analysis.py.
00001 rospy.ServiceProxy('get_collection_namespace', 00002 GetCollectionNamespace)
Definition at line 41 of file plane_analysis.py.
Definition at line 64 of file plane_analysis.py.
tuple plane_analysis::handtotal = sum([x.area for x in hands]) |
Definition at line 186 of file plane_analysis.py.
tuple plane_analysis::index = int(sys.argv[1]) |
Definition at line 22 of file plane_analysis.py.
list plane_analysis::intersections = [x for x in categorized if x[0] == 4] |
Definition at line 165 of file plane_analysis.py.
float plane_analysis::it = 0.0 |
Definition at line 190 of file plane_analysis.py.
float plane_analysis::min_area = 0.25 |
Definition at line 24 of file plane_analysis.py.
float plane_analysis::mistake = 0.0 |
Definition at line 197 of file plane_analysis.py.
Definition at line 65 of file plane_analysis.py.
list plane_analysis::oversegs = [x for x in categorized if x[0] == 2] |
Definition at line 147 of file plane_analysis.py.
Definition at line 73 of file plane_analysis.py.
tuple plane_analysis::pct = 0.75 |
Definition at line 23 of file plane_analysis.py.
tuple plane_analysis::planes = list(planes_mc.query({})) |
Definition at line 52 of file plane_analysis.py.
tuple plane_analysis::planes_mc = mr.MessageCollection(db_name, coll_namespace+'_planes', Planes) |
Definition at line 48 of file plane_analysis.py.
tuple plane_analysis::run_id = None |
Definition at line 28 of file plane_analysis.py.
list plane_analysis::truepos = [x for x in categorized if x[0] == 1] |
Definition at line 141 of file plane_analysis.py.
list plane_analysis::undersegs = [x for x in categorized if x[0] == 3] |
Definition at line 156 of file plane_analysis.py.