简介
该用户还未填写简介
擅长的技术栈
可提供的服务
暂无可提供的服务
均值哈希算法# -*- coding: utf-8 -*-import cv2import numpy as np# Hash值对比def cmpHash(hash1, hash2,shape=(10,10)):n = 0# hash长度不同则返回-1代表传参出错if len(hash1)!=len(hash2):return -1# 遍历判断for i in range(len(hash1)):
#!/usr/bin/env python# -*- coding:utf-8 -*-import sysimport osimport tracebackimport timetry:from PySide2 import QtWidgets as QtGuifrom PySide2 import QtGui as QtGui1from PySide...
# -*- coding: utf-8 -*-#! /usr/bin/env pythonimport sysfrom PyQt4 import QtGui, QtCoreimport os, stringimport mathreload(sys)sys.setdefaultencoding("utf-8")THUMB_WIDTH = 128THUMB_HEI
#!/usr/bin/python#encoding:utf-8import urllibimport osimg="http://vip.zuiku8.com/1810/妖精的尾巴最终季-01.mp4"def Schedule(a,b,c):'''a:已经下载的数据块b:数据块的大小c:远程文件的大小'''per = 100.0*a*...
前今天没事写了个解压文件的api.#!/usr/bin/env python#author:zhaojianxi#coding:utf-8import zipfileimport osclass ZipfileApi(object):def compressionFile(self,filepath,zipname,format):ifnotos...
comp_file.py#!/usr/bin/python# -*- coding: utf-8 -*-import sysfrom PyQt4 import QtGui, QtCoreclass MyLineEdit(QtGui.QLineEdit):def __init__( self, parent=None ):super(MyLi...
识别效果训练20000次数据集下载,https://download.csdn.net/download/qq_38641985/18963935图片标记参考https://github.com/theAIGuysCode/tensorflow-yolov4-tflite修改配置#! /usr/bin/env python# coding=utf-8from easydict import Eas
#!/usr/bin/env python# -*- coding: utf-8 -*-import timedef now():return time.strftime('%Y-%m-%d %H:%M:%S',time.localtime(time.time()))s = '2018-10-26 00:00:00'print now()if now() ...
均值哈希算法# -*- coding: utf-8 -*-import cv2import numpy as np# Hash值对比def cmpHash(hash1, hash2,shape=(10,10)):n = 0# hash长度不同则返回-1代表传参出错if len(hash1)!=len(hash2):return -1# 遍历判断for i in range(len(hash1)):