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.
我写了一个面部和眼睛检测代码下一步是把一个图像放到检测到的眼睛的坐标上(例如:眼罩、眼镜)我找不到将源帧和我想添加的图像结合起来的功能
有什么建议么
谢谢
您可以使用带有掩码的 cvCopy来执行此操作。如果图像没有相同的高度和宽度,请在使用 cvCopy 之前设置目标图像的 ROI。
请参阅 OpenCV 文档: