visualanalysis

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 20, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package visualanalysis provides cloud-agnostic inputs for image analysis.

Package visualanalysis provides cloud-agnostic image analysis results.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BoundingBox

type BoundingBox struct {
	Width  float32
	Height float32
	Left   float32
	Top    float32
}

BoundingBox describes a normalized image region.

type CompareFacesInput

type CompareFacesInput struct {
	SourceImage         ImageObjectRef
	TargetImage         ImageObjectRef
	SimilarityThreshold float32
}

CompareFacesInput describes a source-vs-target face comparison request.

type CompareFacesResult

type CompareFacesResult struct {
	MatchedFaces      []ComparedFace
	UnmatchedCount    int
	HighestSimilarity float32
}

CompareFacesResult contains source-vs-target face comparison output.

type ComparedFace

type ComparedFace struct {
	Similarity float32
	Face       FaceDetail
}

ComparedFace describes one matched face in a comparison result.

type DetectFacesInput

type DetectFacesInput struct {
	Image      ImageObjectRef
	Attributes []string
}

DetectFacesInput describes an image face-detection request.

type DetectFacesResult

type DetectFacesResult struct {
	FaceCount int
	Faces     []FaceDetail
}

DetectFacesResult contains face-detection output.

type DetectLabelsInput

type DetectLabelsInput struct {
	Image         ImageObjectRef
	MaxLabels     int32
	MinConfidence float32
}

DetectLabelsInput describes an image label-detection request.

type DetectLabelsResult

type DetectLabelsResult struct {
	Labels []Label
}

DetectLabelsResult contains label-detection output.

type FaceDetail

type FaceDetail struct {
	Confidence  float32
	BoundingBox BoundingBox
	Quality     FaceQuality
}

FaceDetail describes one detected face.

type FaceQuality

type FaceQuality struct {
	Brightness float32
	Sharpness  float32
}

FaceQuality captures provider face-quality signals.

type ImageObjectRef

type ImageObjectRef struct {
	Bucket string
	Key    string
}

ImageObjectRef identifies an image already stored in object storage.

type Label

type Label struct {
	Name       string
	Confidence float32
	Parents    []string
}

Label describes an object/scene label.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL