ExplanationCreate a visualization window.Get camera pose from camera position, camera focal point and y direction.Obtain transform matrix knowing the ...
分类:
其他好文 时间:
2014-11-28 15:53:14
阅读次数:
217
com.android.camera.Camera.java,主要的实现Activity,继承于ActivityBase。ActivityBase 在ActivityBase中执行流程:onCreate中进行判断是否是平板;onResume中判断是否锁屏,锁屏&camera不存在时候,mOnResu...
分类:
移动开发 时间:
2014-11-27 23:36:39
阅读次数:
300
背景NGUI在处理UI和输入方面确实做的不错,但是现在的问题是公司引入体感之后,是通过手的位置来实现按钮的点击操作,前提我不想改变原先设计好的NGUI界面和机制,怎么破?NGUI的输入底层机制NGUI对鼠标或者触摸的位置是通过Camera对NGUI层进行射线检测来获得,然后检测按钮事件、触摸屏Pre...
分类:
编程语言 时间:
2014-11-27 14:26:58
阅读次数:
329
http://hub.jmonkeyengine.org/wiki/doku.php/jme3:advanced:camera注意这句话:TheflyCamclass field gives you access to an AppState that extends the default cam...
分类:
其他好文 时间:
2014-11-26 18:44:04
阅读次数:
158
获取摄像机参数是为了来处理图像失真或者实现图像度量 ~~ Unfortunately, this cheapness comes with its price: significant distortion. Luckily, these are constants and with a calib...
分类:
其他好文 时间:
2014-11-26 13:33:20
阅读次数:
489
获取摄像机内部参数矩阵和摄像机畸变参数Test data: use images in your data/chess folder.1,Compile opencv with samples by setting BUILD_EXAMPLES to ON in cmake configuratio...
分类:
其他好文 时间:
2014-11-26 11:14:06
阅读次数:
288
这个panic是由CTS测试的时候发现的,panic的log如下:[ 2212.531425] c3 3279 (logcat) Unable to handle kernel paging request at virtual address 2b2c2c2b2b292a2a[ 2212.54.....
分类:
其他好文 时间:
2014-11-25 12:14:52
阅读次数:
611
OpenCV 的视频操作都与 VideoCapture 相关If this argument is an integer then you will bind the class to a camera, a device. The number passed here is the ID of t...
分类:
其他好文 时间:
2014-11-24 18:31:39
阅读次数:
353
RaycastHit hit; Ray ray = Camera.main.ScreenPointToRay(Input.mousePosition); if (Physics.Raycast(ray, out hit, 1000)) { Vector3 po...
分类:
其他好文 时间:
2014-11-22 00:43:11
阅读次数:
180
安装phonegap的camera插件后,可以对从图片库选择图片进行裁剪或压缩操作,但插件本身有些问题,经过改进,现在可以顺利完成上述功能。 安装方法 1 首先使用命令行安装camera插件: phonegap plugin add?org.apa...
分类:
移动开发 时间:
2014-11-21 12:49:18
阅读次数:
215