fofr/controlnet-preprocessors ✓🖼️ → 🖼️

▶️ 43.2K runs 📅 Nov 2023 ⚙️ Cog 0.8.6 🔗 GitHub ⚖️ License
controlnet-preprocessor depth-estimation pose-estimation

About

Canny, soft edge, depth, lineart, segmentation, pose, etc

Example Output

Output

Example outputExample outputExample outputExample outputExample outputExample outputExample outputExample outputExample outputExample outputExample outputExample outputExample output

Performance Metrics

16.50s Prediction Time
16.48s Total Time
All Input Parameters
{
  "hed": true,
  "sam": true,
  "mlsd": true,
  "pidi": true,
  "canny": true,
  "image": "https://replicate.delivery/pbxt/JrCCMJ7WAdjQSIkZUQrUkOmyDeFhkRkgQgH1S3QvryX8Iypg/IMG_7845.jpeg",
  "leres": true,
  "midas": true,
  "content": true,
  "lineart": true,
  "open_pose": true,
  "normal_bae": true,
  "face_detector": true,
  "lineart_anime": true
}
Input Parameters
hed Type: booleanDefault: true
Run HED detection
sam Type: booleanDefault: true
Run Sam detection
mlsd Type: booleanDefault: true
Run MLSD detection
pidi Type: booleanDefault: true
Run PidiNet detection
canny Type: booleanDefault: true
Run canny edge detection
image (required) Type: string
Image to preprocess
leres Type: booleanDefault: true
Run Leres detection
midas Type: booleanDefault: true
Run Midas detection
content Type: booleanDefault: true
Run content shuffle detection
lineart Type: booleanDefault: true
Run Lineart detection
open_pose Type: booleanDefault: true
Run Openpose detection
normal_bae Type: booleanDefault: true
Run NormalBae detection
face_detector Type: booleanDefault: true
Run face detection
lineart_anime Type: booleanDefault: true
Run LineartAnime detection
Output Schema

Output

Type: arrayItems Type: stringItems Format: uri

Example Execution Logs
Processing image with canny
Processing image with content
Processing image with face_detector
E0000 00:00:1699685889.055007     259 gl_context.cc:408] INTERNAL: ; RET_CHECK failure (mediapipe/gpu/gl_context_egl.cc:303) successeglMakeCurrent() returned error 0x3008;  (entering GL context)
E0000 00:00:1699685889.055045     259 gl_context.cc:408] INTERNAL: ; RET_CHECK failure (mediapipe/gpu/gl_context_egl.cc:303) successeglMakeCurrent() returned error 0x3008;  (entering GL context)
E0000 00:00:1699685889.055053     259 gl_context.cc:408] INTERNAL: ; RET_CHECK failure (mediapipe/gpu/gl_context_egl.cc:303) successeglMakeCurrent() returned error 0x3008;  (entering GL context)
Processing image with hed
Processing image with midas
Processing image with mlsd
Processing image with open_pose
Processing image with pidi
Processing image with normal_bae
Processing image with lineart
Processing image with lineart_anime
Processing image with sam
Processing image with leres
Version Details
Version ID
f6584ef76cf07a2014ffe1e9bdb1a5cfa714f031883ab43f8d4b05506625988e
Version Created
November 11, 2023
Run on Replicate →