摘要: import cv2 import pygame import threading from queue import Queue class VideoPlayer: def __init__(self, video_path): # 初始化视频参数 self.cap = cv2.VideoCap 阅读全文
posted @ 2025-03-13 16:37 lambertlt 阅读(144) 评论(0) 推荐(0)
摘要: 在本地搭建文档阅读型AI系统,需结合大模型、向量数据库及文档处理工具。以下是具体方案及步骤,综合多篇实践指南整理而成: 一、核心工具选择 本地大模型部署 推荐模型:通义千问(Qwen)或LLaMA系列,支持中文问答且开源免费。 部署工具:使用 Ollama 或 LM Studio 简化安装: Oll 阅读全文
posted @ 2025-03-13 15:02 lambertlt 阅读(580) 评论(0) 推荐(0)
摘要: // 这是检测的代码 document.addEventListener("visibilitychange", () => { if (document.visibilityState "hidden") { console.log(" 用户离开当前页面"); } else { console.l 阅读全文
posted @ 2025-03-13 09:55 lambertlt 阅读(39) 评论(0) 推荐(0)