Skip to content

yizhi401/controlnet_aux

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ControlNet auxiliary models

This is a Pypi installable copied version of HED, MLSD and Human Pose auxiliary models: https://github.com/lllyasviel/ControlNet/tree/main/annotator

All credit goes to https://github.com/lllyasviel .

pip install controlnet-aux==0.0.2
from controlnet_aux import OpenposeDetector, MLSDdetector, HEDdetector, CannyDetector, MidasDetector

open_pose = OpenposeDetector.from_pretrained("lllyasviel/ControlNet")
mlsd = MLSDdetector.from_pretrained("lllyasviel/ControlNet")
hed = HEDdetector.from_pretrained("lllyasviel/ControlNet")
midas = MidasDetector.from_pretrained("lllyasviel/ControlNet")
canny = CannyDetector()

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%