oximedia-virtual 0.1.8

Virtual production and LED wall tools for OxiMedia
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Camera to LED color matching

use crate::Result;

/// Color matcher
pub struct ColorMatcher;

impl ColorMatcher {
    /// Create new color matcher
    pub fn new() -> Result<Self> {
        Ok(Self)
    }

    /// Process frame
    pub fn process(&mut self, frame: &[u8], _width: usize, _height: usize) -> Result<Vec<u8>> {
        Ok(frame.to_vec())
    }
}