Docs.rs
  • visual-search-0.1.2
    • visual-search 0.1.2
    • Docs.rs crate page
    • AGPL-3.0-or-later
    • 18 February 2022
    • Links
    • Homepage
    • crates.io
    • Source
    • Owners
    • pjankiewicz
    • Dependencies
      • actix ^0.12.0 normal
      • actix-web ^3.3.2 normal
      • actix-web-httpauth ^0.5.1 normal
      • bytes ^1.0.1 normal
      • clap ^2.33.3 normal
      • dyn-clone ^1.0.4 normal
      • enum_dispatch ^0.3.7 normal
      • glob ^0.3.0 normal
      • hnsw ^0.7.0 normal
      • image ^0.23.14 normal
      • io ^0.0.2 normal
      • rand_pcg ^0.3.0 normal
      • reqwest ^0.11.3 normal
      • schemars ^0.8.3 normal
      • serde ^1.0.126 normal
      • serde_derive ^1.0.126 normal
      • serde_json ^1.0.64 normal
      • serde_with ^1.9.2 normal
      • space ^0.11.0 normal
      • toml ^0.5.8 normal
      • tract ^0.15.8 normal
      • tract-onnx ^0.15.8 normal
      • url ^2.2.2 normal
    • Versions
    • 0% of the crate is documented
  • Platform
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation
logo

logo

GenericTransform

Required Methods

transform

Implementors

In visual_search::image_transform::pipeline

logo
Change settings

Trait visual_search::image_transform::pipeline::GenericTransform

source · [−]
pub trait GenericTransform {
    fn transform(
        &self,
        input: ImageTransformResult
    ) -> Result<ImageTransformResult, &'static str>; }

Required methods

source

fn transform(
    &self,
    input: ImageTransformResult
) -> Result<ImageTransformResult, &'static str>

Implementors

source

impl GenericTransform for ImageTransform

source

impl GenericTransform for CenterCrop

source

impl GenericTransform for Normalization

source

impl GenericTransform for ResizeRGBImage

source

impl GenericTransform for ResizeRGBImageAspectRatio

source

impl GenericTransform for ToArray

source

impl GenericTransform for ToTensor

source

impl GenericTransform for Transpose