Questions tagged [autofocus]

456 questions
0
votes
1 answer

How to keep focus of android camera2?

I am trying to take 6 photos by rotating my phone for each 60 degree using camera2 api. First time I need to take first photo using autofocus when focus area is the center of my screen. And I have to keep this focus for the next 5 photos, it should…
mudin
  • 2,672
  • 2
  • 17
  • 45
0
votes
0 answers

onload input focus error Cannot find component for expression "input1" referenced from "j_idt12"

the follow code is on a JSF header.xhtml template. the page that loads is home.xhtml which has the header.xhtml template reference from the main template and is included using ui:composition template="header.xhtml" note: the home.xhtml has no code…
user5758156
0
votes
1 answer

the position of image plane in optical imaging

In the book Learning OpenCV, there is one figure that show the image plane always is focal image. The description of the figure from the book is as follow. We begin by looking at the simplest model of a camera, the pinhole camera model. In this…
Jogging Song
  • 573
  • 6
  • 28
0
votes
2 answers

Android AutoFocus and Image preview size

I am using these two sources to make a QR code scanner QR scanner android app Fix the autofocus issue I tried to fix the auto focus problem, but I am getting an error that says Cannot resolve symbol 'Field' Also, I tried to work around the…
AAA
  • 47
  • 2
  • 12
0
votes
1 answer

Can't Focused Textbox JQuery

i don't get any error message in my console, but .focus() function in JQuery isn't work. i'm used 2 function that is .focus and .val('')... .val('') is working fine, but .focus() isn't work here's my HTML code : $('.sukses').show(function(){ …
0
votes
1 answer

How to implement autofocus attribute feature for multiple tab views in a single html page?

Currently, am working on a web project whose sample is hosted in : https://meet-up-db14d.firebaseapp.com/ what I want to implement is to use autofocus attribute feature in both tabs having forms. whenever I switch tabs the cursor should be…
0
votes
1 answer

Set autofocus to an input in html?

I have some html code and I've heard that autofocus will speed up search results etc. How can I do that with existing code? I have been looking on other threads etc how to do this and I have tried to understand but I can't if someone could help me…
Elliot S
  • 41
  • 7
0
votes
1 answer

Losing screen object auto-focus

I have a GridView displaying buttons to different screens of my app. When this grid screen, the first cell is selected. Is there a way to programmatically have no cells selected when the screen launches? Or do I have to hide the selector?
Andrew
  • 20,756
  • 32
  • 99
  • 177
0
votes
0 answers

How to do auto focus when user moves mobile in iOS?

What I was trying is when user moves I want to do auto focus ,Here I was created camera with , AVCaptureSession place because if I open camera through UIImagePickerController then auto focus is not possible so I preferred AVCaptureSession. …
Kishore Kumar
  • 4,265
  • 3
  • 26
  • 47
0
votes
0 answers

How to show Camera auto focus indicator(Frame) in android

I am making a custom camera using camera-api 2.Everything is working properly means i am able to capture picture,setting preview ect.But my problem is that its not dislaying auto-focus rectangular indicator that the native camera has.I want to…
Android dev
  • 273
  • 2
  • 5
  • 23
0
votes
2 answers

How to focus an input on subscriptionsReady using FlowRouter in Meteor

I'm currently getting used to using FlowRouter after a while using Iron Router and trying to set up some best practices. I'm subscribing to my collection at a template level. Previously I've waited for a template to render using onRendered and then…
André Goldstein
  • 367
  • 1
  • 3
  • 9
0
votes
2 answers

Autofocus only working on page refresh - No JS

I have a page with a basic form (only 1 input) and want to autofocus on that field. When the page loads it is not focused, but if I hit f5 to refresh it will focus. Not sure if this is related, but the form is in a table for css formatting I have…
Tunna182
  • 343
  • 3
  • 16
0
votes
1 answer

jQuery modal auto focus first form field

I'm having an issue here. When opening the modal on my site I want to focus on the first form field (within the modal). The site in question is: http://capscihealth.staging.wpengine.com/news-and-blog/ Click the 'Demo' button and it will open the…
DigitalSky
  • 131
  • 2
  • 2
  • 9
0
votes
1 answer

How to activate the auto focus in ZXing bar code scanning app

I am working on a barcode scanning app and it works well, but the user has to toutch the screen in order to force the camera to focus on the code, then the app can detect the code. The question is: How to activate the auto-focus? It's UWP…
Hatim
  • 1,516
  • 1
  • 18
  • 30
0
votes
2 answers

Android camera auto-focus stops working after some time

In my Android app, the focus mode is set to FOCUS_MODE_CONTINUOUS_PICTURE.. Here is some relevant code: private Camera.AutoFocusCallback _cbAutoFocus = new Camera.AutoFocusCallback() { private int _count = 0; @Override public void…
Peter
  • 11,260
  • 14
  • 78
  • 155