This file contains 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
<?php | |
/* | |
* Connect weixin with HWIOAuthBundle package. | |
* | |
* Yplam <[email protected]> | |
* | |
*/ | |
namespace AppBundle\OAuth\ResourceOwner; |
This file contains 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
import numpy as np | |
import cv2 | |
import imutils | |
template = cv2.imread('template.jpg') # template image | |
image_o = cv2.imread('image.jpg') # image | |
template = cv2.cvtColor(template, cv2.COLOR_BGR2GRAY) | |
image = cv2.cvtColor(image_o, cv2.COLOR_BGR2GRAY) |