| 12 | constexpr double kJSONPrecision = 1000; |
| 13 | |
| 14 | static Valdi::Value toJSONValue(Scalar value) { |
| 15 | return Valdi::Value(round(static_cast<double>(value) * kJSONPrecision) / kJSONPrecision); |
| 16 | } |
| 17 | |
| 18 | Valdi::Value toJSONValue(const Rect& rect) { |
| 19 | return Valdi::Value() |