Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
由于我不太了解 PHP 中的图像处理,但是熟悉 OCR 和 OMR,我有一个独特的要求。这是场景:
给定输入:2 个图像
所需输出:将站着的人分开
任何有关该主题的技术指针将不胜感激。
谢谢。
您可以使用 Imagick 比较功能 .. 这可以帮助您识别图像之间的细微差别
compare a.png a1.png diff.png
比较
结果
跑
convert diff.png -matte ( +clone -fuzz 5% -transparent #f3303e ) -compose DstOut -composite red-channel.png