1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 08:13:04 +04:00

Fixed cv::Mat type constants in ObjC and Swift.

This commit is contained in:
Alexander Smorkalov
2024-12-02 17:13:25 +03:00
parent 650f2c3da3
commit 0c4fd4f7ee
2 changed files with 8 additions and 2 deletions
@@ -53,7 +53,7 @@ public extension CvType {
static let CV_16FC4: Int32 = CV_16FC(4)
static let CV_CN_MAX = 512
static let CV_CN_SHIFT = 3
static let CV_CN_SHIFT = 5
static let CV_DEPTH_MAX = 1 << CV_CN_SHIFT
static func CV_8UC(_ channels:Int32) -> Int32 {