diff --git a/openbr/plugins/imgproc/cropfrommask.cpp b/openbr/plugins/imgproc/cropfrommask.cpp index 41681e3..2835f4f 100644 --- a/openbr/plugins/imgproc/cropfrommask.cpp +++ b/openbr/plugins/imgproc/cropfrommask.cpp @@ -64,6 +64,7 @@ private: dst.m() = Mat(src.m(), Rect(top, left, bottom - top + 1, right - left + 1)); } else { + dst.file.remove("Mask"); dst.file.fte = true; } }