I need code written in Swift 3 that when given two UIImage's will identify the person in each image, zoom in/out to bring them to the correct scale, then combine the images so that they are side by side. See the attached image to see an example of the result. It should line up the head and body so that the left side matches the right side as close as possible. Detailed Requirements: 1) All code should be in Swift 3 2) All code should run on iOS and MacOS 3) Provide a script that runs on MacOS which loads two images from provided NSURL's and saves the image result to a provided NSURL. The function called for the script should be: func mergeImages(leftImageURL: NSURL, rightImageURL: NSURL, scaleLeftImage: Bool, resultImageURL: NSURL) 5) The method that does the actual merging should run on both iOS and MacOS and have the following method signature: func mergeImages(leftImage: UIImage, rightImage: UIImage, scaleLeftImage: Bool) -> UIImage 6) The input images may not have the person at the same scale. The code must zoom ONE of the images in/out as necessary to ensure the person in each of the images is scaled to the same size. 7) Which image to scale will be determined by the boolean argument |scaleLeftImage| provided to the function. 8) The images should be lined up so the top of the head is aligned (see the attached image for an example) 9) The body should be split vertically so half of the image is the first image provided, the other half is the second image provided (see the attached image for an example) 10) The person should be centered in the image and the image should be a square. All excess image data should be trimmed.
31 freelancers están ofertando el promedio de $2341 para este trabajo
Dear sir, i am interested for this project, i would like to start asap. Check our Official portfolio: [login to view URL] Looking for your earliest reply asap. Thanks