pub enum PpStructureModel {
TableCls,
TableStructureWired,
TableStructureWireless,
CellDetWireless,
DocOrientation,
DocUnwarp,
FormulaRec,
}Expand description
Modelli PP-StructureV3 / PP-DocLayoutV3 scaricabili singolarmente.
Usa ModelHub::ensure_single per ottenere il path ONNX locale.
| Variante | Dimensione | Funzione |
|---|---|---|
TableCls | ~7 MB | Classifica tabella: wired vs wireless |
TableStructureWired | ~351 MB | SLANeXt struttura tabelle con bordi |
TableStructureWireless | ~300 MB | SLANeXt struttura tabelle senza bordi |
CellDetWireless | ~120 MB | RT-DETR-L cell det su tabelle wireless |
DocOrientation | ~7 MB | Orientamento documento (0/90/180/270°) |
DocUnwarp | ~150 MB | Raddrizzamento prospettico UVDoc |
FormulaRec | ~800 MB | PP-FormulaNet-plus-L (LaTeX output) |
Variants§
TableCls
Classificatore wired vs wireless — PP-LCNet_x1_0_table_cls_onnx.
TableStructureWired
SLANeXt structure recognition (tabelle con bordi) — SLANeXt_wired_onnx.
TableStructureWireless
SLANeXt structure recognition (tabelle senza bordi) — SLANeXt_wireless_onnx.
CellDetWireless
RT-DETR-L cell detector (variante wireless) — RT-DETR-L_wireless_table_cell_det_onnx.
DocOrientation
Classificatore orientamento documento — PP-LCNet_x1_0_doc_ori_onnx.
DocUnwarp
Document unwarping UVDoc — UVDoc_onnx.
FormulaRec
Riconoscimento formule LaTeX — PP-FormulaNet_plus-L_onnx.
Trait Implementations§
Source§impl Clone for PpStructureModel
impl Clone for PpStructureModel
Source§fn clone(&self) -> PpStructureModel
fn clone(&self) -> PpStructureModel
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 moreimpl Copy for PpStructureModel
Source§impl Debug for PpStructureModel
impl Debug for PpStructureModel
impl Eq for PpStructureModel
Source§impl PartialEq for PpStructureModel
impl PartialEq for PpStructureModel
Source§fn eq(&self, other: &PpStructureModel) -> bool
fn eq(&self, other: &PpStructureModel) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PpStructureModel
Auto Trait Implementations§
impl Freeze for PpStructureModel
impl RefUnwindSafe for PpStructureModel
impl Send for PpStructureModel
impl Sync for PpStructureModel
impl Unpin for PpStructureModel
impl UnsafeUnpin for PpStructureModel
impl UnwindSafe for PpStructureModel
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Scalar for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.