pub struct SpatialAnalyzer;Expand description
Spatial layout analyzer
Implementations§
Source§impl SpatialAnalyzer
impl SpatialAnalyzer
Sourcepub fn analyze_layout(
&self,
_image: &PreprocessedImage,
) -> RragResult<SpatialLayout>
pub fn analyze_layout( &self, _image: &PreprocessedImage, ) -> RragResult<SpatialLayout>
Analyze spatial layout
Sourcepub fn detect_rule_of_thirds(&self, focal_points: &[(f32, f32)]) -> bool
pub fn detect_rule_of_thirds(&self, focal_points: &[(f32, f32)]) -> bool
Detect rule of thirds alignment
Auto Trait Implementations§
impl Freeze for SpatialAnalyzer
impl RefUnwindSafe for SpatialAnalyzer
impl Send for SpatialAnalyzer
impl Sync for SpatialAnalyzer
impl Unpin for SpatialAnalyzer
impl UnwindSafe for SpatialAnalyzer
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