|
@@ -45,6 +45,7 @@ struct Box
|
|
|
Box(float left, float top, float right, float bottom, float score, const std::string& label, bool need_classification = false)
|
|
|
: left(left), top(top), right(right), bottom(bottom), score(score), label(label), need_classification(need_classification) {}
|
|
|
Box(const Box& b) : left(b.left), top(b.top), right(b.right), bottom(b.bottom), score(b.score), label(b.label), need_classification(b.need_classification), points(b.points) {}
|
|
|
+ Box(const Box&& b) : left(b.left), top(b.top), right(b.right), bottom(b.bottom), score(b.score), label(b.label), need_classification(b.need_classification), points(b.points) {}
|
|
|
Box& operator=(const Box& b)
|
|
|
{
|
|
|
left = b.left;
|