Камера IMX296 1,58 Мп с глобальным затвором
Введение
Sony IMX296 — КМОП-сенсор с глобальным затвором, разрешением 1,6 Мп и размером пикселя 3,4 × 3,4 мкм. Сенсор с глобальным затвором снимает весь кадр одновременно, а сенсор со скользящим затвором считывает изображение построчно. Поэтому при съёмке быстро движущихся объектов глобальный затвор не даёт искажений и смазывания.
Сенсор Sony IMX296 подходит для промышленных задач и машинного зрения: робототехники, контроля качества, видеонаблюдения, высокоскоростной съёмки. С ним можно использовать разные объективы, например с креплением C/CS, а в составе модуля камеры Arducam его можно встроить во встраиваемые системы и платформы.
Общие характеристики
| Сенсор | IMX296 |
|---|---|
| Разрешение | 1,58 Мп |
| Оптический формат | 1/2.9" (диагональ сенсора 6,3 мм) |
| Число эффективных пикселей | 1440 (Г) × 1080 (В) |
| Размер пикселя | 3,4 × 3,4 мкм |
| Интерфейс | MIPI CSI-2 |
| Тип затвора | Глобальный затвор |
| Цветной фильтр | Quad-Bayer RGB |
| Частота кадров | 1440 × 1080 при 60 к/с |
| Формат вывода | RAW10 |
Продукт
| Артикул | Разрешение | Сенсор | Интерфейс | Особенности | Фокусировка | Фокусное расстояние | Угол обзора (Д × Г × В) | Чувствительность к ИК |
|---|---|---|---|---|---|---|---|---|
| B0445 | 1,58 Мп | IMX296 | MIPI CSI-2 | Цветная, глобальный затвор | Ручная фокусировка | 6 мм | 55° × 45° × 33° | Встроенный ИК-фильтр |
Быстрый старт
Оборудование
Подключение оборудования к Raspberry Pi 4B / Pi Zero
Программное обеспечение
Поддерживаемые платформы и ОС
| Поддерживаемые платформы и ОС | |||
|---|---|---|---|
| Платформа | Bookworm (rpicam) | Bullseye (libcamera/rpicam) | Buster (raspistill) |
| Raspberry Pi 5 | √ | ||
| Raspberry Pi 4B / 3B+ / 3A+ / Zero / Zero 2 W | √ | √ | √ |
| Raspberry Pi CM3 / CM3+ / CM4 / CM5 (нужна дополнительная плата-адаптер) | √ | √ | √ |
Настройка системы
Bookworm и Pi 5
Если у вас Pi 5 с Bookworm, выполните:
sudo nano /boot/firmware/config.txt
#Find the line: camera_auto_detect=1, update it to:
camera_auto_detect=0
#Find the line: [all], add the following item under it:
dtoverlay=imx296
#Save and reboot.
Чтобы включить камеру на порту cam0 Pi 5, внесите такие изменения:
sudo nano /boot/firmware/config.txt
#Find the line: camera_auto_detect=1, update it to:
camera_auto_detect=0
#Find the line: [all], add the following item under it:
dtoverlay=imx296,cam0
#Save and reboot.
Bookworm/Bullseye и Pi 4
Если у вас Pi 4 с Bookworm или Bullseye, выполните:
Bookworm на Pi 4
sudo nano /boot/firmware/config.txt
#Find the line: camera_auto_detect=1, update it to:
camera_auto_detect=0
#Find the line: [all], add the following item under it:
dtoverlay=imx296
#Save and reboot.
Bullseye на Pi 4
sudo nano /boot/config.txt
#Find the line: camera_auto_detect=1, update it to:
camera_auto_detect=0
#Find the line: [all], add the following item under it:
dtoverlay=imx296
#Save and reboot.
Bookworm/Bullseye и Pi 0 — Pi 3
Если у вас Pi 0–3 с Bookworm или Bullseye, выполните:
Bookworm на Pi 0 — Pi 3
sudo nano /boot/firmware/config.txt
#Find the line: camera_auto_detect=1, update it to:
camera_auto_detect=0
#Find the line: [all], add the following item under it:
dtoverlay=imx296
#Save and reboot.
Bullseye на Pi 0 — Pi 3
sudo nano /boot/config.txt
#Find the line: camera_auto_detect=1, update it to:
camera_auto_detect=0
#Find the line: [all], add the following item under it:
dtoverlay=imx296
#Save and reboot.
Затем включите графическое ускорение Glamor: откройте терминал, выполните sudo raspi-config, перейдите в Advanced Options, включите Glamor graphic acceleration и перезагрузите Pi.
Open a terminal
Run sudo raspi-config
Navigate to Advanced Options
Enable Glamor graphic acceleration
Reboot your Pi
Если возникнут проблемы с изображением на экране, выполните ещё и эти шаги: откройте терминал, выполните sudo raspi-config, перейдите в Advanced Options → GL Driver, выберите GL (Full KMS) и перезагрузите Pi.
Open a terminal
Run sudo raspi-config
Navigate to Advanced Options
Navigate to GL Driver
Select GL (Full KMS)
Reboot your Pi
Raspberry Pi Compute Module 3/4
Для Raspberry Pi Compute Module 3/4:
Bookworm на CM3/4
sudo nano /boot/firmware/config.txt
#Find the line: camera_auto_detect=1, update it to:
camera_auto_detect=0
#Find the line: [all], add the following item under it:
dtoverlay=imx296
#Save and reboot.
Чтобы включить камеру на порту cam0 CM3/4, внесите такие изменения:
sudo nano /boot/firmware/config.txt
#Find the line: camera_auto_detect=1, update it to:
camera_auto_detect=0
#Find the line: [all], add the following item under it:
dtoverlay=imx296,cam0
#Save and reboot.
Bullseye на CM3/4
sudo nano /boot/config.txt
#Find the line: camera_auto_detect=1, update it to:
camera_auto_detect=0
#Find the line: [all], add the following item under it:
dtoverlay=imx296
#Save and reboot.
Чтобы включить камеру на порту cam0 CM3/4, внесите такие изменения:
sudo nano /boot/config.txt
#Find the line: camera_auto_detect=1, update it to:
camera_auto_detect=0
#Find the line: [all], add the following item under it:
dtoverlay=imx296,cam0
#Save and reboot.