pub struct FeatureExtractorArgs {Show 13 fields
pub database_path: PathBuf,
pub image_path: PathBuf,
pub image_list_path: Option<PathBuf>,
pub camera_model: String,
pub single_camera: bool,
pub single_camera_per_folder: bool,
pub existing_camera_id: Option<i64>,
pub camera_params: Option<String>,
pub default_focal_length_factor: f64,
pub max_num_features: usize,
pub max_image_size: usize,
pub use_gpu: Option<bool>,
pub sift_use_gpu: Option<bool>,
}Expand description
feature_extractor 인자.
Fields§
§database_path: PathBuf특징 저장소 파일 경로(없으면 새로 만든다).
image_path: PathBuf입력 영상 폴더.
image_list_path: Option<PathBuf>처리할 영상 이름 목록 파일(없으면 폴더 전체).
camera_model: String카메라 모델 이름.
single_camera: bool모든 영상이 카메라 하나를 공유.
single_camera_per_folder: bool폴더마다 카메라 하나.
existing_camera_id: Option<i64>기존 카메라 id 사용(≥ 0 일 때).
camera_params: Option<String>카메라 파라미터 직접 지정(쉼표 구분).
default_focal_length_factor: f64EXIF 초점이 없을 때 초점 = 계수 × max(w, h).
max_num_features: usize영상당 최대 특징 수.
max_image_size: usizeSIFT 입력 최대 크기(픽셀).
use_gpu: Option<bool>GPU 사용 여부(받기만 하고 무시).
sift_use_gpu: Option<bool>GPU 사용 여부(받기만 하고 무시).
Trait Implementations§
Source§impl Args for FeatureExtractorArgs
impl Args for FeatureExtractorArgs
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl Debug for FeatureExtractorArgs
impl Debug for FeatureExtractorArgs
Source§impl FromArgMatches for FeatureExtractorArgs
impl FromArgMatches for FeatureExtractorArgs
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Auto Trait Implementations§
impl Freeze for FeatureExtractorArgs
impl RefUnwindSafe for FeatureExtractorArgs
impl Send for FeatureExtractorArgs
impl Sync for FeatureExtractorArgs
impl Unpin for FeatureExtractorArgs
impl UnsafeUnpin for FeatureExtractorArgs
impl UnwindSafe for FeatureExtractorArgs
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T, U> Imply<T> for U
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> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
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.