Remove pointer arithmetic
From cppcoreguidelines:
Pointer arithmetic is fragile and easy to get wrong, the source of many, many bad bugs and security violations. span is a bounds-checked, safe type for accessing arrays of data. Access into an array with known bounds using a constant as a subscript can be validated by the compiler.
Example: recognition::customBgr2Gray