上一页 1 2 3 4 5 6 7 8 9 10 ··· 118 下一页
摘要: # 提取视频里的声音 ffmpeg -i 1.mp4 -vn output.mp3 # 提取视频里的画面,过滤掉声音 ffmpeg -i 1.mp4 -an output.mp4 # 同时分离视频流和音频流 ffmpeg -i 1.mp4 -vn -c:v copy audio.mp3 -an -c 阅读全文
posted @ 2023-07-22 22:31 NAVYSUMMER 阅读(303) 评论(0) 推荐(0)
摘要: import cv2 import subprocess input_video_path = "/home/navy/Desktop/1.mp4" opencv_video_path = "/home/navy/Desktop/2.mp4" new_video_path = "/home/navy 阅读全文
posted @ 2023-07-22 17:16 NAVYSUMMER 阅读(212) 评论(0) 推荐(0)
摘要: # -*- coding: utf-8 -*- import os import threading import time import tkinter from tkinter import TOP, LEFT, RIGHT, messagebox, filedialog, DISABLED, 阅读全文
posted @ 2023-07-22 16:10 NAVYSUMMER 阅读(19) 评论(0) 推荐(0)
摘要: # -*- coding: utf-8 -*- import os import time import cv2 import numpy from PIL import Image, ImageDraw, ImageFont ascii_char = list("$@B%8&WM#*oahkbdp 阅读全文
posted @ 2023-07-22 15:04 NAVYSUMMER 阅读(19) 评论(0) 推荐(0)
摘要: # -*- coding: utf-8 -*- import os import threading import tkinter from tkinter import LEFT, RIGHT, filedialog, messagebox, DISABLED, NORMAL, TOP impor 阅读全文
posted @ 2023-07-22 03:53 NAVYSUMMER 阅读(16) 评论(0) 推荐(0)
摘要: 1.安装OpenResty的依赖开发库 yum install -y pcre-devel openssl-devel gcc --skip-broken 2.安装OpenResty仓库 yum-config-manager --add-repo https://openresty.org/pack 阅读全文
posted @ 2023-06-09 15:19 NAVYSUMMER 阅读(56) 评论(0) 推荐(0)
摘要: string formatJson(string json) { string result = ""; int level = 0; for (string::size_type index = 0; index < json.size(); index++) { char c = json[in 阅读全文
posted @ 2023-05-18 10:55 NAVYSUMMER 阅读(75) 评论(0) 推荐(0)
摘要: 1.安装 pip3 install -U lesscode_tool 2.创建项目(目前仅支持创建lesscode-py,其他项目请用subcommand实现) 2.1创建lesscode-py项目 lesscodeTool new -d test 2.2创建django项目 lesscodeToo 阅读全文
posted @ 2023-05-03 21:58 NAVYSUMMER 阅读(38) 评论(0) 推荐(0)
摘要: import re def to_camel_case(x): """转驼峰法命名""" return re.sub('_([a-zA-Z])', lambda m: (m.group(1).upper()), x) def to_upper_camel_case(x): """转大驼峰法命名""" 阅读全文
posted @ 2023-05-02 20:07 NAVYSUMMER 阅读(219) 评论(0) 推荐(0)
摘要: var officegen = require('officegen'); var fs = require('fs'); var path = require('path'); var docx = officegen('docx'); docx.on('finalize', function ( 阅读全文
posted @ 2023-04-21 23:00 NAVYSUMMER 阅读(602) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 10 ··· 118 下一页
交流群 编程书籍