Documentation ¶
Index ¶
- func ExtractText(ctx context.Context, e emboss.Embosser, bucket *blob.Bucket, path string) ([]byte, error)
- func FingerprintFile(ctx context.Context, bucket *blob.Bucket, path string) (string, error)
- func NewReader(ctx context.Context, uri string) (reader.Reader, error)
- func NewWriter(ctx context.Context, uri string) (writer.Writer, error)
- type ImageHashRsp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractText ¶ added in v0.4.0
func ExtractText(ctx context.Context, e emboss.Embosser, bucket *blob.Bucket, path string) ([]byte, error)
ExtractText will return the text contained in the body of 'path' derived using 'e'.
func FingerprintFile ¶ added in v0.0.8
Generate a SHA-1 hash of a file stored in a blob.Bucket instance.
Types ¶
type ImageHashRsp ¶ added in v0.0.8
type ImageHashRsp struct { // String label describing the image hashing procedure used. Approach string // The hexidecimal hash of an image. Hash string }
ImageHashRsp is a struct representing the results of an image hashing operation.
func ImageHashes ¶ added in v0.0.8
Generate a list of ImageHashRsp instances for a file stored in a blob.Bucket instance using the corona10/goimagehash package.
Click to show internal directories.
Click to hide internal directories.