6aba311dc32bf9418057da2f675e140351990bb8,table_setup.py,Setup,__init__,#Setup#,8

Before Change


        tempalte_file = "pics/half.png"

        self.topLeftCorner = cv2.cvtColor(np.array(Image.open(topleftcorner_file)), cv2.COLOR_BGR2RGB)
        screenshot = cv2.cvtColor(np.array(Image.open(screenshot_file)), cv2.COLOR_BGR2RGB)
        count, points, bestfit = self.find_template_on_screen(self.topLeftCorner, screenshot, 0.01)
        self.tlc = points[0]
        //Image.open(screenshot_file).show()

After Change



        self.topLeftCorner = cv2.cvtColor(np.array(Image.open(topleftcorner_file)), cv2.COLOR_BGR2RGB)
        //screenshot = cv2.cvtColor(np.array(Image.open(screenshot_file)), cv2.COLOR_BGR2RGB)
        screenshot = cv2.imread(screenshot_file)

        count, points, bestfit = self.find_template_on_screen(self.topLeftCorner, screenshot, 0.05)
        //Image.open(screenshot_file).show()
        cv2.imshow("Image",screenshot)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: dickreuter/Poker
Commit Name: 6aba311dc32bf9418057da2f675e140351990bb8
Time: 2016-09-14
Author: dickreuter@yahoo.com
File Name: table_setup.py
Class Name: Setup
Method Name: __init__


Project Name: dmlc/gluon-cv
Commit Name: 5ceb5586f0b9b74ab21e094e3bb4b87c81020afe
Time: 2018-04-25
Author: cheungchih@gmail.com
File Name: docs/tutorials/classification/demo_cifar10.py
Class Name:
Method Name:


Project Name: dmlc/gluon-cv
Commit Name: 5ceb5586f0b9b74ab21e094e3bb4b87c81020afe
Time: 2018-04-25
Author: cheungchih@gmail.com
File Name: docs/tutorials/segmentation/demo_fcn.py
Class Name:
Method Name: