pub struct ImageSimilarityExample;Expand description
Example: Image Similarity Detection
This example demonstrates how to detect similar or duplicate images using perceptual hashing.
Implementations§
Source§impl ImageSimilarityExample
impl ImageSimilarityExample
Sourcepub async fn run_basic_detection() -> Result<()>
pub async fn run_basic_detection() -> Result<()>
Run basic image similarity detection
Sourcepub async fn algorithm_comparison() -> Result<()>
pub async fn algorithm_comparison() -> Result<()>
Hash algorithm comparison
Sourcepub async fn threshold_tuning_guide() -> Result<()>
pub async fn threshold_tuning_guide() -> Result<()>
Threshold tuning guide
Sourcepub async fn deduplication_example() -> Result<()>
pub async fn deduplication_example() -> Result<()>
Image deduplication database
Sourcepub async fn fraud_prevention_guide() -> Result<()>
pub async fn fraud_prevention_guide() -> Result<()>
Fraud prevention use cases
Sourcepub async fn performance_optimization_guide() -> Result<()>
pub async fn performance_optimization_guide() -> Result<()>
Performance optimization guide
Auto Trait Implementations§
impl Freeze for ImageSimilarityExample
impl RefUnwindSafe for ImageSimilarityExample
impl Send for ImageSimilarityExample
impl Sync for ImageSimilarityExample
impl Unpin for ImageSimilarityExample
impl UnwindSafe for ImageSimilarityExample
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more