p1atdev / MangaLineExtraction-hf

huggingface.co
Total runs: 103
24-hour runs: 0
7-day runs: -42
30-day runs: 4
Model's Last Updated: April 11 2024
image-to-image

Introduction of MangaLineExtraction-hf

Model Details of MangaLineExtraction-hf

MangaLineExtraction-hf

The huggingface transformers compatible version of MangaLineExtraction_PyTorch .

Original repo: https://github.com/ljsabc/MangaLineExtraction_PyTorch

Example
from PIL import Image
import torch

from transformers import AutoModel, AutoImageProcessor

REPO_NAME = "p1atdev/MangaLineExtraction-hf"

model = AutoModel.from_pretrained(REPO_NAME, trust_remote_code=True)
processor = AutoImageProcessor.from_pretrained(REPO_NAME, trust_remote_code=True)

image = Image.open("./sample.jpg")

inputs = processor(image, return_tensors="pt")

with torch.no_grad():
    outputs = model(inputs.pixel_values)

line_image = Image.fromarray(outputs.pixel_values[0].numpy().astype("uint8"), mode="L")
line_image.save("./line_image.png")

or you can use the pipeline

from transformers import pipeline

pipe = pipeline("image-to-image", model="p1atdev/MangaLineExtraction-hf", trust_remote_code=True)
pipe("sample.jpg")
sample.jpg Generated line image
Source image Generated line image
Model Details
Model Description

This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.

  • Developed by: Chengze Li, Xueting Liu, Tien-Tsin Wong
  • Converted by: Plat
  • License: MIT
Model Sources
Citation

BibTeX:

@article{li-2017-deep,
    author   = {Chengze Li and Xueting Liu and Tien-Tsin Wong},
    title    = {Deep Extraction of Manga Structural Lines},
    journal  = {ACM Transactions on Graphics (SIGGRAPH 2017 issue)},
    month    = {July},
    year     = {2017},
    volume   = {36},
    number   = {4},
    pages    = {117:1--117:12},
}

Runs of p1atdev MangaLineExtraction-hf on huggingface.co

103
Total runs
0
24-hour runs
-44
3-day runs
-42
7-day runs
4
30-day runs

More Information About MangaLineExtraction-hf huggingface.co Model

More MangaLineExtraction-hf license Visit here:

https://choosealicense.com/licenses/mit

MangaLineExtraction-hf huggingface.co

MangaLineExtraction-hf huggingface.co is an AI model on huggingface.co that provides MangaLineExtraction-hf's model effect (), which can be used instantly with this p1atdev MangaLineExtraction-hf model. huggingface.co supports a free trial of the MangaLineExtraction-hf model, and also provides paid use of the MangaLineExtraction-hf. Support call MangaLineExtraction-hf model through api, including Node.js, Python, http.

MangaLineExtraction-hf huggingface.co Url

https://huggingface.co/p1atdev/MangaLineExtraction-hf

p1atdev MangaLineExtraction-hf online free

MangaLineExtraction-hf huggingface.co is an online trial and call api platform, which integrates MangaLineExtraction-hf's modeling effects, including api services, and provides a free online trial of MangaLineExtraction-hf, you can try MangaLineExtraction-hf online for free by clicking the link below.

p1atdev MangaLineExtraction-hf online free url in huggingface.co:

https://huggingface.co/p1atdev/MangaLineExtraction-hf

MangaLineExtraction-hf install

MangaLineExtraction-hf is an open source model from GitHub that offers a free installation service, and any user can find MangaLineExtraction-hf on GitHub to install. At the same time, huggingface.co provides the effect of MangaLineExtraction-hf install, users can directly use MangaLineExtraction-hf installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

MangaLineExtraction-hf install url in huggingface.co:

https://huggingface.co/p1atdev/MangaLineExtraction-hf

Url of MangaLineExtraction-hf

MangaLineExtraction-hf huggingface.co Url

Provider of MangaLineExtraction-hf huggingface.co

p1atdev
ORGANIZATIONS

Other API from p1atdev

huggingface.co

Total runs: 9.7K
Run Growth: 8.4K
Growth Rate: 87.11%
Updated:February 28 2023
huggingface.co

Total runs: 1.2K
Run Growth: -824
Growth Rate: -67.99%
Updated:May 12 2024
huggingface.co

Total runs: 985
Run Growth: -101
Growth Rate: -10.25%
Updated:March 11 2024
huggingface.co

Total runs: 47
Run Growth: 2
Growth Rate: 4.26%
Updated:June 21 2023
huggingface.co

Total runs: 35
Run Growth: 4
Growth Rate: 11.43%
Updated:May 10 2023
huggingface.co

Total runs: 22
Run Growth: -12
Growth Rate: -54.55%
Updated:March 11 2024
huggingface.co

Total runs: 14
Run Growth: 8
Growth Rate: 57.14%
Updated:May 20 2023
huggingface.co

Total runs: 7
Run Growth: 6
Growth Rate: 85.71%
Updated:July 06 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:May 15 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:February 16 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:March 02 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:March 01 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:July 23 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:March 28 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:July 01 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:April 04 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:April 04 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:March 23 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:January 21 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:February 15 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:January 25 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:July 09 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:January 20 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:May 27 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:February 15 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:April 03 2023