Opt: using template matching for commission suffix recognition#5731
Open
guoh064 wants to merge 2 commits into
Open
Opt: using template matching for commission suffix recognition#5731guoh064 wants to merge 2 commits into
guoh064 wants to merge 2 commits into
Conversation
Owner
|
裁切委托后缀的图片,互相进行模板匹配来去重,不再通过 suffix ocr |
Contributor
Author
如果只改日服的话那Commission.suffix要赋予什么值呢,因为现在别的服务器还是利用suffix来判断两个是否相等; |
Owner
|
所有服务器都改 |
This comment was marked as resolved.
This comment was marked as resolved.
2b16233 to
7b4d5d5
Compare
Contributor
Author
|
改用pHash粗判+matchTemplate细判的方法了。 附上log: |
LmeSzinc
reviewed
Jun 19, 2026
Contributor
Author
|
已修改。到时候可能squash一下换个commit message什么的?方便review就没fixup。 log文件: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix #5698
原理是扫描右上角数量作为主要判断依据,原始数个数方法作为备份回退。
附上测试log,扫描结果有三个running但实际只有两个,程序找了两个委托运行,应该是符合预期的。
result.log