Deep-Live-Cam
Deep-Live-Cam copied to clipboard
Per request - here's to main | Significantly improve video resolution/quality using ESPCN_x4 model
Hi Kenneth,
here's the changes to main.
The other PR I had (you merged to experimental) had some MacOS fixes - should I create another one for main too? (If I saw it right, you didn't merge the stuff that destroyed MacOS support to main, so should be fine... :))
Greets!
Summary by Sourcery
Add a super-resolution frame processor using the ESPCN_x4 model to improve video quality. Introduce new command-line options for configuring super-resolution and image scaling factors, and update the README to reflect these changes.
New Features:
- Introduce a new super-resolution frame processor using the ESPCN_x4 model to significantly enhance video resolution and quality.
Enhancements:
- Add new command-line arguments for setting the super-resolution scale factor, enhancer upscale factor, and source image scaling factor to provide more control over image processing.
Documentation:
- Update the README to include documentation for the new super-resolution frame processor and the additional command-line arguments.
Reviewer's Guide by Sourcery
This pull request introduces a new super-resolution feature to enhance video quality using the ESPCN_x4 model. It adds a new frame processor option, updates the command-line interface, and implements the super-resolution functionality.
Sequence diagram for super-resolution process
sequenceDiagram
participant User
participant CLI
participant SuperResolutionModel
participant FrameProcessor
User->>CLI: Provide input parameters
CLI->>SuperResolutionModel: Initialize model
SuperResolutionModel->>FrameProcessor: Process frames
FrameProcessor->>SuperResolutionModel: Apply super-resolution
SuperResolutionModel-->>FrameProcessor: Return enhanced frames
FrameProcessor-->>CLI: Output processed frames
CLI-->>User: Return enhanced video
File-Level Changes
| Change | Details | Files |
|---|---|---|
| Added super-resolution as a new frame processor option |
|
modules/core.pyREADME.md |
| Implemented super-resolution functionality |
|
modules/processors/frame/super_resolution.py |
| Added new global variables for super-resolution and image scaling |
|
modules/globals.pymodules/core.py |
| Improved image processing capabilities |
|
modules/processors/frame/super_resolution.py |
Tips and commands
Interacting with Sourcery
- Trigger a new review: Comment
@sourcery-ai reviewon the pull request. - Continue discussions: Reply directly to Sourcery's review comments.
- Generate a GitHub issue from a review comment: Ask Sourcery to create an issue from a review comment by replying to it.
- Generate a pull request title: Write
@sourcery-aianywhere in the pull request title to generate a title at any time. - Generate a pull request summary: Write
@sourcery-ai summaryanywhere in the pull request body to generate a PR summary at any time. You can also use this command to specify where the summary should be inserted.
Customizing Your Experience
Access your dashboard to:
- Enable or disable review features such as the Sourcery-generated pull request summary, the reviewer's guide, and others.
- Change the review language.
- Add, remove or edit custom review instructions.
- Adjust other review settings.
Getting Help
- Contact our support team for questions or feedback.
- Visit our documentation for detailed guides and information.
- Keep in touch with the Sourcery team by following us on X/Twitter, LinkedIn or GitHub.
I tried pulling this yesterday and got a ctypes error (ImportError: cannot import name 'windll' from 'ctypes'). I am running Linux (Ubuntu).
I tried pulling this yesterday and got a ctypes error (ImportError: cannot import name 'windll' from 'ctypes'). I am running Linux (Ubuntu).
You shouldn't be able to pull main than as well. That's an error in the repo, windll is only available on windows. I had it fixed before, I'll have a look sometime.
Thanks for the quck reply, I am happy to test it if you found anything!