1 / 13

Augmented Reality Engine

Augmented Reality Engine. Viewlity. CristianAndreica 4 th Year student – Politehnica University of Bucharest Co-founder of XTWIP.com Currently involved in Balaur.ro 3 yrs experience in web industry 1 yrs experience with building desktop apps

tex
Download Presentation

Augmented Reality Engine

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Augmented Reality Engine Viewlity

  2. CristianAndreica 4th Year student – Politehnica University of Bucharest Co-founder of XTWIP.com Currently involved in Balaur.ro 3 yrs experience in web industry 1 yrs experience with building desktop apps Proficiency with: Java, PHP, JS, Python, Unix Email: cristian.andreica@gmail.com Twitter Account: @cristiandreica About me

  3. TODOs Concept Development Problems Demo

  4. Augmented Reality

  5. Concept

  6. Plan Price: 0.99 euro per app Copies: 100 per app Development time: 3-5 hours Number of apps: as much as we can

  7. Development

  8. Camera Activity 1. public class CameraPreviewextends SurfaceViewimplements SurfaceHolder.Callback { 2. private SurfaceHoldermHolder; 3. private Camera mCamera; … 4. public CameraPreview(Context context) { // context -> The application Activity object super(context); 5. mHolder= getHolder(); 6. mHolder.addCallback(this); } 7. public void surfaceCreated(SurfaceHolder holder) { 8. mCamera= Camera.open(); 9. mCamera.setPreviewDisplay(holder); } 10. public void surfaceDestroyed(SurfaceHolder holder){ … } 11. public void surfaceChanged(SurfaceHolder holder, intformat, intw, inth) { … } }

  9. 1. public class Controllerimplements LocationListener{ 2. private Criteria locationCriteria; 3. private LocationManagerlocationManager; public Controller(){ locationCriteria= new Criteria(); 4. locationCriteria.setAccuracy(Criteria.ACCURACY_COARSE); 5. locationCriteria.setAltitudeRequired(false); 6. locationCriteria.setBearingRequired(false); 7. locationCriteria.setCostAllowed(true); 8. locationCriteria.setPowerRequirement(Criteria.POWER_LOW); 9. locationManager= (LocationManager) context .getSystemService(Context.LOCATION_SERVICE); 10. locationManager.requestLocationUpdates(bestProvider, LOCATION_REFRESH_TIME, LOCATION_REFRESH_MIN_DISTANCE,this); } 11. public void onLocationChanged(Location location){…} } GPS location

  10. 1. public class Controllerimplements SensorEventListener{ 2. private SensorManagersensorManager; public Controller(){ 3. sensorManager= (SensorManager) context.getSystemService(Context.SENSOR_SERVICE); 4. sensorManager.registerListener(this, 5.sensorManager.getDefaultSensor (Sensor.TYPE_ORIENTATION), SensorManager.SENSOR_DELAY_UI ); } 6. public void onSensorChanged(SensorEventevt) { 7. float vals[] = evt.values; 8. If (evt.sensor.getType() == Sensor.TYPE_ORIENTATION) { // do crazy stuff when orientation changes } } } Orientation

  11. Issues • 1. Compatibility • - resolution • - speed • 2. Layout • - [0,360] degrees • - sensor noise problem

  12. DONE Concept Development Problems Demo

  13. Thank you!

More Related