- 博客(7)
- 收藏
- 关注
原创 视频处理
切帧+重合切帧代码:import cv2video_path = '1.mp4'image_save = './imgs'cap = cv2.VideoCapture(video_path)video_frame_count = cap.get(cv2.CAP_PROP_FRAME_COUNT)for i in range(int(video_frame_count)): _, img = cap.read() img = cv2.cvtColor(img, cv2.CO
2021-06-06 21:59:01
145
原创 Flask
安装:pip install flask人脸识别index.pyfrom flask import Flask, render_templateimport cv2app = Flask(__name__)@app.route('/')def index(): outname = detect('static/2.jpg') # 待识别图片 return render_template('index.html', outname=outname)def detect
2021-06-03 11:19:26
104
原创 数据可视化
frame<!DOCTYPE html><html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>frame </title> </head> <body> <svg id="svg01" width=800 height=600> <!--
2021-05-17 15:43:16
119
原创 OpenCV+Dlib+FR人脸识别和对齐
人脸定位(仅Opencv)安装:pip install opencv-python代码:import cv2def detect(filename): face_cascade = cv2.CascadeClassifier('C:/Users/13311/Anaconda3/Lib/site-packages/cv2/data/haarcascade_frontalface_default.xml') #括号内路径为:'Python路径下/Lib/site-packages/c
2021-05-17 15:10:58
1060
1
原创 Node.JS+Vue+Vite+D3可视化
NodeJS简单的说 Node.js 就是运行在服务端的 JavaScript。下载网址:http://nodejs.cn/download/查看版本:node --version写文件server.js,试运行:var http = require('http');http.createServer(function (request, response){ // 发送HTTP头部 // HTTP状态值:200:OK // 内容类型:text/plain response.writ
2021-05-17 14:03:45
483
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人