ImageMetaData: {
    apex: {
        apertureValue: number;
        brightnessValue: number;
        exposureBiasValue: number;
        exposureTime: number;
        fNumber: number;
        flash: number;
        focalLength: number;
        focalLength35mm: number;
    };
    color: {
        mainColorEnd: string | null;
        mainColorStart: string | null;
        nearestCssColor: string | null;
        nearestHtmlColor: string | null;
        secondColor: string | null;
    };
    date: {
        digitized: number;
        lastFileModification: number;
        normal: number;
    };
    gps: {
        address: Address | null;
        altitude: number;
        altitudeReference: number;
        direction: number;
        directionReference: number;
        latitude: number;
        latitudeReference: number;
        longitude: number;
        longitudeReference: number;
    };
    info: {
        make: string | null;
        model: string | null;
        orientation: number;
        originalOrientation: number;
        resolutionX: number;
        resolutionY: number;
        subjectArea: Rect | null;
    };
    pattern: {
        frontalFaces: Face[] | null;
        regionOfInterest: Rect | null;
    };
}

The image meta object provides additional information about the image. Most details are extracted from the EXIF metadata available in some image formats (see https://www.media.mit.edu/pia/Research/deepview/exif.html). Additional information is available for the colors used within the image and for the pattern recognition. Note that the extraction as to be enabled via the administration settings.

Type declaration

  • Readonly apex: {
        apertureValue: number;
        brightnessValue: number;
        exposureBiasValue: number;
        exposureTime: number;
        fNumber: number;
        flash: number;
        focalLength: number;
        focalLength35mm: number;
    }

    The data around the camera settings and details available from the EXIF information.

    • Readonly apertureValue: number

      The actual aperture value of the lens when the image was taken. Can be converted to the F-number via formula.

    • Readonly brightnessValue: number

      The Brightness of taken subject in EV

    • Readonly exposureBiasValue: number

      The exposure bias value of the taken picture. Unit is in EV.

    • Readonly exposureTime: number

      The exposure time in seconds.

    • Readonly fNumber: number

      The F Number or F-stop of the lens when the image was taken.

    • Readonly flash: number

      Flag to indicate if flahs has been used (1 = flash used, 0 = no flash used)

    • Readonly focalLength: number

      The focal length of the lens used to take the image. Unit is millimeter.

    • Readonly focalLength35mm: number

      The focal length used as an 35 mm film equivalent.

  • Readonly color: {
        mainColorEnd: string | null;
        mainColorStart: string | null;
        nearestCssColor: string | null;
        nearestHtmlColor: string | null;
        secondColor: string | null;
    }

    The color information extracted from the image.

    • Readonly mainColorEnd: string | null

      The main or primary color found in the image defined as a range defined as a hexademical color value. The range is defined by the start and end color. RGB value: #RRGGBB

    • Readonly mainColorStart: string | null

      The main or primary color found in the image defined as a range defined as a hexademical color value. The range is defined by the start and end color. RGB value: #RRGGBB

    • Readonly nearestCssColor: string | null

      The primary color defined as the nearest CSS color.

    • Readonly nearestHtmlColor: string | null

      The primary color defined as the nearest HTML color.

    • Readonly secondColor: string | null

      The secondary color found in the image as a hexidecimal color value. RGB value: #RRGGBB

  • Readonly date: {
        digitized: number;
        lastFileModification: number;
        normal: number;
    }

    Information about the dates available from within the EXIF data and the file uploaded (when preserved).

    • Readonly digitized: number

      The date when the image has been taken on a digital camera as extracted from the EXIF data as a JS tick value.

    • Readonly lastFileModification: number

      The date when the image file has been last modified as a JS tick value.

    • Readonly normal: number

      The date form the EXIF values 'DateTime' or 'DateTimeOriginal' as a JS tick value.

  • Readonly gps: {
        address: Address | null;
        altitude: number;
        altitudeReference: number;
        direction: number;
        directionReference: number;
        latitude: number;
        latitudeReference: number;
        longitude: number;
        longitudeReference: number;
    }

    Information about the location this image has been taken.

    • Readonly address: Address | null

      If reverse geocoding is enabled, this will hold the address information if one could be retrieved based on teh GPS coordinates.

    • Readonly altitude: number

      The recorded altitude information.

    • Readonly altitudeReference: number

      The altitude zero point (usually 0 or sea level).

    • Readonly direction: number

      The 360 degree direction of the internal compass.

    • Readonly directionReference: number

      The direction reference point.

    • Readonly latitude: number

      The latitude coordinate of the gps location.

    • Readonly latitudeReference: number

      The latitude reference point.

    • Readonly longitude: number

      The longitude coordinate of the gps location.

    • Readonly longitudeReference: number

      The longitude reference point.

  • Readonly info: {
        make: string | null;
        model: string | null;
        orientation: number;
        originalOrientation: number;
        resolutionX: number;
        resolutionY: number;
        subjectArea: Rect | null;
    }

    The camera information extracted from the EXIF data.

    • Readonly make: string | null

      The make of the camera.

    • Readonly model: string | null

      The model of the camera.

    • Readonly orientation: number

      The EXIF orientation value of the image. Usually would be 0 as the image gets auto-correctied during import.

    • Readonly originalOrientation: number

      The orientation of the image when it was taken.

    • Readonly resolutionX: number

      The horziontal resoulution of the image in pixels per inch.

    • Readonly resolutionY: number

      The vertical resoulution of the image in pixels per inch.

    • Readonly subjectArea: Rect | null

      The rectangle specifies the subject area in original pixel coordinates. Subject area defines the area of interest as identified by an algorithm.

  • Readonly pattern: {
        frontalFaces: Face[] | null;
        regionOfInterest: Rect | null;
    }

    The extracted semantical information from the image.

    • Readonly frontalFaces: Face[] | null

      All found frontrales within the image.

    • Readonly regionOfInterest: Rect | null

      The region with the highest entropy favoring the center of the image.

Generated using TypeDoc