publicpartialclassForm1:Form{Capture_capture;publicForm1(){InitializeComponent();_capture=newCapture(“url”);//视频文件路径_capture.ImageGrabbed+=_capture_Im...
分类:
其他好文 时间:
2015-09-16 15:54:46
阅读次数:
194
今天看到阿里的一道面试题:如果给一个元素绑定了4个事件处理(用addEventListener),其中两个是capture, 两个冒泡,那么触发顺序是什么?看完之后开始找答案,然后写个栗子测试了一下: Document 测试结果如下:ie6:结果...
分类:
Web程序 时间:
2015-08-31 17:01:36
阅读次数:
139
为什么计算setup time的slack时需要考虑加周期,hold time时不需要?总结一:因为计算setup time时,由于存在数据传输data delay,Launch edge与Capture edge并不对应时钟信号source clock的同一个时钟沿,因此需要考虑加周期。单时钟周期...
分类:
其他好文 时间:
2015-08-31 16:43:39
阅读次数:
919
场景:录制loadrunner的web站点问题:录制的过程中发现除了页面正常的请求外还有些看不懂的请求(包含乱码),脚本如下: web_url("WebTours", "URL=http://127.0.0.1:1080/WebTours/", "Resourc...
分类:
其他好文 时间:
2015-08-28 23:09:39
阅读次数:
273
用Capture来加载一个视频。
用GetCaptureProperty函数可以获取这个视频的各种属性。
然后用Application.Idle来连续的显示视频中的帧(显示出一帧了,程序进入空闲,就继续加载下一帧)
由于视频中的帧太多,.net的垃圾回收机制赶不上,就使用GC.Collect();来强制回收垃圾,可以把程序的内存占用从700MB降到100MB左右public partial c...
分类:
其他好文 时间:
2015-08-28 17:41:25
阅读次数:
547
http://www.cs.indiana.edu/~geobrown/book.pdfAn example of a basic timer is illustrated in Figure 10.1.This timer has four components – a controller, a...
分类:
其他好文 时间:
2015-08-27 22:49:51
阅读次数:
684
Problem:Given a 2D board containing'X'and'O', capture all regions surrounded by'X'.A region is captured by flipping all'O's into'X's in that surrounde...
分类:
其他好文 时间:
2015-08-27 07:10:13
阅读次数:
221
ffmpeg在Linux下用X11grab进行屏幕录像,在Windows下用DirectShow滤镜首先需要安装一个软件,screen capture recorder编译好的下载地址是:http://sourceforge.net/projects/screencapturer/files/源码地...
分类:
其他好文 时间:
2015-08-26 13:36:49
阅读次数:
735
1在写android的Camera代码一项是获取相机硬件的参数,打印出来就一行,即使利用记事本自动换行也是密密麻麻的不好观看如下RDCameraSDK=true;capture-burst-interval-max=10;zoom=0;redeye-reduction-values=;qc-ext-...
分类:
其他好文 时间:
2015-08-19 20:14:52
阅读次数:
323
step1:安装pocketsphinx阶段问题Error opening audio device default for capture: No such file or directoryFATAL_ERROR: "continuous.c", line 242: Failed top ope...
分类:
其他好文 时间:
2015-08-19 12:50:55
阅读次数:
111