com.supermap.ar.areffect.scanner
Class ImageScanner.DeviceInfo
- java.lang.Object
-
- com.supermap.ar.areffect.scanner.ImageScanner.DeviceInfo
-
- Enclosing class:
- ImageScanner
public class ImageScanner.DeviceInfo extends java.lang.Object
Equipment informationContains parameters for camera startup
Through the picture recognition, reverse correction scene startup position, azimuth example. ImageScanner instance = ImageScanner.getInstance(arEffectView); instance.addImageListener(images -> { for (ARAugmentedImage e : images) { if (e.getTrackingState() != TrackingState.TRACKING){ //Make sure the image is in the Tracking state continue; } //The starting coordinates and starting azimuth Angle of the scene are corrected by the geographical coordinates of marker ImageScanner.DeviceInfo info = ImageScanner.getInstance(arEffectView) .calculateDeviceInfo(e,value.getLocation()); arEffectView.setDeviceLocation(info.getDeviceLocation()); arEffectView.setAzimuth(info.getAzimuth()); break J; } });
-
-
Constructor Summary
Constructors Constructor and Description DeviceInfo()
-