五月天青色头像情侣网名,国产亚洲av片在线观看18女人,黑人巨茎大战俄罗斯美女,扒下她的小内裤打屁股

歡迎光臨散文網(wǎng) 會(huì)員登陸 & 注冊(cè)

python重啟就會(huì)報(bào)錯(cuò),也是沒(méi)誰(shuí)了

2020-03-10 16:23 作者:一心想當(dāng)網(wǎng)紅的李老師  | 我要投稿

# -*- coding: utf-8 -*-

"""

Created on Tue Mar 10 14:04:43 2020


@author: liyan

"""

import tkinter

from tkinter import *

from PIL import Image,ImageTk

from tkinter.filedialog import askopenfilename

import time

import CV2

import tkinter as tk

import array

import numpy as np



data=[]



def getposBgr(event, x, y, flags, param):

? ? if event==CV2.EVENT_LBUTTONDOWN:

? ? ? ? print("Bgr is", img[y, x])

? ? ? ? data=img[y, x]

? ? ? ? print(data)

? ? ? ? print(data[0])

? ? ? ? f=open('data.txt','a')

? ? ? ? info=str(data[0])+";"+str(data[1])+";"+str(data[2])+"\n"

? ? ? ? f.write(info)

? ? ? ? f.close()


? ? ??

top=tkinter.Tk()

file_path=askopenfilename()

img = CV2.imread(file_path)

print(img)

HSV = CV2.cvtColor(img, CV2.COLOR_BGR2HSV)

CV2.imshow('image', img)

CV2.setMouseCallback("image", getposBgr)

CV2.waitKey(0)

CV2.destroyAllWindows()

top.mainloop()?


python重啟就會(huì)報(bào)錯(cuò),也是沒(méi)誰(shuí)了的評(píng)論 (共 條)

分享到微博請(qǐng)遵守國(guó)家法律
杂多县| 乌拉特前旗| 修水县| 崇文区| 丰都县| 平利县| 天气| 莫力| 昭通市| 布拖县| 正安县| 久治县| 沙湾县| 中牟县| 周口市| 莆田市| 左贡县| 涿鹿县| 阜阳市| 白朗县| 广汉市| 宜阳县| 克山县| 石门县| 通河县| 昆山市| 扬中市| 万宁市| 渭源县| 舞阳县| 搜索| 民县| 客服| 苏尼特右旗| 扎兰屯市| 八宿县| 永平县| 天长市| 阿尔山市| 商丘市| 前郭尔|