PS5520 5MP HDR Camera ====================== The PS5520 is a 5MP HDR sensor with PixArt's FinePixel and HDR pipelines, designed for scenes with challenging dynamic range. .. image:: ../ps5520-hero.jpg :alt: PS5520 5MP HDR Camera :width: 400px :align: center For full datasheet, photos, and ordering see the `PS5520 5MP HDR Camera product page `_. .. note:: Supported on the OpenMV N6 only. Highlights ---------- * 5MP (2592x1944) at 30 FPS in HDR mode * Single-shot HDR with 85 dB dynamic range, 39 dB SNR Usage ----- On the N6 the frame rate is set by the MJPEG VENC encoder. Stream a 30 FPS HDR color video at 1280x720 (HD) in RGB565:: import csi import time csi0 = csi.CSI() csi0.reset() csi0.pixformat(csi.RGB565) csi0.framesize(csi.HD) clock = time.clock() while True: clock.tick() img = csi0.snapshot() print(clock.fps()) Stream a 15 FPS HDR color video at 1920x1080 (FHD) in RGB565:: import csi import time csi0 = csi.CSI() csi0.reset() csi0.pixformat(csi.RGB565) csi0.framesize(csi.FHD) clock = time.clock() while True: clock.tick() img = csi0.snapshot() print(clock.fps()) Stream a 5 FPS HDR color video at full 5MP — 2592x1944 (WQXGA2) — in RGB565:: import csi import time csi0 = csi.CSI() csi0.reset() csi0.pixformat(csi.RGB565) csi0.framesize(csi.WQXGA2) clock = time.clock() while True: clock.tick() img = csi0.snapshot() print(clock.fps())