Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9181639
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T18:21:55+00:00 2026-06-17T18:21:55+00:00

I use UIImagePickerControllerSourceTypeCamera in iOS. My purpose before using the camera is to guide

  • 0

I use UIImagePickerControllerSourceTypeCamera in iOS. My purpose before using the camera is to guide the user to position the camera precisely in front of the image objects. I have a known target image (TI), a playing card, more specifically a 7 of Diamonds, and I need the 7 on the TI to be in the correct position in front of the camera. Is there a way to either superimpose on top of the screen the TI when the user is taking the picture, or to mask part of the screen so that only the place where the 7 appears will show the picture to be taken.

Once the camera is positioned correctly, I will ask the user to keep the camera still and position unknown cards in front of the camera without looking at the card.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T18:21:56+00:00Added an answer on June 17, 2026 at 6:21 pm

    The UIImagePickerController has an cameraOverlayView property to which you can assign an instance of a custom class. This class can draw the target area graphic that you need and it will appear on top of the camera image.

    If you need to check that the card is actually within that area, then you are in a computer vision zone and things become much more complicated. OpenCV is a typical starting point for making sense of what a camera is displaying.

    cameraOverlayView

    The custom view to display on top of the default image picker
    interface. @property (nonatomic, retain) UIView *cameraOverlayView
    Discussion

    You can use an overlay view to present a custom view hierarchy on top
    of the default image picker interface. The image picker layers your
    custom overlay view on top of the other image picker views and
    positions it relative to the screen coordinates. If you have the
    default camera controls set to be visible, incorporate transparency
    into your view, or position it to avoid obscuring the underlying
    content.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have used some code from Apple's 'Camera Programming Topics for iOS' guide as
I want to add one view on to the camera.I have use below code
i'm using UIImagePickerControllerSourceTypeCamera in my app, but a want to add the camera view
Scenario An app that captures an image from Front camera automatically after 3 sec
I have quick question. I am using the following code to launch camera and
I use the built-in camera of the Iphone in my apps dans I have
In my current application I have allowed the user to submit an image to
I am using the UIImagePickerController in order to let the user select an image
Use Case Show a photo uploaded by the user in a square box with
I am getting Received memory warning. Level = 1 when I use UIImagePickerControllerSourceTypeCamera .

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.