| 1 |
# SPDX-License-Identifier: GPL-2.0-or-later |
| 2 |
# |
| 3 |
# Copyright (C) 2024, Ideas on Board |
| 4 |
# |
| 5 |
# Lux module for tuning rkisp1 |
| 6 |
|
| 7 |
from .lux import Lux |
| 8 |
|
| 9 |
|
| 10 |
class LuxRkISP1(Lux): |
| 11 |
hr_name = 'Lux (RkISP1)' |
| 12 |
out_name = 'Lux' |
| 13 |
|
| 14 |
def __init__(self, **kwargs): |
| 15 |
super().__init__(**kwargs) |
| 16 |
|
| 17 |
# We don't need anything from the config file. |
| 18 |
def validate_config(self, config: dict) -> bool: |
| 19 |
return True |
| 20 |
|
| 21 |
def process(self, config: dict, images: list, outputs: dict) -> dict: |
| 22 |
return self.calculate_lux_reference_values(images) |