alexnet jin:
# _*_ encoding: cp949 _*_
import pyscreenshot as ImageGrab
#Library PIL
#fullscreen
def capture_full():
    im = ImageGrab.grab()
    im.show()
def capture_part():
    im = ImageGrab.grab(bbox=(0,24,1920,1120))       #x1, y1, x2, y2
    im.show()
if name == '__main__':
    capture_part()
댓글
댓글 쓰기