FAQ Database Discussion Community


How can the auto-focus of camera be explained using pinhole camera model?

camera,computer-vision,autofocus
Shifting the auto-focus in real-world camera doesn't change the focal length, rotation, or any other camera parameter in pinhole camera model. However, it does shift the image plane and affect the depth of field. How is this possible? I understand that complex mechanism of real-world camera cannot be easily explained...

Angular Routes / input autofocus

javascript,angularjs,input,routes,autofocus
I'm using angular route. Each page(route) has an input field. I have successfully used the attribute autofocus on the first page. When I navigate to the other pages, the input does not autofocus. Returning to the first page does not autofocus the input again. I understand now why it doesn't...

Input Autofocus on type

javascript,jquery,html5,input,autofocus
Good Evening and thanks all in advance! i have this input: <div class="ref-control"> <h3>Por Favor passe o passe o cartão pelo leitor</h3> <form> <label for="leitura-nim"> Leitura de Nim <input tabindex="99" autofocus type="text" name="leitura-nim" id="leitura_nim" /> </label> </form> </div> and this input get's autofocus when the page is loaded, so far...

Autofocus on iOS automatically displays picker

javascript,ios,picker,autofocus,wcag
I'm working on a web app that features a number of regions that are dynamically shown and hidden throughout use of the application. As the application is striving for WCAG Compliance, I have logic in place that causes the first selectable input of any region that is activated receive focus...