Basics

Guides

API Reference

Menu

Basics

Guides

API Reference

class: ConfigRecognitionNister2006

[173:7] extends: object

ConfigRecognitionNister2006 wraps boofcv.abst.scene.nister2006.ConfigRecognitionNister2006.

Members

  • obj

Methods

  • ConfigRecognitionNister2006 ()

    Creates a Nister 2006 scene recognition config.

  • get (string Name)

    Gets a public config field.

    • @p Name is kmeans, tree, distanceNorm, minimumDepthFromRoot, queryMaximumImagesInNode, learningMaximumImagesInNode, learningMinimumPointsForChildren, learnNodeWeights, featureSingleWordHops, or randSeed.
    • @r The field value.
  • setFeatureSingleWordHops (int Hops)

    Sets featureSingleWordHops.

    • @p Hops is the number of word hops.
  • getFeatureSingleWordHops ()

    Gets featureSingleWordHops.

    • @r The number of word hops.
  • checkValidity ()

    Validates this config.

class: ConfigFeatureToSceneRecognition

[146:7] extends: object

ConfigFeatureToSceneRecognition wraps boofcv.abst.scene.ConfigFeatureToSceneRecognition.

Members

  • obj

Methods

  • ConfigFeatureToSceneRecognition ()

    Creates a feature-to-scene recognition config.

  • get (string Name)

    Gets a public config field.

    • @p Name is maxImagePixels, typeRecognize, features, recognizeNister2006, or recognizeNeighbor.
    • @r The field value.
  • set (string Name, Value)

    Sets a public config field.

    • @p Name is maxImagePixels or typeRecognize.
    • @p Value is the new field value.
  • checkValidity ()

    Validates this config.

class: ImageClassifier

[6:7] extends: object

ImageClassifier wraps boofcv.abst.scene.ImageClassifier.

Members

  • obj

Methods

  • ImageClassifier (object Obj)

    Wraps a BoofCV ImageClassifier.

    • @p Obj is an existing classifier Java object or wrapper.
  • loadModel (string Path)

    Loads a classifier model.

    • @p Path is a filesystem path to a model file.
  • classify (object Image)

    Classifies an image.

    • @p Image is the input image.
  • getBestResult ()

    Gets the best result index.

    • @r The best result index.
  • getAllResults ()

    Gets all result scores.

    • @r A Java list of ImageClassifier.Score objects.
  • getCategories ()

    Gets category labels.

    • @r A Java list of category strings.
  • getInputType ()

    Gets the input image type.

    • @r The BoofCV ImageType.

class: SceneRecognition

[100:7] extends: object

SceneRecognition wraps boofcv.abst.scene.SceneRecognition.

Members

  • obj

Methods

  • SceneRecognition (object Obj)

    Wraps a BoofCV SceneRecognition.

    • @p Obj is an existing recognizer Java object or wrapper.
  • learnModel (object Iterator)

    Learns a model from an iterator.

    • @p Iterator is a Java Iterator of images.
  • clearDatabase ()

    Clears the image database.

  • addImage (string Id, object Image)

    Adds an image.

    • @p Id is the image id.
    • @p Image is the image.
  • query (object Image, int Limit, object Storage)

    Queries for similar images.

    • @p Image is the query image.
    • @p Limit is the maximum number of matches.
    • @p Storage is a DogArray of Match objects.
    • @r True if the query ran.
  • getImageIds (Storage = null)

    Gets image ids.

    • @p Storage is a Java list or null.
    • @r A Java list of ids.
  • getImageType ()

    Gets the image type.

    • @r The BoofCV ImageType.

class: FactorySceneRecognition

[48:14] static extends: object

Static wrappers for boofcv.factory.scene.FactorySceneRecognition.

Methods

  • createDefaultTrackerConfig ()

    Creates BoofCV's default point tracker config for scene recognition.

    • @r A ConfigPointTracker wrapper.
  • createFeatureToScene (object Config, object ImageTypeValue)

    Creates feature-to-scene recognition.

    • @p Config is a ConfigFeatureToSceneRecognition wrapper.
    • @p ImageTypeValue is an ImageType wrapper.
    • @r A SceneRecognition wrapper.
  • createSceneNister2006 (object Config, object DescriptorFactory)

    Creates Nister 2006 scene recognition.

    • @p Config is a ConfigRecognitionNister2006 wrapper.
    • @p DescriptorFactory is an org.ddogleg.struct.Factory Java object.
    • @r A raw BoofCV scene recognition Java object.
  • createSceneNearestNeighbor (object Config, object DescriptorFactory)

    Creates nearest-neighbor scene recognition.

    • @p Config is a ConfigRecognitionNearestNeighbor wrapper.
    • @p DescriptorFactory is an org.ddogleg.struct.Factory Java object.
    • @r A raw BoofCV scene recognition Java object.

class: ConfigRecognitionNearestNeighbor

[204:7] extends: object

ConfigRecognitionNearestNeighbor wraps boofcv.abst.scene.ann.ConfigRecognitionNearestNeighbor.

Members

  • obj

Methods

  • ConfigRecognitionNearestNeighbor ()

    Creates a nearest-neighbor scene recognition config.

  • get (string Name)

    Gets a public config field.

    • @p Name is kmeans, nearestNeighbor, numberOfWords, distanceNorm, or randSeed.
    • @r The field value.
  • set (string Name, Value)

    Sets a public config field.

    • @p Name is numberOfWords, distanceNorm, or randSeed.
    • @p Value is the new field value.
  • checkValidity ()

    Validates this config.