Monthly Archives: August 2014

Convert from OPENCV Mat to OPENGL texture

Referenced from:

http://r3dux.org/2012/01/how-to-convert-an-opencv-cvmat-to-an-opengl-texture/

 

Detailed example of WxGLcanvas

http://wiki.wxwidgets.org/WxGLCanvas

 

 

Code bank: Code snippet app for server

Code snippet app for server

 

http://www.edchipman.ca/flash-flex-works/adobe-air-development/code-bank/

Python

Python on mac

 

http://joernhees.de/blog/2014/02/25/scientific-python-on-mac-os-x-10-9-with-homebrew/

DirectShow setup for windows 7 / windows 8

Adopted from http://blog.csdn.net/star_liux/article/details/7460718

下载DirectShow

2.配置:

      2.1 将DirectShow解压,我的解压目录为D:\DirectShow;

      2.2 配置VS2010的项目”属性”:

             A.在”VC++目录”的”可执行文件目录”中添加D:\DirectShow\bin

             B.在”VC++目录”的”包含目录”中添加D:\DirectShow\include

             C.在”VC++目录”的”库目录”中添加D:\DirectShow\lib

             D.把D:\DirectShow\include中的”CameraDS.h”、”CameraDS.cpp”复制到项目当前目录下,并加载到项目的”头文件”、”源文件”中,如下图:

             

3.修改winNT.h

       以管理员身份(开始->所有程序->附件->命令提示符(右键,以管理员身份打开,然后打开目标文档))打开C:\Program Files\Microsoft SDKs\Windows\v7.0A\Include目录

       在winNT.h文件第290行左右的如下两行

       typedef void *PVOID;

       typedef void *POINTER_64 PVOID64;

      之前添加:

      #define POINTER_64 __ptr64

4.在CameraDS.cpp头添加: #include “stdafx.h”

Apple Swift language

Swift is a dynamic-programming language, in order to integrates different APPs, providing communication.

Untitled

Link:  https://developer.apple.com/swift/

Maya's Programming & Electronics Blog

An attempt at a proper programming & electronics blog