Shop OBEX P1 Docs P2 Docs Learn Events
PropCAM Image Processing - Page 2 — Parallax Forums

PropCAM Image Processing

2»

Comments

  • idbruceidbruce Posts: 6,197
    edited 2014-08-28 05:41
    Phil

    Over the last couple of days, I have been pondering the combination of an old concept with a new concept, in which the PropCam might be an ideal solution to a problem. I am sure you have done a fair amount of experimenting with this cam and I am wondering if you will tell me what the absolute minimum distance is from lens to object and still achieve a clear focus.

    Bruce
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2014-08-28 12:28
    With the lens screwed almost all the way out, it can be in contact with the subject to get a focused image. Here's an image that was made with the lens about 1/8" from a 50-dollar bill, focused on Gen. Grant's eye:

    attachment.php?attachmentid=110702&d=1409254079

    -Phil
    767 x 518 - 62K
  • idbruceidbruce Posts: 6,197
    edited 2014-08-28 14:39
    Phil

    That is pretty impressive.

    Thanks for taking the time to check it out for me and providing an example.

    Bruce
  • idbruceidbruce Posts: 6,197
    edited 2014-09-04 09:40
    Phil

    I don't know if you caught my other thread, but I decided to hack a webcam instead, after being inspired by Grant's eye. Here are two examples of the results.

    I did not have a Grant handy, so Hamilton had to sit in for the photo session.

    Hamilton.jpg
    Pads.jpg
    320 x 240 - 14K
    320 x 240 - 17K
  • william chanwilliam chan Posts: 1,326
    edited 2014-09-07 00:36
    Hi Phil,

    How to estimate the brightness of a room?
    Is there a simple formula like

    Brightness = Avg_pix * (Exp/Gain)
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2014-09-07 08:16
    William,

    The forumla would be more like AvgPix / (Exp * Gain[g]), where g is the programmed gain value, and Gain is a lookup array containing the actual gains from the datasheet.

    -Phil
Sign In or Register to comment.