Camera image capture

Making progress, but two more questions,

  1. Is it essential that the dot pattern be printed exactly to scale?
    If so, what is the actual size X&Y ?

  2. When capturing image, what does nan mean? I have gotten three results, Image not found, 1280 x 720 score .46 not bad
    or image found “nan”
    Thanks’
    Fred