Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android Exposure 馃挱 #2679

Closed
3 of 4 tasks
wuvinotre opened this issue Mar 22, 2024 · 0 comments
Closed
3 of 4 tasks

Android Exposure 馃挱 #2679

wuvinotre opened this issue Mar 22, 2024 · 0 comments
Labels
馃挱 question Further information is requested

Comments

@wuvinotre
Copy link

Question

I created a slider with dynamic values between -2 and 2 to see the best exposure values
On iOS it worked well, but on android there was no difference.

Are there any android-specific settings for the values of the exposure?

What I tried

this is my code

const [exposure, setExposure] = useState(0.1);

return (
   <View style={styles.containerCamera}>
        <Camera
          ref={camera}
          style={styles.camera}
          isActive={true}
          device={device}
          video={true}
          torch={"on"}
          format={format}
          exposure={exposure}
          zoom={zoom}
          focusable={true}
          photo={true}
          enableHighQualityPhotos={true}
          fps={30}
          pixelFormat="native"
        />
        <View style={styles.sliderContainer}>
          <Slider
            maximumValue={2}
            minimumValue={-2}
            value={exposure}
            onValueChange={setExposure}
            step={0.1}
          />
        </View>
   </View>
)

VisionCamera Version

3.8.2

Additional information

@wuvinotre wuvinotre added the 馃挱 question Further information is requested label Mar 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
馃挱 question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant