08 2016 档案

摘要:hex2string std::stringstream R; R << std::hex << 0x1254; DWORD Str2Hex(string str){ return std::stoul(str, nullptr, 16);} 阅读全文
posted @ 2016-08-31 15:55 ahuo 阅读(648) 评论(0) 推荐(0) 编辑
摘要:备份:耗时2.5小时 ./tegraflash.py --bl cboot.bin --applet nvtboot_recovery.bin --chip 0x21 --cmd "read APP my_backup_image_APP.img" 还原:2小时 ./tegraflash.py -- 阅读全文
posted @ 2016-08-23 09:24 ahuo 阅读(235) 评论(0) 推荐(0) 编辑
摘要:摄像头 Capture _capture = new Capture(0); _capture.SetCaptureProperty(Emgu.CV.CvEnum.CAP_PROP.CV_CAP_PROP_FPS, 30); _capture.SetCaptureProperty(Emgu.CV.C 阅读全文
posted @ 2016-08-19 13:47 ahuo 阅读(1493) 评论(0) 推荐(0) 编辑
摘要: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 阅读全文
posted @ 2016-08-18 11:18 ahuo 阅读(1028) 评论(0) 推荐(0) 编辑
摘要:在终端查看声卡: aplay -l 成功显示: **** PLAYBACK硬件设备列表 **** card 0: Intel [HDA Intel], device 0: ALC662 rev1 Analog [ALC662 rev1 Analog] 子设备: 1/1 子设备 #0: subdevi 阅读全文
posted @ 2016-08-17 15:10 ahuo 阅读(626) 评论(0) 推荐(0) 编辑
摘要:支持的值:cat /sys/kernel/debug/clock/gbus/possible_rates当前值:cat /sys/kernel/debug/clock/gbus/rate 设置最大值:(85200K)echo 852000000 > /sys/kernel/debug/clock/o 阅读全文
posted @ 2016-08-16 10:49 ahuo 阅读(1202) 评论(0) 推荐(0) 编辑
摘要:安装 python-dev既可解决 apt-get install python-dev 阅读全文
posted @ 2016-08-16 09:50 ahuo 阅读(368) 评论(0) 推荐(0) 编辑
摘要:find ./ -type f -print0 | xargs -0 md5sum 阅读全文
posted @ 2016-08-11 15:05 ahuo 阅读(345) 评论(0) 推荐(0) 编辑
摘要:运行级别等级: 0 系统停机状态 1 单用户模式,只准许root用户对系统进系维护 2~5 多用户模式(其中3为字符界面、5为图形界面) 6 重启启动 level2~5是没有任何区别的 运行级别查看:runlevel 切换运行级别:init 3 init 0表示关机,init 6表示重启。 执行/e 阅读全文
posted @ 2016-08-10 11:56 ahuo 阅读(240) 评论(0) 推荐(0) 编辑
摘要: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 阅读全文
posted @ 2016-08-08 17:50 ahuo 阅读(682) 评论(0) 推荐(0) 编辑
摘要:vi /etc/resolv.conf nameserver 114.114.114.114 nameserver 8.8.8.8 阅读全文
posted @ 2016-08-05 09:27 ahuo 阅读(156) 评论(0) 推荐(0) 编辑
摘要: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 阅读全文
posted @ 2016-08-03 11:32 ahuo 阅读(579) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示