08 2016 档案
摘要:hex2string std::stringstream R; R << std::hex << 0x1254; DWORD Str2Hex(string str){ return std::stoul(str, nullptr, 16);}
阅读全文
摘要:备份:耗时2.5小时 ./tegraflash.py --bl cboot.bin --applet nvtboot_recovery.bin --chip 0x21 --cmd "read APP my_backup_image_APP.img" 还原:2小时 ./tegraflash.py --
阅读全文
摘要:摄像头 Capture _capture = new Capture(0); _capture.SetCaptureProperty(Emgu.CV.CvEnum.CAP_PROP.CV_CAP_PROP_FPS, 30); _capture.SetCaptureProperty(Emgu.CV.C
阅读全文
摘要:opencv的数据处理 b1=cv2.imencode('.jpg',cv2.imread('1.jpg'))[1].data b2=cv2.imencode('.jpg',cv2.imread('3.jpg'))[1].data 文件+文本 c.setopt(c.HTTPPOST, [ ('Img
阅读全文
摘要:在终端查看声卡: aplay -l 成功显示: **** PLAYBACK硬件设备列表 **** card 0: Intel [HDA Intel], device 0: ALC662 rev1 Analog [ALC662 rev1 Analog] 子设备: 1/1 子设备 #0: subdevi
阅读全文
摘要:支持的值:cat /sys/kernel/debug/clock/gbus/possible_rates当前值:cat /sys/kernel/debug/clock/gbus/rate 设置最大值:(85200K)echo 852000000 > /sys/kernel/debug/clock/o
阅读全文
摘要:安装 python-dev既可解决 apt-get install python-dev
阅读全文
摘要:find ./ -type f -print0 | xargs -0 md5sum
阅读全文
摘要:运行级别等级: 0 系统停机状态 1 单用户模式,只准许root用户对系统进系维护 2~5 多用户模式(其中3为字符界面、5为图形界面) 6 重启启动 level2~5是没有任何区别的 运行级别查看:runlevel 切换运行级别:init 3 init 0表示关机,init 6表示重启。 执行/e
阅读全文
摘要:ln -s /usr/lib/i386-linux-gnu/libpthread_nonshared.a /usr/lib/libpthread_nonshared.a ln -s /usr/lib/i386-linux-gnu/libc_nonshared.a /usr/lib/libc_nons
阅读全文
摘要:vi /etc/resolv.conf nameserver 114.114.114.114 nameserver 8.8.8.8
阅读全文
摘要:cmake设置 CUDA_ARCH_BIN 3.2 5.2 CUDA_ARCH_PTX 3.2 5.2 否则报一下错误: OpenCV Error: Gpu API call (NCV Assertion Failed: cudaError_t=18, file=opencv-3.1.0/modul
阅读全文