Android Question picture (dot) detection like face detection

Discussion in 'Android Questions' started by Sia, Jan 21, 2015.

  1. Sia

    Sia Member Licensed User

    Hi,
    how can detect a little dot on page like A3 Paper ?
    i want make picture from a paper and i want when camera see or detect this 4 dot warn me camera ready to make picture ( like face detection )
    please see this picture
    Untitled-1.jpg
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    You will need to take the preview image and search for this dot.

    You can use Bitmap.GetPixel to get the color of each pixel.

    A more efficient process would be to go over the raw bytes. However you will need to first understand the format (YUV if I remember correctly).
     
  3. Sia

    Sia Member Licensed User

    Hi,
    thanks Erel , can you give me more information or link about it ?
    did you means i have to make picture in every second and process it ?
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    Check the CCTV example. It handles the preview images.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice