Image is resized after prediction
bodstersll opened this issue · 3 comments
bodstersll commented
wujun007 commented
请问 这个项目只能用yolov8训练好的模型,在该项目中加载后调用预测吗?这个项目能否实现模型训练?
sstainba commented
请问 这个项目只能用yolov8训练好的模型,在该项目中加载后调用预测吗?这个项目能否实现模型训练?
Please read the readme file. When adding comments, please try to keep to the subject at hand.
sstainba commented
After using ImageSharp instead of System.Drawing, image size is changed after prediction. Here is the output using System.Drawing:
And here is the output using ImageSharp:
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.