3.0.0 Gold (#787)

* Replace audio whenever set via source

* use scale_face_landmark_5() in age_modifier

* Fix wording and ordering of options

* Adjust wording for face editor

* Fix wording for processors

* Switch order of frame colorizer options

* That condition is actual not needed

* Simplify UI layout API by removing pre_render()

* Clean args and safe cast ini values (#775)

* Clean args and safe cast ini values

* Clean args and safe cast ini values

* Clean args and safe cast ini values

* Introduce paths group

* Fix job list command and change order

* Add job list testing todo

* Fix spacing in typing

* Fix benchmark by ignoring audio

* Simplify and avoid knowing the provider values (#782)

* Fix logger table with empty value

* Complete Typing

---------

Co-authored-by: harisreedhar <h4harisreedhar.s.s@gmail.com>
This commit is contained in:
Henry Ruhs
2024-10-02 11:08:05 +02:00
committed by GitHub
parent 904de93565
commit e42f91dadf
27 changed files with 208 additions and 155 deletions

View File

@@ -24,6 +24,8 @@ WORDING : Dict[str, Any] =\
'merging_video_succeed': 'Merging video succeed',
'merging_video_failed': 'Merging video failed',
'skipping_audio': 'Skipping audio',
'replacing_audio_succeed': 'Replacing audio succeed',
'replacing_audio_skipped': 'Replacing audio skipped',
'restoring_audio_succeed': 'Restoring audio succeed',
'restoring_audio_skipped': 'Restoring audio skipped',
'clearing_temp': 'Clearing temporary resources',
@@ -90,37 +92,38 @@ WORDING : Dict[str, Any] =\
# installer
'install_dependency': 'choose the variant of {dependency} to install',
'skip_conda': 'skip the conda environment check',
# general
# paths
'config_path': 'choose the config file to override defaults',
'jobs_path': 'specify the directory to store jobs',
'source_paths': 'choose single or multiple source images or audios',
'target_path': 'choose single target image or video',
'output_path': 'specify the output image or video within a directory',
'jobs_path': 'specify the directory to store jobs',
# face analyser
# face detector
'face_detector_model': 'choose the model responsible for detecting the faces',
'face_detector_size': 'specify the size of the frame provided to the face detector',
'face_detector_size': 'specify the frame size provided to the face detector',
'face_detector_angles': 'specify the angles to rotate the frame before detecting faces',
'face_detector_score': 'filter the detected faces base on the confidence score',
# face landmarker
'face_landmarker_model': 'choose the model responsible for detecting the face landmarks',
'face_landmarker_score': 'filter the detected face landmarks base on the confidence score',
# face selector
'face_selector_mode': 'use reference based tracking or simple matching',
'face_selector_order': 'specify the order of the detected faces',
'face_selector_age_start': 'filter the detected faces based the starting age',
'face_selector_age_end': 'filter the detected faces based the ending age',
'face_selector_gender': 'filter the detected faces based on their gender',
'face_selector_age_start': 'filter the detected faces based on their age start',
'face_selector_age_end': 'filter the detected faces based on their age end',
'face_selector_race': 'filter the detected faces based on their race',
'reference_face_position': 'specify the position used to create the reference face',
'reference_face_distance': 'specify the desired similarity between the reference face and target face',
'reference_face_distance': 'specify the similarity between the reference face and target face',
'reference_frame_number': 'specify the frame used to create the reference face',
# face mask
# face masker
'face_mask_types': 'mix and match different face mask types (choices: {choices})',
'face_mask_blur': 'specify the degree of blur applied the box mask',
'face_mask_padding': 'apply top, right, bottom and left padding to the box mask',
'face_mask_regions': 'choose the facial features used for the region mask (choices: {choices})',
# frame extraction
'trim_frame_start': 'specify the the start frame of the target video',
'trim_frame_end': 'specify the the end frame of the target video',
'trim_frame_start': 'specify the starting frame of the target video',
'trim_frame_end': 'specify the ending frame of the target video',
'temp_frame_format': 'specify the temporary resources format',
'keep_temp': 'keep the temporary resources after processing',
# output creation
@@ -134,11 +137,11 @@ WORDING : Dict[str, Any] =\
'output_video_fps': 'specify the video output fps based on the target video',
'skip_audio': 'omit the audio from the target video',
# processors
'processors': 'load a single or multiple processors. (choices: {choices}, ...)',
'processors': 'load a single or multiple processors (choices: {choices}, ...)',
'age_modifier_model': 'choose the model responsible for aging the face',
'age_modifier_direction': 'specify the direction in which the age should be modified',
'expression_restorer_model': 'choose the model responsible for restoring the expression',
'expression_restorer_factor': 'restore factor of expression from target face',
'expression_restorer_factor': 'restore factor of expression from the target face',
'face_debugger_items': 'load a single or multiple processors (choices: {choices})',
'face_editor_model': 'choose the model responsible for editing the face',
'face_editor_eyebrow_direction': 'specify the eyebrow direction',
@@ -146,22 +149,22 @@ WORDING : Dict[str, Any] =\
'face_editor_eye_gaze_vertical': 'specify the vertical eye gaze',
'face_editor_eye_open_ratio': 'specify the ratio of eye opening',
'face_editor_lip_open_ratio': 'specify the ratio of lip opening',
'face_editor_mouth_grim': 'specify the mouth grim amount',
'face_editor_mouth_pout': 'specify the mouth pout amount',
'face_editor_mouth_purse': 'specify the mouth purse amount',
'face_editor_mouth_smile': 'specify the mouth smile amount',
'face_editor_mouth_position_horizontal': 'specify the mouth position horizontal amount',
'face_editor_mouth_position_vertical': 'specify the mouth position vertical amount',
'face_editor_head_pitch': 'specify the head pitch amount',
'face_editor_head_yaw': 'specify the head yaw amount',
'face_editor_head_roll': 'specify the head roll amount',
'face_editor_mouth_grim': 'specify the mouth grim',
'face_editor_mouth_pout': 'specify the mouth pout',
'face_editor_mouth_purse': 'specify the mouth purse',
'face_editor_mouth_smile': 'specify the mouth smile',
'face_editor_mouth_position_horizontal': 'specify the horizontal mouth position',
'face_editor_mouth_position_vertical': 'specify the vertical mouth position',
'face_editor_head_pitch': 'specify the head pitch',
'face_editor_head_yaw': 'specify the head yaw',
'face_editor_head_roll': 'specify the head roll',
'face_enhancer_model': 'choose the model responsible for enhancing the face',
'face_enhancer_blend': 'blend the enhanced into the previous face',
'face_swapper_model': 'choose the model responsible for swapping the face',
'face_swapper_pixel_boost': 'choose the pixel boost resolution for the face swapper',
'frame_colorizer_model': 'choose the model responsible for colorizing the frame',
'frame_colorizer_size': 'specify the frame size provided to the frame colorizer',
'frame_colorizer_blend': 'blend the colorized into the previous frame',
'frame_colorizer_size': 'specify the size of the frame provided to the frame colorizer',
'frame_enhancer_model': 'choose the model responsible for enhancing the frame',
'frame_enhancer_blend': 'blend the enhanced into the previous frame',
'lip_syncer_model': 'choose the model responsible for syncing the lips',
@@ -186,14 +189,15 @@ WORDING : Dict[str, Any] =\
'force_download': 'force automate downloads and exit',
# jobs
'job_id': 'specify the job id',
'job_status': 'specify the job status',
'step_index': 'specify the step index',
# job manager
'job_list': 'list jobs by status',
'job_create': 'create a drafted job',
'job_submit': 'submit a drafted job to become a queued job',
'job_submit_all': 'submit all drafted jobs to become a queued jobs',
'job_delete': 'delete a drafted, queued, failed or completed job',
'job_delete_all': 'delete all drafted, queued, failed and completed jobs',
'job_list': 'list jobs by status',
'job_add_step': 'add a step to a drafted job',
'job_remix_step': 'remix a previous step from a drafted job',
'job_insert_step': 'insert a step to a drafted job',