mirror of
https://github.com/facefusion/facefusion.git
synced 2026-08-08 01:58:37 +02:00
Compare commits
2
Commits
3.8.1
..
patch-3.8.2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
67e0a5835f | ||
|
|
33cc6b40a4 |
@@ -4,7 +4,6 @@ LOCALES : Locales =\
|
|||||||
{
|
{
|
||||||
'en':
|
'en':
|
||||||
{
|
{
|
||||||
'conda_not_activated': 'conda is not activated',
|
|
||||||
'python_not_supported': 'python version is not supported, upgrade to {version} or higher',
|
'python_not_supported': 'python version is not supported, upgrade to {version} or higher',
|
||||||
'dependency_not_installed': '{dependency} is not installed',
|
'dependency_not_installed': '{dependency} is not installed',
|
||||||
'creating_temp': 'creating temporary resources',
|
'creating_temp': 'creating temporary resources',
|
||||||
@@ -96,8 +95,6 @@ LOCALES : Locales =\
|
|||||||
'exclamation_mark': '!',
|
'exclamation_mark': '!',
|
||||||
'help':
|
'help':
|
||||||
{
|
{
|
||||||
'install_dependency': 'choose the variant of {dependency} to install',
|
|
||||||
'skip_conda': 'skip the conda environment check',
|
|
||||||
'config_path': 'choose the config file to override defaults',
|
'config_path': 'choose the config file to override defaults',
|
||||||
'temp_path': 'specify the directory for the temporary resources',
|
'temp_path': 'specify the directory for the temporary resources',
|
||||||
'jobs_path': 'specify the directory to store jobs',
|
'jobs_path': 'specify the directory to store jobs',
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ METADATA =\
|
|||||||
{
|
{
|
||||||
'name': 'FaceFusion',
|
'name': 'FaceFusion',
|
||||||
'description': 'Industry leading face manipulation platform',
|
'description': 'Industry leading face manipulation platform',
|
||||||
'version': '3.8.1',
|
'version': '3.8.2',
|
||||||
'license': 'OpenRAIL-AS',
|
'license': 'OpenRAIL-AS',
|
||||||
'author': 'Henry Ruhs',
|
'author': 'Henry Ruhs',
|
||||||
'url': 'https://facefusion.io'
|
'url': 'https://facefusion.io'
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ from facefusion.processors.core import get_processors_modules
|
|||||||
from facefusion.temp_helper import move_temp_file, resolve_temp_frame_set
|
from facefusion.temp_helper import move_temp_file, resolve_temp_frame_set
|
||||||
from facefusion.time_helper import calculate_end_time
|
from facefusion.time_helper import calculate_end_time
|
||||||
from facefusion.types import ErrorCode, Resolution, VisionFrame
|
from facefusion.types import ErrorCode, Resolution, VisionFrame
|
||||||
from facefusion.vision import detect_video_resolution, pack_resolution, read_static_image, read_static_video_frame, restrict_trim_frame, restrict_video_fps, restrict_video_resolution, scale_resolution, select_video_frames, write_image
|
from facefusion.vision import detect_video_resolution, pack_resolution, read_static_image, read_static_video_frame, restrict_frame, restrict_trim_frame, restrict_video_fps, restrict_video_resolution, scale_resolution, select_video_frames, write_image
|
||||||
from facefusion.workflows.core import conditional_get_target_vision_frames, is_process_stopping, process_temp_frame
|
from facefusion.workflows.core import conditional_get_target_vision_frames, is_process_stopping, process_temp_frame
|
||||||
|
|
||||||
|
|
||||||
@@ -99,6 +99,7 @@ def process_memory_frame(frame_number : int, temp_video_resolution : Resolution)
|
|||||||
temp_vision_frame = cv2.resize(target_vision_frame, temp_video_resolution)
|
temp_vision_frame = cv2.resize(target_vision_frame, temp_video_resolution)
|
||||||
|
|
||||||
temp_vision_frame = process_temp_frame(target_vision_frames, temp_vision_frame, frame_number)
|
temp_vision_frame = process_temp_frame(target_vision_frames, temp_vision_frame, frame_number)
|
||||||
|
temp_vision_frame = restrict_frame(temp_vision_frame, temp_video_resolution)
|
||||||
|
|
||||||
if state_manager.get_item('temp_pixel_format') == 'bgra':
|
if state_manager.get_item('temp_pixel_format') == 'bgra':
|
||||||
temp_vision_frame = cv2.cvtColor(temp_vision_frame, cv2.COLOR_BGR2BGRA)
|
temp_vision_frame = cv2.cvtColor(temp_vision_frame, cv2.COLOR_BGR2BGRA)
|
||||||
|
|||||||
@@ -9,6 +9,6 @@ def test_load() -> None:
|
|||||||
|
|
||||||
|
|
||||||
def test_get() -> None:
|
def test_get() -> None:
|
||||||
assert translator.get('conda_not_activated') == 'conda is not activated'
|
assert translator.get('processing_stopped') == 'processing stopped'
|
||||||
assert translator.get('help.skip_conda') == 'skip the conda environment check'
|
assert translator.get('help.run') == 'run the program'
|
||||||
assert translator.get('invalid') is None
|
assert translator.get('invalid') is None
|
||||||
|
|||||||
Reference in New Issue
Block a user