Friday, 20 June 2014

Google Glass + Opencv

1, download google glass SDK.
2, probably need to upgrade the ADT
3, create a sample project with camera.
4. customize the camera view and :

protected boolean initializeCamera(int width, int height)
super.initializeCamera(width, height);
return true;}
private void cameraFix()
if (mCamera != null)
Camera.Parameters params = mCamera.getParameters();
params.setPreviewFpsRange(30000, 30000);
5. download the simulator for glass:
6. run the simulator by:
  java -jar asm.jar
7. you may have problem with running this simulator because you need put the "adb" into your system PATH. the "adb" should be located at adt-bundle-mac-x86_64-20131030/sdk/platform-tools/
8. add gesture recognise ability on this project, for interacting.


No comments:

Post a comment