摘要: sort目标跟踪一个案例仅仅使用opencv库 #include <opencv2/opencv.hpp> #include <vector> #include <string> #include <cmath> #include <algorithm> #include <limits> #inc 阅读全文
posted @ 2026-05-12 15:10 小城熊儿 阅读(3) 评论(0) 推荐(0)
摘要: 查看文件夹大文件分布,进一步查看,深入一层查看,删除无关大文件 neardi@LPA3588:~$ sudo du -sh /* 2>/dev/null | sort -hr | head -20 7.0G /home 3.5G /usr 1.8G /var 1.7G /userdata 43M / 阅读全文
posted @ 2026-04-23 10:41 小城熊儿 阅读(5) 评论(0) 推荐(0)
摘要: nms_merge_labels.py """ YOLO标签文件NMS合并脚本 对labels文件夹中的每个txt文件进行NMS处理,合并重叠的检测框 """ import os import numpy as np from pathlib import Path def calculate_io 阅读全文
posted @ 2026-04-17 17:39 小城熊儿 阅读(8) 评论(0) 推荐(0)
摘要: AI生成内容 image_browser.py import os import tkinter as tk from tkinter import filedialog, messagebox from PIL import Image, ImageTk import configparser # 阅读全文
posted @ 2026-04-16 15:02 小城熊儿 阅读(7) 评论(0) 推荐(0)
摘要: 使用wepe制作启动盘 https://www.wepe.com.cn/download.html 下载完毕后,双击exe,选择安装到u盘(看左侧),然后,点击制作U盘,等待进度条完毕,然后U盘会出现两个区,一个区比较小,还有80MB空间可用 下载win系统,然后,将系统复制到大的分区里面一般是>1 阅读全文
posted @ 2026-03-31 18:30 小城熊儿 阅读(19) 评论(0) 推荐(0)
摘要: git clone https://github.com/gabime/spdlog.git git clone https://github.com/gabime/spdlog.git 阅读全文
posted @ 2026-03-16 14:53 小城熊儿 阅读(4) 评论(0) 推荐(0)
摘要: 先安装fcitx 再安装搜狗输入法 更新软件包列表 sudo apt update 安装fcitx及中文输入法支持 sudo apt install fcitx fcitx-config-gui fcitx-frontend-qt5 fcitx-frontend-gtk2 fcitx-fronten 阅读全文
posted @ 2026-01-03 08:57 小城熊儿 阅读(188) 评论(0) 推荐(0)
摘要: 最近 pip 安装总是出错 pip install torch torchvision --index-url https://download.pytorch.org/whl/cpu 总结就是 之前用fastgithub,设置了 http_proxy 和 https_proxy ,取消设置就可以了 阅读全文
posted @ 2025-12-16 14:42 小城熊儿 阅读(8) 评论(0) 推荐(0)
摘要: 用大模型写的一个简单的http推流demo,用opencv读取摄像头数据作为数据源 #include <opencv2/opencv.hpp> #include <boost/asio.hpp> #include <thread> #include <queue> #include <mutex> 阅读全文
posted @ 2025-12-08 16:02 小城熊儿 阅读(28) 评论(0) 推荐(0)
摘要: system_monitor.sh 实现cpu gpu npu RGA使用率和温度监控 #!/bin/bash # author:rys # data:2025.11.18 # 实现cpu gpu npu RGA使用率和温度监控 # 去掉linux空格问题 sed -i 's/\r$//' syst 阅读全文
posted @ 2025-11-10 18:47 小城熊儿 阅读(619) 评论(0) 推荐(0)