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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lightos - DONT MERGE #1

Open
wants to merge 31 commits into
base: main
Choose a base branch
from
Open

Lightos - DONT MERGE #1

wants to merge 31 commits into from

Conversation

lukin87
Copy link

@lukin87 lukin87 commented Nov 26, 2024

-- not to be merged in, we're importing this branch into LightOS --

Also note: In order to get this package importing properly with TS I had to remove /package/lib/* from .gitignore. These files are all autogenerated when build a release so can be ignored when code reviewing

This PR adds the ability to lock the focus and exposure to a point on the screen. Once locked, the camera can be moved around and the original exposure and focus will be maintained. This also maintains it for photo taking. Once unlocked the camera returns to normal functionality.

In the end, the real solution lay in an SO anwser with 0 upvotes. I only found it because I googled a setting that copilot had hallucinated.

I was in the middle of documenting some of the paths that I'd already investigated while trying to get this working and I've left some of that documentation in. I'm happy to pull it out and put it in an experimental branch if needed. I'd dug way too deep into RNVC, camerax and camera2 to get to this point so maybe these can serve as warning for future improvements.

Recording.2024-11-26.145640-focus-lock.mp4

@lukin87 lukin87 changed the title Lightos Lightos - DONT MERGE Nov 27, 2024
@good-idea
Copy link

Is it possible to do this without including lib in the repo? The diffs are going to be huge..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants