发布时间:2022-04-22 00:01:13
# -*- coding: utf-8 -*-# @Modified by: Ruihao# @ProjectName:yolov5-pyqt5import sysfrom datetime import datetimefrom PyQt5 import QtWidgetsfrom PyQt5.QtWidgets import *from utils.id_utils import get_id_info,sava_id_info # 账号信息工具函数from lib.share import shareI.........【阅读全文】
发布时间:2022-04-19 17:56:02
import tkinter as tkfrom db import dbfrom tkinter import ttk# 录入类class InputFrame(tk.Frame): def __init__(self, master=None): super().__init__(master)  .........【阅读全文】
发布时间:2022-04-17 19:50:01
# -*- coding: utf-8 -*-import cv2import dlibimport numpy as np detector =dlib.get_frontal_face_detector() # dlib的正向人脸检测器predictor = dlib.shape_predictor(r'shape_predictor_68_face_landmarks.dat') # dlib的人脸形状检测器def get_image_size(image):&.........【阅读全文】
发布时间:2022-04-16 23:56:36
import cv2 import face_recognition # 人脸识别库 99.7% cmake dlib face_recognitionimport subprocessdef video2mp3(file_name): outfile_name = file_name.split('.')[0] + '.mp3' cmd = 'ffmpeg -i ' + file_na.........【阅读全文】
发布时间:2022-04-14 17:19:47
import jsonimport randomimport time#别挂配置数据gua_data_path = "data.json"#别卦数据gua_data_map = {}fake_delay = 10#读取别卦数据def init_gua_data(json_path):with open(gua_data_path,'r',encoding='utf8')as fp:global gua_data_mapgua_data_map = json.........【阅读全文】