Hi I try to safe x, y, width and height values from a Objekt detection AI in a Array.
rectangle = CGRect(x: boundingBox.minX*image.size.width, y: (1-boundingBox.minY-boundingBox.height)*image.size.height, width: boundingBox.width*image.size.width, height: boundingBox.height*image.size.height)
var XPoitions: [Double] = Array()
XPoitions.append(rectangle.origin.x)
The Error say "No exact matches in call to instance method 'append'". And i am not sure how to fix it......