pub struct RecognizedTextCandidate {
pub text: String,
pub confidence: f32,
pub bounding_box: BoundingBox,
}Available on crate feature
recognize_text only.Expand description
Dedicated VNRecognizedText wrapper.
Fields§
§text: String§confidence: f32§bounding_box: BoundingBoxTrait Implementations§
Source§impl Clone for RecognizedTextCandidate
impl Clone for RecognizedTextCandidate
Source§fn clone(&self) -> RecognizedTextCandidate
fn clone(&self) -> RecognizedTextCandidate
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RecognizedTextCandidate
impl Debug for RecognizedTextCandidate
Source§impl From<RecognizedText> for RecognizedTextCandidate
impl From<RecognizedText> for RecognizedTextCandidate
Source§fn from(value: RecognizedText) -> Self
fn from(value: RecognizedText) -> Self
Converts to this type from the input type.
Source§impl From<RecognizedTextCandidate> for RecognizedText
impl From<RecognizedTextCandidate> for RecognizedText
Source§fn from(value: RecognizedTextCandidate) -> Self
fn from(value: RecognizedTextCandidate) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RecognizedTextCandidate
impl PartialEq for RecognizedTextCandidate
Source§fn eq(&self, other: &RecognizedTextCandidate) -> bool
fn eq(&self, other: &RecognizedTextCandidate) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RecognizedTextCandidate
Auto Trait Implementations§
impl Freeze for RecognizedTextCandidate
impl RefUnwindSafe for RecognizedTextCandidate
impl Send for RecognizedTextCandidate
impl Sync for RecognizedTextCandidate
impl Unpin for RecognizedTextCandidate
impl UnsafeUnpin for RecognizedTextCandidate
impl UnwindSafe for RecognizedTextCandidate
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