sstainba/Yolov8.Net

Image is resized after prediction

bodstersll opened this issue · 3 comments

After using ImageSharp instead of System.Drawing, image size is changed after prediction.
Here is the output using System.Drawing:
c804fa62697a0bef5f48c84d01f1dec

And here is the output using ImageSharp:
74c9339e92ae2472041c25779654ca0
Why does it happen?

请问 这个项目只能用yolov8训练好的模型,在该项目中加载后调用预测吗?这个项目能否实现模型训练?

请问 这个项目只能用yolov8训练好的模型,在该项目中加载后调用预测吗?这个项目能否实现模型训练?

Please read the readme file. When adding comments, please try to keep to the subject at hand.

After using ImageSharp instead of System.Drawing, image size is changed after prediction. Here is the output using System.Drawing: c804fa62697a0bef5f48c84d01f1dec

And here is the output using ImageSharp: 74c9339e92ae2472041c25779654ca0 Why does it happen?

This was an oversight on my part. I will correct this shortly to use a copy of the original so as not to permanently resize the input image.