{"id":13718,"date":"2024-02-29T16:37:32","date_gmt":"2024-02-29T08:37:32","guid":{"rendered":"https:\/\/92it.top\/?p=13718"},"modified":"2024-04-06T17:11:59","modified_gmt":"2024-04-06T09:11:59","slug":"%e8%af%a6%e8%a7%a3-facefusion-2-3-0-%e7%9a%84%e5%8f%82%e6%95%b0","status":"publish","type":"post","link":"https:\/\/92it.top\/?p=13718","title":{"rendered":"\u8be6\u89e3 FaceFusion (2.3.0) \u7684\u53c2\u6570"},"content":{"rendered":"\n<p>\u539f\u6587\u94fe\u63a5\uff1a<a href=\"https:\/\/blog.csdn.net\/ddrfan\/article\/details\/136226323\">https:\/\/blog.csdn.net\/ddrfan\/article\/details\/136226323<\/a><\/p>\n\n\n\n<p><strong>\u7279\u70b9\u548c\u754c\u9762<\/strong><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>\u542f\u52a8WEBUI\u540e\uff0c\u5927\u6982\u662f\u8fd9\u4e2a\u6837\u5b50\u3002<br>\u770b\u8d77\u6765\u6709\u70b9\u590d\u6742\uff0c\u6ca1\u6709\u6700\u65b0\u7684Rope\u90a3\u4e48\u7b80\u6d01\u3002<br>\u548cRope\u7684\u5bf9\u6bd4\uff0c\u53ef\u4ee5\u770b\u4e0a\u6b21\u5199\u7684<a href=\"https:\/\/blog.csdn.net\/ddrfan\/article\/details\/136214329\"><\/a> <a href=\"https:\/\/92it.top\/?p=13706\">https:\/\/92it.top\/?p=13706<\/a><\/p>\n\n\n\n<p>\u4f46\u5176\u5b9e\u628a\u4e00\u4e9b<a href=\"https:\/\/so.csdn.net\/so\/search?q=%E5%8F%82%E6%95%B0%E8%AE%BE%E7%BD%AE&amp;spm=1001.2101.3001.7020\" target=\"_blank\" rel=\"noreferrer noopener\">\u53c2\u6570\u8bbe\u7f6e<\/a>\u597d\u540e\uff0c\u6bcf\u6b21\u4f7f\u7528\u4e5f\u662f\u76f8\u5f53\u5feb\u6377\u7684\u3002<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1011\" height=\"1024\" src=\"https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-116-1011x1024.png\" alt=\"\" class=\"wp-image-13719\" style=\"width:504px;height:auto\" srcset=\"https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-116-1011x1024.png 1011w, https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-116-296x300.png 296w, https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-116-768x778.png 768w, https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-116-1516x1536.png 1516w, https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-116-830x841.png 830w, https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-116-230x233.png 230w, https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-116-350x355.png 350w, https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-116-480x486.png 480w, https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-116.png 1540w\" sizes=\"(max-width: 1011px) 100vw, 1011px\" \/><\/figure><\/div>\n\n\n<p><strong>\uff08\u4e00\uff09\u53c2\u6570\u63a7\u5236\u7684FaceFusion<\/strong><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>\u524d\u9762\u63d0\u5230\u8fc7\uff0cFaceFusion\u548c\u4fa7\u91cdGUI\u4ea4\u4e92\u7684Rope\u4e0d\u4e00\u6837\uff0c\u53ef\u4ee5\u65e0\u754c\u9762\u8fdb\u884c\u547d\u4ee4\u884c\u64cd\u4f5c(CLI)\u3002<br>\u6240\u4ee5\u5b83\u6709\u975e\u5e38\u975e\u5e38\u591a\u7684\u53c2\u6570\u53ef\u9009\u3002<br>\u5f53\u7136\uff0c\u5982\u679c\u4f60\u542f\u52a8\u7684\u662fWEBUI\uff0c\u90a3\u4e48\u5927\u90e8\u5206\u53c2\u6570\u4e5f\u53ef\u4ee5\u901a\u8fc7\u754c\u9762\u8c03\u6574\u3002<br>\u800c\u5176\u4e2d\u5c0f\u90e8\u5206\u53c2\u6570\u5fc5\u987b\u5728\u547d\u4ee4\u884c\u4e2d\u751f\u6548\u3002<\/p>\n\n\n\n<p><strong>\uff081.1\uff09\u542f\u52a8\u53c2\u6570<\/strong><\/p>\n\n\n\n<p>\u5efa\u8bae\u914d\u5408<a href=\"https:\/\/docs.facefusion.io\/usage\/cli-arguments\">\u5b98\u65b9\u5e2e\u52a9<\/a>\u6765\u4f7f\u7528\u548c\u4e86\u89e3\u53c2\u6570\u542b\u4e49\u3002<br>\u90a3\u4e48\u76ee\u524d\u7248\u672c\u6709\u8fd9\u4e9b\u53c2\u6570\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">python run.py [options]\n\noptions:\n  -h, --help                                                                                                             show this help message and exit\n  -s SOURCE_PATHS, --source SOURCE_PATHS                                                                                 choose single or multiple source images or audios\n  -t TARGET_PATH, --target TARGET_PATH                                                                                   choose single target image or video\n  -o OUTPUT_PATH, --output OUTPUT_PATH                                                                                   specify the output file or directory\n  -v, --version                                                                                                          show program's version number and exit\n\nmisc:\n  --skip-download                                                                                                        omit automate downloads and remote lookups\n  --headless                                                                                                             run the program without a user interface\n  --log-level {error,warn,info,debug}                                                                                    adjust the message severity displayed in the terminal\n\nexecution:\n  --execution-providers EXECUTION_PROVIDERS [EXECUTION_PROVIDERS ...]                                                    accelerate the model inference using different providers (choices: cpu, ...)\n  --execution-thread-count [1-128]                                                                                       specify the amount of parallel threads while processing\n  --execution-queue-count [1-32]                                                                                         specify the amount of frames each thread is processing\n\nmemory:\n  --video-memory-strategy {strict,moderate,tolerant}                                                                     balance fast frame processing and low vram usage\n  --system-memory-limit [0-128]                                                                                          limit the available ram that can be used while processing\n\nface analyser:\n  --face-analyser-order {left-right,right-left,top-bottom,bottom-top,small-large,large-small,best-worst,worst-best}      specify the order in which the face analyser detects faces.\n  --face-analyser-age {child,teen,adult,senior}                                                                          filter the detected faces based on their age\n  --face-analyser-gender {female,male}                                                                                   filter the detected faces based on their gender\n  --face-detector-model {retinaface,yoloface,yunet}                                                                      choose the model responsible for detecting the face\n  --face-detector-size FACE_DETECTOR_SIZE                                                                                specify the size of the frame provided to the face detector\n  --face-detector-score [0.0-1.0]                                                                                        filter the detected faces base on the confidence score\n\nface selector:\n  --face-selector-mode {reference,one,many}                                                                              use reference based tracking with simple matching\n  --reference-face-position REFERENCE_FACE_POSITION                                                                      specify the position used to create the reference face\n  --reference-face-distance [0.0-1.5]                                                                                    specify the desired similarity between the reference face and target face\n  --reference-frame-number REFERENCE_FRAME_NUMBER                                                                        specify the frame used to create the reference face\n\nface mask:\n  --face-mask-types FACE_MASK_TYPES [FACE_MASK_TYPES ...]                                                                mix and match different face mask types (choices: box, occlusion, region)\n  --face-mask-blur [0.0-1.0]                                                                                             specify the degree of blur applied the box mask\n  --face-mask-padding FACE_MASK_PADDING [FACE_MASK_PADDING ...]                                                          apply top, right, bottom and left padding to the box mask\n  --face-mask-regions FACE_MASK_REGIONS [FACE_MASK_REGIONS ...]                                                          choose the facial features used for the region mask (choices: skin, left-eyebrow, right-eyebrow, left-eye, right-eye, eye-glasses, nose, mouth, upper-lip, lower-lip)\n\nframe extraction:\n  --trim-frame-start TRIM_FRAME_START                                                                                    specify the the start frame of the target video\n  --trim-frame-end TRIM_FRAME_END                                                                                        specify the the end frame of the target video\n  --temp-frame-format {bmp,jpg,png}                                                                                      specify the temporary resources format\n  --temp-frame-quality [0-100]                                                                                           specify the temporary resources quality\n  --keep-temp                                                                                                            keep the temporary resources after processing\n\noutput creation:\n  --output-image-quality [0-100]                                                                                         specify the image quality which translates to the compression factor\n  --output-video-encoder {libx264,libx265,libvpx-vp9,h264_nvenc,hevc_nvenc}                                              specify the encoder use for the video compression\n  --output-video-preset {ultrafast,superfast,veryfast,faster,fast,medium,slow,slower,veryslow}                           balance fast video processing and video file size\n  --output-video-quality [0-100]                                                                                         specify the video quality which translates to the compression factor\n  --output-video-resolution OUTPUT_VIDEO_RESOLUTION                                                                      specify the video output resolution based on the target video\n  --output-video-fps OUTPUT_VIDEO_FPS                                                                                    specify the video output fps based on the target video\n  --skip-audio                                                                                                           omit the audio from the target video\n\nframe processors:\n  --frame-processors FRAME_PROCESSORS [FRAME_PROCESSORS ...]                                                             load a single or multiple frame processors. (choices: face_debugger, face_enhancer, face_swapper, frame_enhancer, lip_syncer, ...)\n  --face-debugger-items FACE_DEBUGGER_ITEMS [FACE_DEBUGGER_ITEMS ...]                                                    load a single or multiple frame processors (choices: bounding-box, landmark-5, landmark-68, face-mask, score, age, gender)\n  --face-enhancer-model {codeformer,gfpgan_1.2,gfpgan_1.3,gfpgan_1.4,gpen_bfr_256,gpen_bfr_512,restoreformer_plus_plus}  choose the model responsible for enhancing the face\n  --face-enhancer-blend [0-100]                                                                                          blend the enhanced into the previous face\n  --face-swapper-model {blendswap_256,inswapper_128,inswapper_128_fp16,simswap_256,simswap_512_unofficial,uniface_256}   choose the model responsible for swapping the face\n  --frame-enhancer-model {real_esrgan_x2plus,real_esrgan_x4plus,real_esrnet_x4plus}                                      choose the model responsible for enhancing the frame\n  --frame-enhancer-blend [0-100]                                                                                         blend the enhanced into the previous frame\n  --lip-syncer-model {wav2lip_gan}                                                                                       choose the model responsible for syncing the lips\n\nuis:\n  --ui-layouts UI_LAYOUTS [UI_LAYOUTS ...]                                                                               launch a single or multiple UI layouts (choices: benchmark, default, webcam, ...)\n<\/pre>\n\n\n\n<p>\u6bd4\u5982\u4e0b\u9762\u8fd9\u4e2a\u4f8b\u5b50\u3002<br>\u6307\u5b9a\u4e86\u8f93\u51fa\u76ee\u5f55\uff0c\u90e8\u5206\u6a21\u578b\uff0c\u89c6\u9891\u7f16\u7801\u7b49\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">python run.py -o D:\\Temp\\out\\A --skip-download --execution-providers cuda --frame-processors face_swapper face_enhancer --face-enhancer-model gpen_bfr_256 --face-enhancer-blend 90 --output-video-encoder hevc_nvenc --output-video-quality 99 --face-mask-types box occlusion\r<\/pre>\n\n\n\n<p><strong>\uff081.2\uff09\u914d\u7f6e\u6587\u4ef6\u8986\u76d6<\/strong><\/p>\n\n\n\n<p>\u4e0d\u60f3\u6bcf\u6b21\u90fd\u6253\u5f88\u957f\u7684\u547d\u4ee4\u884c\uff0c\u53ef\u4ee5\u5199\u5165\u4e00\u4e2abat\u6587\u4ef6\u4e2d\u3002<\/p>\n\n\n\n<p>\u7136\u540e\u4f5c\u8005\u8003\u8651\u5230\u4e86\u8fd9\u70b9\uff0c\u6709\u4e2a\u66f4\u7b80\u5355\u7684\u529e\u6cd5\u3002<br>\u628a\u8fd9\u4e9b\u53c2\u6570\u5199\u5165facefusion.ini\u914d\u7f6e\u6587\u4ef6\uff0c\u53ef\u4ee5\u8d77\u5230\u547d\u4ee4\u884c\u53c2\u6570\u540c\u6837\u7684\u4f5c\u7528\uff0c\u540c\u65f6\u66f4\u6574\u6d01\u6613\u8bfb\u3002<\/p>\n\n\n\n<p>\u4f46\u9879\u76ee\u4e2d\u4f5c\u8005\u63d0\u4f9b\u7684\u662ffacefusion.ini\u672c\u8eab\uff0c\u800c\u4e0d\u662ffacefusion.ini.sample\uff0c\u4f1a\u5f71\u54cd\u62c9\u4ee3\u7801\u554a\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">[general]\nsource_paths =\ntarget_path =\noutput_path =\n\n[misc]\nskip_download =\nheadless =\nlog_level =\n\n[execution]\nexecution_providers =\nexecution_thread_count =\nexecution_queue_count =\n\n[memory]\nvideo_memory_strategy =\nsystem_memory_limit =\n\n[face_analyser]\nface_analyser_order =\nface_analyser_age =\nface_analyser_gender =\nface_detector_model =\nface_detector_size =\nface_detector_score =\n\n[face_selector]\nface_selector_mode =\nreference_face_position =\nreference_face_distance =\nreference_frame_number =\n\n[face_mask]\nface_mask_types =\nface_mask_blur =\nface_mask_padding =\nface_mask_regions =\n\n[frame_extraction]\ntrim_frame_start =\ntrim_frame_end =\ntemp_frame_format =\ntemp_frame_quality =\nkeep_temp =\n\n[output_creation]\noutput_image_quality =\noutput_video_encoder =\noutput_video_preset =\noutput_video_quality =\noutput_video_resolution =\noutput_video_fps =\nskip_audio =\n\n[frame_processors]\nframe_processors =\nface_debugger_items =\nface_enhancer_model =\nface_enhancer_blend =\nface_swapper_model =\nframe_enhancer_model =\nframe_enhancer_blend =\nlip_syncer_model =\n\n[uis]\nui_layouts =\n<\/pre>\n\n\n\n<p><strong>\uff08\u4e8c\uff09\u53c2\u6570\u8be6\u89e3<\/strong><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><strong>\uff082.1\uff09UI\u53c2\u6570<\/strong><\/p>\n\n\n\n<p><strong>\uff082.1.1\uff09UI\u5e03\u5c40<\/strong><\/p>\n\n\n\n<p>\ud83d\udca1\u4fdd\u6301\u9ed8\u8ba4\u5c31\u597d\uff0c\u54b1\u901a\u5e38\u7528\u4e0d\u5230\u3002<\/p>\n\n\n\n<p>\u7528\u6765\u5207\u6362\u4e0d\u540c\u7684UI\u5e03\u5c40\u3002<br>\u7528\u6cd5: &#8211;ui-layouts<\/p>\n\n\n\n<p>\u9ed8\u8ba4\u503c: [ default ]\uff0c\u53ef\u9009\u8fd9\u4e9b\u503c\uff1a<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">benchmark \uff08\u57fa\u51c6\u6d4b\u8bd5\uff09\ndefault\uff08\u9ed8\u8ba4\u503c\uff0c\u6362\u89c6\u9891\uff09\nwebcam \uff08\u6444\u50cf\u5934\uff0c\u76f4\u64ad\uff09<\/pre>\n\n\n\n<p>\u6bd4\u5982: &#8211;ui-layouts benchmark \u5c31\u542f\u52a8\u6d4b\u8bd5\u6027\u80fd\u7684UI\u5e03\u5c40\u3002<\/p>\n\n\n\n<p><strong>\uff082.2\uff09\u6742\u9879\u53c2\u6570<\/strong><\/p>\n\n\n\n<p><strong>\uff082.2.1\uff09Skip Download<\/strong><\/p>\n\n\n\n<p>\ud83d\udca1\u5929\u671d\u7f51\u7edc\u5fc5\u987b\u5f97\u5f00\uff08\u9664\u975e\u4f60\u7684\u7f51\u7edc\u81ea\u52a8\u4e0b\u8f7d\u6a21\u578b\u6ca1\u95ee\u9898\uff09\u3002<\/p>\n\n\n\n<p>\u987e\u540d\u601d\u4e49\u7528\u6765\u8df3\u8fc7\u8fdc\u7a0b\u4e0b\u8f7d\uff08\u5fc5\u8981\u7684\u6a21\u578b\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u522b\u7684\u65b9\u5f0f\uff0c\u63d0\u524d\u4e0b\u8f7d\u597d\uff09<br>\u7528\u6cd5: <code>--skip-download<\/code><\/p>\n\n\n\n<p><strong>\uff082.2.2\uff09Headless<\/strong><\/p>\n\n\n\n<p>\ud83d\udca1\u4fdd\u6301\u9ed8\u8ba4\u5c31\u597d\uff0c\u9664\u975e\u2026\u2026<\/p>\n\n\n\n<p>\u4e0d\u4f7f\u7528\u754c\u9762\u7684\u65b9\u5f0f\u542f\u52a8\u7a0b\u5e8f\uff0c\u9002\u5408\u5728\u670d\u52a1\u5668\u4e0a\u64cd\u4f5c\u3002<br>\u8bbe\u7f6e\u597d\u5404\u79cd\u53c2\u6570\u540e\uff0c\u4e00\u6761\u547d\u4ee4\u8fd0\u884c\u76f4\u63a5\u51fa\u7ed3\u679c\u3002<br>\u7528\u6cd5: <code>--headless<\/code><\/p>\n\n\n\n<p><strong>\uff082.2.3\uff09Log Level<\/strong><\/p>\n\n\n\n<p>\ud83d\udca1\u4fdd\u6301\u9ed8\u8ba4\u5c31\u597d\uff0c\u54b1\u901a\u5e38\u7528\u4e0d\u5230\u3002<\/p>\n\n\n\n<p>\u8c03\u6574\u63a7\u5236\u53f0\u8f93\u51fa\u7684\u65e5\u5fd7\u7ea7\u522b\u3002<br>\u7528\u6cd5: <code>--log-level<\/code><\/p>\n\n\n\n<p>\u9ed8\u8ba4\u503c: <code>info<\/code>\uff0c\u53ef\u9009\u8fd9\u4e9b\u503c\uff1a<\/p>\n\n\n\n<ul>\n<li>error \uff08\u9519\u8bef\uff09<\/li>\n\n\n\n<li>warn \uff08\u8b66\u544a\uff09<\/li>\n\n\n\n<li>info \uff08\u666e\u901a\u4fe1\u606f\uff09<\/li>\n\n\n\n<li>debug \uff08\u8c03\u8bd5\uff09<\/li>\n<\/ul>\n\n\n\n<p>\u6bd4\u5982: <code>--log-level debug<\/code> \u6253\u5370\u8c03\u8bd5\u65e5\u5fd7\u3002<\/p>\n\n\n\n<p><strong>\uff082.3.1\uff09Source<\/strong><\/p>\n\n\n\n<p>\ud83d\udca1\u6307\u5b9a\u4e00\u4e2a\u6216\u591a\u4e2a\u6e90\u56fe\u50cf\/\u97f3\u9891\uff08\u97f3\u9891\u7528\u4e8e\u5634\u578b\u540c\u6b65\uff09<br>\u7528\u6cd5: -s \u6216\u8005 &#8211;source<br>\u6bd4\u5982: &#8211;source image1.jpg &#8211;source image2.jpg &#8211;source audio.mp3<\/p>\n\n\n\n<p>\u4e0d\u901a\u8fc7\u53c2\u6570\u6307\u5b9a\u65f6\uff0c\u5728WEBUI\u4e2d\u62d6\u653e\u6216\u9009\u62e9\u6587\u4ef6\u4e0a\u4f20\u3002<br>\u8fd9\u91cc\u4f1a\u663e\u793a\u591a\u5f20\u56fe\u7247\u7684\u540d\u79f0\uff0c\u4ee5\u53ca\u5176\u4e2d\u4e00\u5f20\u7684\u9884\u89c8\u3002<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"654\" height=\"382\" src=\"https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-117.png\" alt=\"\" class=\"wp-image-13722\" style=\"width:394px;height:auto\" srcset=\"https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-117.png 654w, https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-117-300x175.png 300w, https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-117-230x134.png 230w, https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-117-350x204.png 350w, https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-117-480x280.png 480w\" sizes=\"(max-width: 654px) 100vw, 654px\" \/><\/figure><\/div>\n\n\n<p><strong>\uff082.3.2\uff09Target<\/strong><\/p>\n\n\n\n<p>\ud83d\udca1\u6307\u5b9a\u4e00\u5f20\u56fe\u50cf\u6216\u89c6\u9891\u4f5c\u4e3a\u76ee\u6807\u3002<br>\u7528\u6cd5: <code>-t<\/code> \u6216\u8005 <code>--target<\/code><br>\u6bd4\u5982: <code>--target video.mp4<\/code><\/p>\n\n\n\n<p>\u4e0d\u901a\u8fc7\u53c2\u6570\u6307\u5b9a\u65f6\uff0c\u5728WEBUI\u4e2d\u62d6\u653e\u6216\u9009\u62e9\u6587\u4ef6\u4e0a\u4f20\u3002<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"684\" height=\"390\" src=\"https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-118.png\" alt=\"\" class=\"wp-image-13723\" style=\"width:418px;height:auto\" srcset=\"https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-118.png 684w, https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-118-300x171.png 300w, https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-118-230x131.png 230w, https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-118-350x200.png 350w, https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-118-480x274.png 480w\" sizes=\"(max-width: 684px) 100vw, 684px\" \/><\/figure><\/div>\n\n\n<p><strong>\uff082.3.3\uff09Output<\/strong><\/p>\n\n\n\n<p>\ud83d\udca1\u6307\u5b9a\u8f93\u51fa\u7684\u6587\u4ef6\u6216\u76ee\u5f55\u3002<br>\u7528\u6cd5: <code>-o<\/code> \u6216\u8005 <code>--output<\/code><br>\u6bd4\u5982: <code>--output .<\/code><\/p>\n\n\n\n<p>\u5c31\u7b97\u6307\u5b9a\u4e86\u76ee\u5f55\uff0c\u5904\u7406\u5b8c\u6210\u540e\uff0c\u8f93\u51fa\u7684\u5185\u5bb9\u4e5f\u4f1a\u663e\u793a\u5728WEBUI\u4e2d\u3002<br>\u70b9\u51fb\u3010Clear\u3011\u6309\u94ae\u53ef\u4ee5\u6e05\u9664WEBUI\u4e0a\u7684\u8f93\u51fa\u5185\u5bb9\u3002<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"472\" height=\"416\" src=\"https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-119.png\" alt=\"\" class=\"wp-image-13724\" style=\"width:414px;height:auto\" srcset=\"https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-119.png 472w, https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-119-300x264.png 300w, https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-119-230x203.png 230w, https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-119-350x308.png 350w\" sizes=\"(max-width: 472px) 100vw, 472px\" \/><\/figure><\/div>\n\n\n<p><br><strong>\uff082.4\uff09\u6267\u884c\u5668\u53c2\u6570<\/strong><\/p>\n\n\n\n<p>\ud83d\udca1\u6839\u636e\u663e\u5361\u9009\u62e9\uff0c\u5927\u5bb6\u90fd\u662f\u7528N\u5361\u7684CDUA\u5427\uff1f<\/p>\n\n\n\n<p>\u8fd9\u79cd\u91cd\u8981\u53c2\u6570\u5f88\u5f71\u54cd\u901f\u5ea6\uff0c\u4e5f\u6bd4\u8f83\u56fa\u5b9a\uff0c\u6240\u4ee5\u6700\u597d\u56fa\u5b9a\u5230\u547d\u4ee4\u884c\u53c2\u6570\u4e2d\u3002<br>\u6216\u8005\u5199\u5165\u914d\u7f6e\u6587\u4ef6\u3002<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"710\" height=\"388\" src=\"https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-120.png\" alt=\"\" class=\"wp-image-13725\" style=\"width:450px;height:auto\" srcset=\"https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-120.png 710w, https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-120-300x164.png 300w, https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-120-230x126.png 230w, https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-120-350x191.png 350w, https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-120-480x262.png 480w\" sizes=\"(max-width: 710px) 100vw, 710px\" \/><\/figure><\/div>\n\n\n<p><strong>\uff082.4.1\uff09Execution Providers<\/strong><\/p>\n\n\n\n<p>\ud83d\udca1\u6267\u884c\u5668\u63d0\u4f9b\u8005\uff0c\u5c31\u662f\u7528\u5565\u6765\u8dd1\uff0cCPU\u8fd8\u662f\u663e\u5361\u3002<br>\u5728\u6211\u8fd9\u91cc\u53ef\u9009\u7684\u662fcpu, cuda, TensorRT\u3002\u4e0d\u6e05\u695a\u662f\u5426\u652f\u6301Intel\u548cATI\u3002<br>\u7528\u6cd5: &#8211;execution-providers<br>\u9ed8\u8ba4\u503c: [ cpu ] \u2014\u2014 \u662f\u7684\uff0c\u5b83\u4e5f\u662f\u4e00\u4e2a\u96c6\u5408\u53c2\u6570\uff0c\u53ef\u4ee5\u591a\u9009\u3002\u6bd4\u5982\u540c\u65f6\u9009cpu\u548ccuda\u3002<br>\u6bd4\u5982: &#8211;execution-providers cuda<\/p>\n\n\n\n<p><strong>\uff082.4.2\uff09Execution Thread Count<\/strong><\/p>\n\n\n\n<p>\ud83d\udca1\u5904\u7406\u7ebf\u7a0b\u6570\uff0c\u53ea\u8981\u663e\u5b58\u591f\uff0c\u5f00\u5927\u4e9b\u4f1a\u6bd4\u8f83\u5feb\u3002<br>\u7528\u6cd5: <code>--execution-thread-count<\/code><br>\u9ed8\u8ba4\u503c: <code>1<\/code><br>\u8303\u56f4: <code>1-128<\/code><br>\u6bd4\u5982: <code>--execution-thread-count 4<\/code><\/p>\n\n\n\n<p><strong>\uff082.4.3\uff09Execution Queue Count<\/strong><\/p>\n\n\n\n<p>\u961f\u5217\u957f\u5ea6\uff0c\u5b9a\u4e49\u4e00\u4e2a\u7ebf\u7a0b\u5904\u7406\u7684\u5e27\u6570\u91cf\u3002<br>\u6ca1\u770b\u61c2\uff0c\u6240\u4ee5\u5c31\u5f00\u76841<br>\u7528\u6cd5: <code>--execution-queue-count<\/code><br>\u9ed8\u8ba4\u503c: <code>1<\/code><br>\u8303\u56f4: <code>1-32<\/code><br>\u6bd4\u5982: <code>--execution-queue-count 2<\/code><\/p>\n\n\n\n<p><strong>\uff082.5\uff09\u5185\u5b58\u53c2\u6570<\/strong><\/p>\n\n\n\n<p>\ud83d\udca1\u4fdd\u6301\u9ed8\u8ba4\u5c31\u597d\u3002<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"658\" height=\"262\" src=\"https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-121.png\" alt=\"\" class=\"wp-image-13726\" style=\"width:454px;height:auto\" srcset=\"https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-121.png 658w, https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-121-300x119.png 300w, https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-121-230x92.png 230w, https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-121-350x139.png 350w, https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-121-480x191.png 480w\" sizes=\"(max-width: 658px) 100vw, 658px\" \/><\/figure><\/div>\n\n\n<p><strong>\uff082.5.1\uff09Video Memory Strategy<\/strong><\/p>\n\n\n\n<p>\ud83d\udca1\u663e\u5b58\u4f7f\u7528\u7b56\u7565\uff0c\u4e3a\u4e86\u4e0d\u7206\u663e\u5b58\uff0c\u6211\u4eec\u53ef\u4ee5\u7528\u9ed8\u8ba4\u503c\u3002<br>\u6211\u8bb0\u5f97\u597d\u50cf\u9ed8\u8ba4\u7684strict\uff0c\u4f1a\u6bcf\u6b21\u5904\u7406\u90fd\u4f1a\u6e05\u7406\u663e\u5b58\uff0c\u4e0d\u4fdd\u7559\u4e0d\u7528\u7684\u6a21\u578b\u7b49\u3002<br>\u5982\u679c\u663e\u5b58\u5f88\u5927\u53ef\u4ee5\u8bd5\u8bd5\u53e6\u5916\u4e24\u4e2a\u53c2\u6570\u3002<br>\u7528\u6cd5: &#8211;video-memory-strategy<br>\u9ed8\u8ba4\u503c: strict\uff0c\u53ef\u9009\u8fd9\u4e9b\u503c\uff1a<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">strict \uff08\u4e25\u683c\uff09\nmoderate \uff08\u4e2d\u7b49\uff09\ntolerant \uff08\u5bbd\u5bb9\uff09<\/pre>\n\n\n\n<p>\u6bd4\u5982: &#8211;video-memory-strategy tolerant<\/p>\n\n\n\n<p><strong>\uff082.5.2\uff09System Memory Limit<\/strong><\/p>\n\n\n\n<p>\ud83d\udca1\u7cfb\u7edf\u5185\u5b58\u9650\u5236\uff0c\u8fd9\u4e2a\u770b\u5404\u81ea\u7684\u8ba1\u7b97\u673a\u5185\u5b58\u6709\u591a\u5c11\u3002.<br>\u7528\u6cd5: <code>--system-memory-limit<\/code><br>\u9ed8\u8ba4\u503c: <code>0<\/code><br>\u8303\u56f4: <code>0-128<\/code><br>\u6bd4\u5982: <code>--system-memory-limit 32<\/code><\/p>\n\n\n\n<p><strong>\uff082.6\uff09\u5e27\u5904\u7406\u5668\u53c2\u6570<\/strong><\/p>\n\n\n\n<p>\ud83d\udca1FaceFusion\u50cf\u4e2a\u5de5\u4f5c\u6d41\uff0c\u6240\u4ee5\u9700\u8981\u9009\u62e9\u4e00\u4e2a\u6216\u591a\u4e2a\u5e27\u5904\u7406\u5668\u3002<br>\u7136\u540e\u9009\u62e9\u5b83\u4eec\u7684\u76f8\u5173\u6a21\u578b\u548c\u53c2\u6570\u3002<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"658\" height=\"914\" src=\"https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-122.png\" alt=\"\" class=\"wp-image-13727\" style=\"width:324px;height:auto\" srcset=\"https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-122.png 658w, https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-122-216x300.png 216w, https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-122-230x319.png 230w, https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-122-350x486.png 350w, https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-122-480x667.png 480w\" sizes=\"(max-width: 658px) 100vw, 658px\" \/><\/figure><\/div>\n\n\n<p><strong>\uff082.6.1\uff09Frame Processors<\/strong><\/p>\n\n\n\n<p>\ud83d\udca1\u901a\u5e38\u9009\u4ea4\u6362\u548c\u589e\u5f3a\u3002<\/p>\n\n\n\n<p>\u9009\u62e9\u4e00\u4e2a\u6216\u591a\u4e2a\u5e27\u5904\u7406\u5668\uff08\u9ed8\u8ba4\u5c31\u662f\u4ea4\u6362\uff09\u3002<br>\u76ee\u524d\u67095\u4e2a\u5e27\u5904\u7406\u5668\uff1a\u4ea4\u6362\uff0c\u589e\u5f3a\uff0c\u8c03\u8bd5\u3001\u5e27\u8d85\u5206\uff0c\u5634\u578b\u540c\u6b65\u3002<br>\u672a\u9009\u4e2d\u7684\u5e27\u5904\u7406\u5668\uff0c\u5176\u914d\u7f6e\u4e0d\u4f1a\u51fa\u73b0\u5728WEB\u754c\u9762\u4e0a\u3002<br>\u7528\u6cd5: &#8211;frame-processors<br>\u9ed8\u8ba4\u503c: [ face_swapper ]<br>\u53ef\u9009: face_debugger, face_enhancer, face_swapper, frame_enhancer<br>\u6bd4\u5982: &#8211;frame-processors face_swapper face_enhancer<\/p>\n\n\n\n<p><strong><a name=\"t25\"><\/a><a id=\"262Face_Debugger_Items_306\"><\/a>\uff082.6.2\uff09Face Debugger Items<\/strong><\/p>\n\n\n\n<p>\u7528\u4e8e\u8c03\u8bd5\uff08\u663e\u793a\u68c0\u6d4b\u548c\u906e\u7f69\u7684\u5bf9\u8c61\uff09\u3002<br>\u53cd\u6b63\u6211\u6ca1\u7528\u8fc7\u554a\u3002<br>\u7528\u6cd5: &#8211;face-debugger-items<br>\u9ed8\u8ba4\u503c: [ landmark-5, face-mask ]<br>\u53ef\u9009: bounding-box, landmark-5, landmark-68, face-mask, score, age, gender<br>\u6bd4\u5982: &#8211;face-debugger-items landmark-68 score<\/p>\n\n\n\n<p><strong>\uff082.6.3\uff09Face Enhancer Model<\/strong><\/p>\n\n\n\n<p>\ud83d\udca1\u5c0f\u663e\u5b58\u6211\u6bd4\u8f83\u559c\u6b22gpen_bfr_256\uff0c\u5927\u663e\u5b58\u673a\u5668\u9009gpen_bfr_512\u3002<\/p>\n\n\n\n<p>\u9009\u62e9\u589e\u5f3a\u6a21\u578b\u3002<br>\u7528\u6cd5: &#8211;face-enhancer-model<br>\u9ed8\u8ba4\u503c: gfpgan_1.4<br>\u53ef\u9009: codeformer, gfpgan_1.2, gfpgan_1.3, gfpgan_1.4, gpen_bfr_256, gpen_bfr_512, restoreformer_plus_plus<br>\u6bd4\u5982: &#8211;face-enhancer-model codeformer<\/p>\n\n\n\n<p><strong>\uff082.6.4\uff09Face Enhancer Blend<\/strong><\/p>\n\n\n\n<p>\u8bbe\u7f6e\u589e\u5f3a\u7684\u878d\u5408\u5ea6\u3002.<br>\u7528\u6cd5: <code>--face-enhancer-blend<\/code><br>\u9ed8\u8ba4\u503c: <code>80<\/code><br>\u8303\u56f4: 0-100 at 1<br>\u6bd4\u5982: <code>--face-enhancer-blend 60<\/code><\/p>\n\n\n\n<p><strong>\uff082.6.5\uff09Face Swapper Model<\/strong><\/p>\n\n\n\n<p>\ud83d\udca1\u867d\u7136\u5f88\u591a\u9009\u62e9\uff0c\u4f46\u53ea\u80fd\u7528inswapper_128\uff0c\u81f3\u4e8efp16\u770b\u4e0d\u51fa\u4efb\u4f55\u533a\u522b\uff0c\u5e94\u8be5\u4f1a\u5feb\u4e00\u70b9\u70b9\u6216\u8005\u5360\u7528\u5c0f\u70b9\u3002<br>\u7528\u5176\u5b83\u6a21\u578b\u7684\u5bf9\u6bd4\u8bf7\u89c1\u8fd9\u91cc\uff0c\u6548\u679c\u786e\u5b9e\u4e0d\u80fd\u8ba9\u4eba\u6ee1\u610f\u3002<\/p>\n\n\n\n<p>\u9009\u62e9\u4ea4\u6362\u6a21\u578b\u3002<br>\u7528\u6cd5: &#8211;face-swapper-model<br>\u9ed8\u8ba4\u503c: inswapper_128_fp16<br>\u53ef\u9009: blendswap_256, inswapper_128, inswapper_128_fp16, simswap_256, simswap_512_unofficial, uniface_256<br>\u6bd4\u5982: &#8211;face-swapper-model simswap_256<\/p>\n\n\n\n<p>PS\uff1a\u6b63\u786e\u7684\u987a\u5e8f\u662f\u5148\u4ea4\u6362\uff0c\u518d\u589e\u5f3a\u3002<br>\u4f46\u6211\u9047\u5230\u8fc7bug\uff0c\u770b\u65e5\u5fd7\u53d8\u6210\u4e86\u5148\u589e\u5f3a\u518d\u4ea4\u6362\uff0c\u8fd9\u6837\u6700\u540e\u7ed3\u679c\u5c31\u662f\u6ca1\u6709\u589e\u5f3a\uff0c\u5206\u8fa8\u7387\u5f88\u4f4e\u3002<\/p>\n\n\n\n<p><strong>\uff082.6.6\uff09Frame Enhancer Model<\/strong><\/p>\n\n\n\n<p>\ud83d\udca1\u6162\u6b7b\u4e86\u4e0d\u5f00\u3002<\/p>\n\n\n\n<p>\u9009\u62e9\u6574\u4e2a\u89c6\u9891\u5e27\u7684\u8d85\u5206\u8fa8\u7387\u6a21\u578b\uff08\u548c\u524d\u9762\u7528\u8bcd\u4e0d\u540c\u65b9\u4fbf\u533a\u522b\uff09\u3002<br>\u7528\u6cd5: &#8211;frame-enhancer-model<br>\u9ed8\u8ba4\u503c: real_esrgan_x2plus<br>\u53ef\u9009: real_esrgan_x2plus, real_esrgan_x4plus, real_esrnet_x4plus<br>\u6bd4\u5982: &#8211;frame-enhancer-model real_esrnet_x4plus<\/p>\n\n\n\n<p><strong>\uff082.6.7\uff09Frame Enhancer Blend<\/strong><\/p>\n\n\n\n<p>\u8bbe\u7f6e\u5e27\u8d85\u5206\u8fa8\u7387\u7684\u878d\u5408\u5ea6\u3002<br>\u7528\u6cd5: <code>--frame-enhancer-blend<\/code><br>\u9ed8\u8ba4\u503c: <code>80<\/code><br>\u8303\u56f4: 0-100 at 1<br>\u6bd4\u5982: <code>--frame-enhancer-blend 60<\/code><\/p>\n\n\n\n<p><strong>\uff082.6.8\uff09Lip Syncer Model<\/strong><\/p>\n\n\n\n<p>\u9009\u62e9\u9525\u578b\u540c\u6b65\u6a21\u578b\u3002\u8fd9\u4e5f\u6ca1\u5f97\u9009\u554a\uff1a\uff09<br>\u7528\u6cd5: &#8211;lip-syncer-model<br>\u9ed8\u8ba4\u503c: wave2lip_gan<br>\u53ef\u9009: wave2lip_gan \uff08\u5c31\u5b83\u4e00\u4e2a\u554a\uff09<br>\u6bd4\u5982: &#8211;lip-syncer-model wave2lip_gan<\/p>\n\n\n\n<p><strong>\uff082.7\uff09\u8f93\u51fa\u53c2\u6570<\/strong><\/p>\n\n\n\n<p>\u4e0d\u60f3\u5199\u8be6\u7ec6\u4e86\u3002<br>\u53ef\u4ee5\u4e0d\u7528\u7ba1\uff0c\u7528\u9ed8\u8ba4\u7684\u5c31OK\u3002<br>\u5206\u8fa8\u7387\u5e27\u7387\u8fd9\u4e9b\u4e5f\u4f1a\u968f\u7740dst\u81ea\u52a8\u6539\u53d8\u3002<\/p>\n\n\n\n<p>PS\uff1a\u6211\u8bbe\u7f6e\u89c6\u9891\u7f16\u7801\u4e3a<code>hevc_nven<\/code>\uff0c\u5b9e\u9645\u51fa\u6765\u5e76\u4e0d\u662fh265\uff0c\u4f9d\u7136\u662fh264\u2026\u2026\u5947\u602a\u3002<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"648\" height=\"1004\" src=\"https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-123.png\" alt=\"\" class=\"wp-image-13728\" style=\"width:290px;height:auto\" srcset=\"https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-123.png 648w, https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-123-194x300.png 194w, https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-123-230x356.png 230w, https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-123-350x542.png 350w, https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-123-480x744.png 480w\" sizes=\"(max-width: 648px) 100vw, 648px\" \/><\/figure><\/div>\n\n\n<p><strong>\uff082.8\uff09\u5e27\u63d0\u53d6\u53c2\u6570<\/strong><\/p>\n\n\n\n<p>\u4e0d\u60f3\u5199\u8be6\u7ec6\u4e86\u3002<br>\u5c31\u662f\u4f60\u60f3\u9884\u89c8\u54ea\u4e00\u5e27\uff08\u9996\u5e27\u6ca1\u6709\u4eba\u53ef\u4ee5\u6539\u4e0b\uff09\u3002<\/p>\n\n\n\n<p>\u5e76\u4e14\u60f3\u5904\u7406\u4ece\u54ea\u5230\u54ea\u5e27\u3002<br>\u5982\u679c\u5904\u7406\u6574\u4e2a\u89c6\u9891\uff0c\u4fdd\u6301\u9ed8\u8ba4\u5c31\u597d\u3002<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"992\" height=\"812\" src=\"https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-124.png\" alt=\"\" class=\"wp-image-13729\" style=\"width:310px;height:auto\" srcset=\"https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-124.png 992w, https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-124-300x246.png 300w, https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-124-768x629.png 768w, https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-124-830x679.png 830w, https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-124-230x188.png 230w, https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-124-350x286.png 350w, https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-124-480x393.png 480w\" sizes=\"(max-width: 992px) 100vw, 992px\" \/><\/figure><\/div>\n\n\n<p><strong>\uff082.9\uff09\u9762\u90e8\u5206\u6790\u53c2\u6570<\/strong><\/p>\n\n\n\n<p>\u548b\u4e00\u770b\u5f88\u591a\u8bbe\u7f6e\u3002<br>\u5176\u5b9e\u5927\u90e8\u5206\u90fd\u4e0d\u7528\u6539\uff0c\u6307\u5b9a\u4eba\u4e86\uff0c\u5c31\u4e0d\u7ba1\u5de6\u53f3\u987a\u5e8f\uff0c\u5e74\u9f84\uff0c\u6027\u522b\u2026\u2026<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"894\" height=\"1024\" src=\"https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-125-894x1024.png\" alt=\"\" class=\"wp-image-13730\" style=\"width:348px;height:auto\" srcset=\"https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-125-894x1024.png 894w, https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-125-262x300.png 262w, https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-125-768x880.png 768w, https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-125-830x951.png 830w, https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-125-230x263.png 230w, https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-125-350x401.png 350w, https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-125-480x550.png 480w, https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-125.png 976w\" sizes=\"(max-width: 894px) 100vw, 894px\" \/><\/figure><\/div>\n\n\n<p><br><strong>\uff082.9.1\uff09Face Selector Mode<\/strong><\/p>\n\n\n\n<p>\u5176\u5b9e\u90fd\u4e0d\u7528\u6539\uff0c\u9ed8\u8ba4\u5c31\u8bbe\u4e3a<code>reference<\/code>\uff08\u53c2\u8003\uff09\uff0c<br>\u7136\u540e\u4ece\u9884\u89c8\u5e27\u4e2d\u63d0\u53d6\u7684\u4eba\u91cc\u9762\u9009\u4e00\u4e2a\u5c31\u53ef\u4ee5\u4e86\u3002<br>\u9664\u4e86\u3010\u53c2\u8003\u3011\u65b9\u5f0f\uff0c\u5176\u5b83\u9009\u9879\u8fd8\u6709\u30101\u4e2a\u3011\uff0c\u3010\u591a\u4e2a\u3011\u3002\u6211\u4e0d\u77e5\u9053\u8be5\u600e\u4e48\u7528\u4e5f\u6ca1\u7528\u8fc7\u3002<\/p>\n\n\n\n<p><strong>\uff082.9.2\uff09Face Mask Types<\/strong><\/p>\n\n\n\n<p>\u9ed8\u8ba4<code>box<\/code>\uff0c\u5982\u679c\u6709\u906e\u6321\u60c5\u51b5\uff0c\u5c31\u8ffd\u52a0\u52fe\u9009<code>occlusion<\/code>\u3002<\/p>\n\n\n\n<p><strong>\uff082.9.3\uff09Face Detector<\/strong><\/p>\n\n\n\n<p>\u9ed8\u8ba4<code>yoloface<\/code>\uff0c\u4e5f\u53ef\u4ee5\u9009<code>retinaface<\/code>\u3002<br>\u5177\u4f53\u6709\u4ec0\u4e48\u533a\u522b\u5462\uff0c\u501f\u7528Rope\u4f5c\u8005\u7684\u8bdd\uff0c\u6ca1\u5565\u5927\u533a\u522b\uff0c\u53ea\u6709\u6781\u7aef\u89d2\u5ea6\u4e0b\u4f1a\u6709\u4e0d\u540c\u3002<br>\u6700\u540e\u90a3\u4e2a<code>yunet<\/code>\u7a0d\u5fae\u5f31\u4e00\u70b9\uff0c\u4e0d\u5efa\u8bae\u9009\u3002<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"990\" height=\"408\" src=\"https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-126.png\" alt=\"\" class=\"wp-image-13731\" style=\"width:528px;height:auto\" srcset=\"https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-126.png 990w, https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-126-300x124.png 300w, https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-126-768x317.png 768w, https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-126-830x342.png 830w, https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-126-230x95.png 230w, https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-126-350x144.png 350w, https:\/\/92it.top\/wp-content\/uploads\/2024\/02\/image-126-480x198.png 480w\" sizes=\"(max-width: 990px) 100vw, 990px\" \/><\/figure><\/div>\n\n\n<p>\ud83d\udca1\ud83d\udca1\ud83d\udca1\ud83d\udca1\ud83d\udca1\ud83d\udca1<br>\u795e\u5947\u7684\u65f6\u523b\u5230\u4e86\uff01\uff01\uff01<br>\u867d\u7136FaceFusion\u6ca1\u6709Rope\u7684\u5206\u6bb5\u89d2\u5ea6\u8bbe\u7f6e\uff0c\u68c0\u6d4b\u7b97\u6cd5\u4e5f\u4e00\u6837\u3002<br>\u4f46\u662f\u9664\u4e86\u5927\u5934\u671d\u4e0b\u8fd9\u79cd\u5947\u8469\u89d2\u5ea6\uff0c\u5176\u5b83\u89d2\u5ea6\u5b83\u7684\u68c0\u6d4b\u90fd\u662f\u6b63\u786e\u7684\uff01\uff01\uff01<br>\ud83d\udca1\ud83d\udca1\ud83d\udca1\ud83d\udca1\ud83d\udca1\ud83d\udca1<\/p>\n\n\n\n<p>PS\uff1a\u610f\u601d\u662f\u7edd\u5927\u90e8\u5206\u60c5\u51b5\u4e0b\uff0c\u6211\u4eec\u4e0d\u7528\u64cd\u5fc3\u89d2\u5ea6\u4e86\uff0c\u7ba1\u4ed6\u7ad9\u7740\u8eba\u7740\u5462\u3002<\/p>\n\n\n\n<p><strong>\uff08\u4e09\uff09\u603b\u7ed3<\/strong><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>\u5373\u4f7f\u4e0a\u9762\u6709\u90a3\u4e48\u591a\u53c2\u6570\uff08\u6211\u5077\u61d2\u4e86\u6ca1\u6709\u5168\u90e8\u5217\u51fa\u6765\uff09\uff0c\u4f46\u548cRope\u76f8\u6bd4\u8fd8\u662f\u7f3a\u5c11\u4e00\u4e9b\u63a7\u5236\u3002<br>\u540c\u65f6\u53c8\u5177\u6709Rope\u4e0d\u5177\u5907\u7684\u7279\u6027\u3002<br>\u4e24\u4e2a\u9879\u76ee\u7684\u76ee\u6807\u660e\u663e\u4e0d\u4e00\u6837\uff0c\u5404\u5177\u7279\u8272\u3002<\/p>\n\n\n\n<p>\u5efa\u8bae\u4eb2\u81ea\u4f7f\u7528\u548c\u5bf9\u6bd4FaceFusion \u548c Rope\u3002<br>\u719f\u6089\u4ee5\u540e\u518d\u8c03\u6574\u5404\u79cd\u53c2\u6570\u3002<\/p>\n\n\n\n<p>\u5173\u4e8e\u73af\u5883\u7684\u95ee\u9898\uff0c\u53ef\u4ee5\u770b\u6211\u5176\u5b83\u7684\u76f8\u5173\u6587\u7ae0\uff08\u5176\u5b9e\u6700\u597d\u662f\u627e\u522b\u4eba\u7684\u66f4\u52a0\u5b8c\u5584\u7684\u6559\u7a0b\uff0c\u89c6\u9891\u7b49\uff09\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u539f\u6587\u94fe\u63a5\uff1ahttps:\/\/blog.csdn.net\/ddrfan\/article\/details\/13622 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[48],"tags":[],"_links":{"self":[{"href":"https:\/\/92it.top\/index.php?rest_route=\/wp\/v2\/posts\/13718"}],"collection":[{"href":"https:\/\/92it.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/92it.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/92it.top\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/92it.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=13718"}],"version-history":[{"count":4,"href":"https:\/\/92it.top\/index.php?rest_route=\/wp\/v2\/posts\/13718\/revisions"}],"predecessor-version":[{"id":13733,"href":"https:\/\/92it.top\/index.php?rest_route=\/wp\/v2\/posts\/13718\/revisions\/13733"}],"wp:attachment":[{"href":"https:\/\/92it.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=13718"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/92it.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=13718"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/92it.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=13718"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}