|
@@ -84,10 +84,10 @@ if __name__ == '__main__':
|
|
|
print("radius = %f m" % rad)
|
|
|
|
|
|
yaw = yaws[class_member_mask]
|
|
|
- db_yaw = DBSCAN(eps = 0.1, min_samples=100,
|
|
|
+ db_yaw = DBSCAN(eps = 0.05, min_samples=30,
|
|
|
metric = metric.ang_distance).fit(yaw.reshape(-1, 1))
|
|
|
lbs = set(db_yaw.labels_)
|
|
|
- arrow_colors = [plt.cm.Spectral(each)
|
|
|
+ arrow_colors = [plt.cm.Wistia(each)
|
|
|
for each in np.linspace(0, 1, len(lbs))]
|
|
|
for l in lbs:
|
|
|
if l != -1:
|