摘要: gdb交叉静态编译,编译完毕,可直接在板子上执行 创建一个文件夹,存放 build_gdb.sh 脚本,本地是rk3588交叉编译链 #!/usr/bin/env bash set -e # 工具链配置 TOOLCHAIN_DIR=/opt/neardi-rk3588-linux6.1-r5.1/b 阅读全文
posted @ 2026-10-26 15:18 小城熊儿 阅读(12) 评论(0) 推荐(0)
摘要: task-spooler 是一个轻量级的Unix任务队列工具,它的核心设计就是让任务按提交顺序一个接一个地执行,并且提供了完整的队列管理命令。 安装使用非常简单: # Ubuntu / Debian sudo apt install task-spooler # macOS brew install 阅读全文
posted @ 2026-10-20 15:29 小城熊儿 阅读(14) 评论(0) 推荐(0)
摘要: ubuntu系统监控,想同时看cpu,内存 和gpu, nvtop 看gpu合适 htop 看cpu和内存合适 btop apt安装的不知道为啥看不了gpu,但是能看内存,硬盘等内容 mux 能做窗口拆分 安装 tmux htop nvtop nvidia显卡需要先保证nvidia-smi存在能正常 阅读全文
posted @ 2026-07-08 10:27 小城熊儿 阅读(48) 评论(0) 推荐(0)
摘要: sort目标跟踪一个案例仅仅使用opencv库 #include <opencv2/opencv.hpp> #include <vector> #include <string> #include <cmath> #include <algorithm> #include <limits> #inc 阅读全文
posted @ 2026-05-12 15:10 小城熊儿 阅读(18) 评论(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 小城熊儿 阅读(27) 评论(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 小城熊儿 阅读(24) 评论(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 小城熊儿 阅读(21) 评论(0) 推荐(0)
摘要: 使用wepe制作启动盘 https://www.wepe.com.cn/download.html 下载完毕后,双击exe,选择安装到u盘(看左侧),然后,点击制作U盘,等待进度条完毕,然后U盘会出现两个区,一个区比较小,还有80MB空间可用 下载win系统,然后,将系统复制到大的分区里面一般是>1 阅读全文
posted @ 2026-03-31 18:30 小城熊儿 阅读(90) 评论(0) 推荐(0)
摘要: git clone https://github.com/gabime/spdlog.git git clone https://github.com/gabime/spdlog.git 阅读全文
posted @ 2026-03-16 14:53 小城熊儿 阅读(14) 评论(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 小城熊儿 阅读(297) 评论(0) 推荐(0)