com.supermap.ar.areffect.scanner

Class ImageScanner

  • java.lang.Object
    • com.supermap.ar.areffect.scanner.ImageScanner


  • public class ImageScanner
    extends java.lang.Object
    Image scanning create by tanyunxiu 2020/12/22
    • Method Detail

      • addImage

        public void addImage(java.lang.String resourceName)
        Add an image in assets
        Parameters:
        resourceName -
      • addImage

        public void addImage(java.lang.String name,
                             android.graphics.Bitmap img)
        Add Image
        Parameters:
        name -
        img -
      • init

        @Deprecated
        public void init()
        Deprecated. 
        Initialize
      • removeImageListener

        public void removeImageListener()
        Remove listening from AR scenarios Note: Not null
      • disposeImageListener

        public void disposeImageListener()
        Destroy the listener Remove the listener and empty it
      • calculateDeviceInfo

        public ImageScanner.DeviceInfo calculateDeviceInfo(ARAugmentedImage e,
                                                           Location imageLocation)
        Calculate the azimuth when the camera starts
        Parameters:
        e - AR enhanced images
        imageLocation - AR Specifies the geographic coordinates of an enhanced image
        Returns: