Closed niscrulez closed 5 months ago
This is your first time submitting an issue with UVtools 🥳Please review your issue and ensure that the submit template was followed, the information is complete, and not related to any other open issue. It will be reviewed shortly. Debugging is very important and make the program better. Thanks for contributing and making the software better! 🙌
Can provide the file so I can replicate?
Can provide the file so I can replicate?
Yes. Thank you. You need to delete the .zip from the file name (Shield.part1.rar + Shield.part2.rar).
Your file have wrong resolution information and the last layer is empty. It will create last layer with file resolution instead of image resolution and that is why last layer is different in resolution. If you remove that last layer and run detection it will work.
It will be fixed on next release.
Fixed
Thank you so much.
Em sáb., 10 de fev. de 2024 às 00:45, Tiago Conceição < @.***> escreveu:
Fixed
— Reply to this email directly, view it on GitHub https://github.com/sn4k3/UVtools/issues/833#issuecomment-1936843377, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARCDE75IQOHI4CXU3FABQYTYS3UNZAVCNFSM6AAAAABCZA3PNSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZWHA2DGMZXG4 . You are receiving this because you authored the thread.Message ID: @.***>
System
Printer and Slicer
Description of the bug
System.AggregateException: One or more errors occurred. (OpenCV: 0 <= roi.x && 0 <= roi.width && roi.x + roi.width <= m.cols && 0 <= roi.y && 0 <= roi.height && roi.y + roi.height <= m.rows) ---> Emgu.CV.Util.CvException: OpenCV: 0 <= roi.x && 0 <= roi.width && roi.x + roi.width <= m.cols && 0 <= roi.y && 0 <= roi.height && roi.y + roi.height <= m.rows at Emgu.CV.CvInvoke.CvErrorHandler(Int32 status, IntPtr funcName, IntPtr errMsg, IntPtr fileName, Int32 line, IntPtr userData) at Emgu.CV.MatInvoke.cveMatCreateFromRect(IntPtr mat, Rectangle& roi) at UVtools.Core.Extensions.EmguExtensions.Roi(Mat mat, Rectangle roi, EmptyRoiBehaviour emptyRoiBehaviour) in UVtools.Core\Extensions\EmguExtensions.cs:line 794 at UVtools.Core.Managers.IssueManager.<>cDisplayClass18_0.b11(Mat[] mats) in UVtools.Core\Managers\IssueManager.cs:line 665
at System.Threading.Tasks.Parallel.<>cDisplayClass19_0`1.b 1(RangeWorker& currentWorker, Int32 timeout, Boolean& replicationDelegateYieldedBeforeCompletion)
--- End of stack trace from previous location ---
at System.Threading.Tasks.Parallel.<>c__DisplayClass19_0
1.<ForWorker>b__1(RangeWorker& currentWorker, Int32 timeout, Boolean& replicationDelegateYieldedBeforeCompletion) at System.Threading.Tasks.TaskReplicator.Replica.Execute() --- End of inner exception stack trace --- at System.Threading.Tasks.TaskReplicator.Run[TState](ReplicatableUserAction
1 action, ParallelOptions options, Boolean stopOnFirstFailure) at System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action1 body, Action
2 bodyWithState, Func4 bodyWithLocal, Func
1 localInit, Action`1 localFinally)How to reproduce
Files
No response