imagecapture – 支持“并行捕获”接口

在这些板上可用
  • ATMegaZero ESP32-S2
  • Adafruit Feather RP2040
  • Adafruit FunHouse
  • Adafruit Grand Central M4 Express
  • Adafruit ItsyBitsy RP2040
  • Adafruit Macropad RP2040
  • Adafruit MagTag
  • Adafruit Metro ESP32S2
  • Adafruit QT Py RP2040
  • Adafruit QT2040 Trinkey
  • Arduino Nano RP2040 Connect
  • Artisense Reference Design RD00
  • BastWiFi
  • Challenger RP2040 WiFi
  • CrumpS2
  • Cytron Maker Pi RP2040
  • ESP 12k NodeMCU
  • EncoderPad RP2040
  • Feather ESP32S2 without PSRAM
  • FeatherS2
  • FeatherS2 Neo
  • FeatherS2 PreRelease
  • Franzininho WIFI w/Wroom
  • Franzininho WIFI w/Wrover
  • Gravitech Cucumber M
  • Gravitech Cucumber MS
  • Gravitech Cucumber R
  • Gravitech Cucumber RS
  • HMI-DevKit-1.1
  • Kaluga 1
  • LILYGO TTGO T8 ESP32-S2 w/Display
  • MORPHEANS MorphESP-240
  • Melopero Shake RP2040
  • Oak Dev Tech BREAD2040
  • Oak Dev Tech PixelWing ESP32S2
  • Pimoroni Interstate 75
  • Pimoroni Keybow 2040
  • Pimoroni PGA2040
  • Pimoroni Pico LiPo (16MB)
  • Pimoroni Pico LiPo (4MB)
  • Pimoroni PicoSystem
  • Pimoroni Plasma 2040
  • Pimoroni Tiny 2040
  • PyKey60
  • Raspberry Pi Pico
  • S2Mini
  • Saola 1 w/Wroom
  • Saola 1 w/Wrover
  • SparkFun MicroMod RP2040 Processor
  • SparkFun Pro Micro RP2040
  • SparkFun Thing Plus - RP2040
  • Targett Module Clip w/Wroom
  • Targett Module Clip w/Wrover
  • TinyS2
  • microS2
  • nanoESP32-S2 w/Wrover
  • nanoESP32-S2 w/Wroom

class imagecapture.ParallelImageCapture(*, data_pins: List[microcontroller.Pin], clock: microcontroller.Pin, vsync: Optional[microcontroller.Pin], href: Optional[microcontroller.Pin])

从具有并行数据接口的相机捕获图像帧

创建并行图像捕获对象

参数
capture(self, buffer: _typing.WriteableBuffer, width: int, height: int, bpp: int = 16)None

将单帧捕获到给定的缓冲区中

deinit(self)None

取消初始化此实例

__enter__(self)ParallelImageCapture

上下文管理器中使用的无操作。

__exit__(self)None

在上下文退出时自动取消初始化硬件。有关更多信息,请参阅 Lifetime 和 ContextManagers