mirror of
https://github.com/skishore/makemeahanzi.git
synced 2025-11-01 12:07:15 +08:00
Allow for strange edge case with multiple corner
This commit is contained in:
@ -180,7 +180,6 @@ function get_features(ins, out) {
|
||||
// connecting two corners by a bridge. This classifier throws out most data.
|
||||
function hand_tuned_classifier(features) {
|
||||
if (features[6] > 0) {
|
||||
assert(features[4] === features[5]);
|
||||
return -Angle.penalty(features[4]);
|
||||
}
|
||||
var angle_penalty = Angle.penalty(features[0]) + Angle.penalty(features[1]);
|
||||
|
||||
Reference in New Issue
Block a user