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.
我对一种根据图像颜色过滤图像的方法感兴趣。例如,当我选择“绿色”时,会出现在其调色板内具有绿色的图像。这应该是自动完成的,之前不应该有照片的“标记”。是否有任何 jquery 或 php 库可以做到这一点?谢谢
jQuery 无法执行图像分析。
要执行您想要的操作,您必须将每个图像加载到 Canvas 中,并对位图数据执行某种统计分析。这可能太慢而无法在多于几张图像上使用。