Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

$ git ls-files -z | xargs -0 sed -i 's/Size.Zero/default/' #78

Merged
merged 1 commit into from
Jan 9, 2024
Merged

$ git ls-files -z | xargs -0 sed -i 's/Size.Zero/default/' #78

merged 1 commit into from
Jan 9, 2024

Conversation

n0099
Copy link
Contributor

@n0099 n0099 commented Jan 3, 2024

2024-01-03 19:52:05.1596|ERROR|T14|FailedImageHandler.Try|Exception for image 5892008:
System.MissingFieldException: Field not found: 'OpenCvSharp.Size.Zero'.
   at Sdcb.PaddleOCR.PaddleOcrDetector.MatResize(Mat src, Nullable`1 maxSize)
   at Sdcb.PaddleOCR.PaddleOcrDetector.RunRaw(Mat src, Size& resizedSize)
   at Sdcb.PaddleOCR.PaddleOcrDetector.Run(Mat src)

to compatibility with the latest [email protected]: https://github.com/shimat/opencvsharp/pull/1613/files#diff-8a97c041dcab3a73538116b6bb1135779d1c126eb913c7301b5ec435d88c6688R20

@n0099 n0099 changed the title $ git ls-files -z | xargs -z sed -i 's/Size.Zero/default/' $ git ls-files -z | xargs -0 sed -i 's/Size.Zero/default/' Jan 3, 2024
@sdcb sdcb merged commit 0bd8236 into sdcb:master Jan 9, 2024
@sdcb
Copy link
Owner

sdcb commented Jan 9, 2024

升级竟然将Zero干掉了!?

@sdcb
Copy link
Owner

sdcb commented Jan 11, 2024

shimat/opencvsharp#1640

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants