<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>touch-sp</author_name>
  <author_url>https://blog.hatena.ne.jp/touch-sp/</author_url>
  <blog_title>パソコン関連もろもろ</blog_title>
  <blog_url>https://touch-sp.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>はじめに以前複数の画像に対してまとめてControlNet用のPreprocessを行う方法を書きました。 touch-sp.hatenablog.com 今回は動画を対象としました。 さらにGIFでも出力できるようにしました。Pythonスクリプト import cv2 from PIL import Image import os from controlnet_aux.processor import Processor from argparse import ArgumentParser def controlnet_preprocess(video_file, processor_…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftouch-sp.hatenablog.com%2Fentry%2F2023%2F12%2F09%2F224530&quot; title=&quot;【controlnet_aux】動画に対してControlNet用のPreprocessを行う - パソコン関連もろもろ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn.image.st-hatena.com/image/square/adad63b72f1d6545b2ba2538c3fc2923b2fd5989/backend=imagemagick;height=80;version=1;width=80/https%3A%2F%2Fcdn.blog.st-hatena.com%2Fimages%2Fcircle%2Fofficial-circle-icon%2Fcomputers.gif</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-12-09 22:45:30</published>
  <title>【controlnet_aux】動画に対してControlNet用のPreprocessを行う</title>
  <type>rich</type>
  <url>https://touch-sp.hatenablog.com/entry/2023/12/09/224530</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
