Documentation
¶
Index ¶
- type ImageSearchFSCache
- func (cache *ImageSearchFSCache) Ensure(file io.Reader, qtyBins imagesearch.QtyBins, location imagesearch.Location) (*imagesearch.PersistedImageDescriptor, error)
- func (cache *ImageSearchFSCache) Search(file io.Reader, qtyBins imagesearch.QtyBins, ...) ([]*imagesearch.PersistedDescriptorWithMatchScore, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImageSearchFSCache ¶
type ImageSearchFSCache struct {
// contains filtered or unexported fields
}
func NewImageSearchFSCache ¶
func NewImageSearchFSCache(cachesLocation string) *ImageSearchFSCache
func (*ImageSearchFSCache) Ensure ¶
func (cache *ImageSearchFSCache) Ensure(file io.Reader, qtyBins imagesearch.QtyBins, location imagesearch.Location) (*imagesearch.PersistedImageDescriptor, error)
func (*ImageSearchFSCache) Search ¶
func (cache *ImageSearchFSCache) Search(file io.Reader, qtyBins imagesearch.QtyBins, scoringAlgorithm imagesearch.ImageScorer, location imagesearch.Location) ([]*imagesearch.PersistedDescriptorWithMatchScore, error)
Click to show internal directories.
Click to hide internal directories.