diff --git a/algo/core/segment.cpp b/algo/core/segment.cpp index 0b798b3db8f5dbf17545fc4ebda22863fa3b470d..2eded98278f429186cc4c98c4176dffea0e9555c 100644 --- a/algo/core/segment.cpp +++ b/algo/core/segment.cpp @@ -57,13 +57,13 @@ void AlignBox::addToJson(json &seg) { if (key != "3") // no end information for J { - j["end"] = end; + j["end"] = end + 1; j["delRight"] = del_right; } if (key != "5") // no start information for V { - j["start"] = start; + j["start"] = start + 1; j["delLeft"] = del_left; }