摘要: 调用双目摄像头(预览) import cv2 def read_usb_capture(): # 选择摄像头的编号 camera = cv2.VideoCapture(1) # # 设置分辨率 # camera.set(cv2.CAP_PROP_FRAME_WIDTH, 1280) # camera 阅读全文
posted @ 2022-05-02 19:38 Dennis-Chen 阅读(172) 评论(0) 推荐(0)
摘要: MeshLab 原始: 1. 点云分割 点击1后选中要删除区域,点击2删除即可得到如下: 2. 画三角网格 求法向量 Filters->Normal,Curvatures and Orientation->Compute normals for point sets Number os neigbo 阅读全文
posted @ 2022-04-17 15:33 Dennis-Chen 阅读(347) 评论(0) 推荐(0)
摘要: 笔记本合盖不休眠 ubuntu 打开终端 sudo gedit /etc/systemd/logind.conf gedit 也可以换成vi/vim等。看个人使用习惯 将logind.conf #HandleLidSwitch=suspend 修改成 HandleLidSwitch=ignore s 阅读全文
posted @ 2022-04-16 21:18 Dennis-Chen 阅读(39) 评论(0) 推荐(0)
摘要: 先下载对应显卡版本驱动-nvidia官网官方驱动 | NVIDIA 确认该系统未装任何驱动, 如果不确定,按照以下操作: 删除旧的驱动 sudo apt-get purge nvidia* 禁用 sudo gedit /etc/modprobe.d/blacklist.conf 编辑文件,在最后一行 阅读全文
posted @ 2022-04-15 12:50 Dennis-Chen 阅读(51) 评论(0) 推荐(0)
摘要: Docker容器显示图形到宿主机屏幕 在 docker 内 apt install xorg # ubuntu; for centos, xorg-x11-xauth* touch /root/.Xauthority xauth add localhost/unix:10 MIT-MAGIC-COO 阅读全文
posted @ 2022-04-07 09:48 Dennis-Chen 阅读(286) 评论(0) 推荐(0)
摘要: docker ssh连接 1.进入docker passwd # add root passward* 记住自己设置的密码,后面ssh连接要用 apt update apt install vim openssh-server service ssh start service ssh status 阅读全文
posted @ 2022-03-31 17:12 Dennis-Chen 阅读(92) 评论(0) 推荐(0)
摘要: var code = “d6dc7466-f7b5-4b93-8d26-8ff2b67ffaef” 1. 在docker pytorch 網址找到自己需要的環境(網址:https://hub.docker.com/r/pytorch/pytorch/tags) 点击复制 devel 版 连接 (此处 阅读全文
posted @ 2022-03-30 19:28 Dennis-Chen 阅读(331) 评论(0) 推荐(0)
摘要: 使用TensorFlow Lite 部署自定义对象检测模型[1] 2022.03.05 文章目录 使用TensorFlow Lite 部署自定义对象检测模型[1]一.訓練自定義模型[4]1.收集數據2.訓練模型 二.集成TFLite模型的步驟 一.訓練自定義模型[4] 步驟: 1.收集數據 打標籤— 阅读全文
posted @ 2022-03-05 14:06 Dennis-Chen 阅读(66) 评论(0) 推荐(0)
摘要: 对于图像来说 img.shape[0]:图像的垂直尺寸(高度)W img.shape[1]:图像的水平尺寸(宽度)H img.shape[2]:图像的通道数 C 对于矩阵来说 shape[0]:表示矩阵的行数 shape[1]:表示矩阵的列数 阅读全文
posted @ 2021-10-24 11:17 Dennis-Chen 阅读(69) 评论(0) 推荐(0)
摘要: 相对路径表示方法 “./”:代表目前所在的目录。 “…/”:代表上一层目录。 以"/"开头:代表根目录。 阅读全文
posted @ 2021-10-10 15:35 Dennis-Chen 阅读(42) 评论(0) 推荐(0)