LIBS += /usr/local/lib/libopencv_calib3d.so \ /usr/local/lib/libopencv_core.so \ /usr/local/lib/libopencv_features2d.so \ /usr/local/lib/libopencv_flann.so \ /usr/local/lib/libopencv_highgui.so \ /usr/local/lib/libopencv_imgcodecs.so \ /usr/local/lib/libopencv_imgproc.so \ ...
首先先把印章图和另一张背景图拿到,如下面两张: 然后我想让它成为这样的: 好的,现在开始用代码实现: 要用到的扩展库主要为:numpy、OpenCV 首先指定图片的路径,比如图片都放在桌面上: seal_path = os.path.join(os.path.expanduser('~'), "Desktop", "red.png") # 带有签章的图片 background_path = os...