本文已参与「新人创作礼」活动,一起开启掘金创作之路。
在windows上通过vnc实现远程虚拟界面控制jenson tx2
1. 安装xrdp
sudo apt-get install xrdp vnc4server xbase-clients
2. 设置desktop sharing
在/usr/share/applications
目录下打开”desktop sharing”
勾选下图中allow other users to view your destop前面的候选框
3. 安装dconf-editor
sudo apt-get install dconf-editor
运行dconf-editor
dconf-editor
在路径org > gnome > desktop > remote-access
下
将“”promotion-enabled“”选项和“requre-encryption”去掉
4. 远程连接
在windows系统中下载安装vnc viewer 软件,输入tx2ip地址即可连接成功
Nvidia jetson tx2 ubuntu16.04插入128GB内存卡报错:Unable to access/mount “128 GB Volume”
问题描述:
Nvidia jetson tx2 ubuntu16.04插入128GB内存卡报错:Unable to access/mount “128 GB Volume” Error mounting /dev/sdi1 at /media/user/disk: Command-line `mount -t "exfat" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,iocharset=utf8,namecase=0,errors=remount-ro,umask=0077" "/dev/sdi1" "/media/user/disk"' exited with non-zero exit status 32: mount: unknown filesystem type 'exfat'
解决思路: 安装exfat-fuse和exfat-utils程序
在终端中输入以下命令:
sudo apt-get install exfat-fuse exfat-utils
./darknet detector demo cfg/coco.data cfg/yolov3-tiny.cfg yolov3-tiny.weights "nvcamerasrc ! video/x-raw(memory:NVMM), width=(int)1280, height(int)720, format=(string)I420, framerate=(fraction)30/1 ! nvvidconv flip-method=0 ! video/x-raw, format=(string)BGRx ! videoconvert ! video/x-raw, format=(string)BGR ! appsink"
./darknet detector demo cfg/coco.data cfg/yolov3-tiny.cfg yolov3-tiny.weights "nvarguscamerasrc ! video/x-raw(memory:NVMM), width=1280, height=720, format=NV12, framerate=30/1 ! nvvidconv flip-method=2 ! video/x-raw, width=1280, height=720, format=BGRx ! videoconvert ! video/x-raw, format=BGR ! appsink"
my nano demo succeful:
./darknet detector demo cfg/coco.data cfg/yolov3-tiny.cfg yolov3-tiny.weights "nvarguscamerasrc ! video/x-raw(memory:NVMM), width=1280, height=720, format=NV12, framerate=30/1 ! nvvidconv ! video/x-raw, width=1280, height=720, format=BGRx ! videoconvert ! video/x-raw, format=BGR ! appsink"
说明:
(nvarguscamerasrc ! video/x-raw(memory:NVMM), width=1280, height=720, format=NV12, framerate=30/1)
作用是配置摄像头获取的画面大小和帧数;
(nvvidconv flip-method=2)
作用是旋转画面
(video/x-raw, width=1280, height=720, format=BGRx ! videoconvert ! video/x-raw, format=BGR)
作用是确保来自CSI相机的原始视频转换为BGR色彩空间。