-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Victor Genty
committed
May 4, 2016
1 parent
acede7b
commit b72de4d
Showing
4 changed files
with
130 additions
and
125 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
from cv2selection import CV2Selection | ||
import cv2 | ||
|
||
class CV2CopyPaste(CV2Selection): | ||
def __init__(self): | ||
super(CV2CopyPaste,self).__init__() | ||
|
||
self.name = "CV2CopyPaste" | ||
# how to impletement this? | ||
# default options | ||
self.copy = None | ||
|
||
def __description__(self): | ||
return "No description provided!" | ||
|
||
def __implement__(self,image): | ||
if self.paste == False: | ||
self.copy = image.copy() | ||
return image | ||
|
||
#can paste multiple times | ||
return self.copy | ||
|
Oops, something went wrong.