feat: add camera module component (CSI, libcamera, photo + video) - #485
Open
sakshar2303 wants to merge 2 commits into
Open
feat: add camera module component (CSI, libcamera, photo + video)#485sakshar2303 wants to merge 2 commits into
sakshar2303 wants to merge 2 commits into
Conversation
Contributor
Author
|
I have implemented the camera module component in here , Here's what was done:
Please review and merge . |
This was referenced Apr 11, 2026
Open
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes #371
What's Added
Helper Class
CameraHelper.javainpi4micronaut-utils/src/main/java/com/opensourcewithslu/inputdevices/libcamera-stillandlibcamera-vidvia JavaProcessBuilderinitialize(),capturePhoto(),startVideoCapture(),stopVideoCapture(),setResolution(),setFrameRate(),cleanup()Controller Class
CameraController.javaincomponents/src/main/java/com/opensourcewithslu/components/controllers//camera/capture,/camera/startVideo,/camera/stopVideo,/camera/setResolution,/camera/setFrameRate,/camera/statusConfiguration
camera:block toapplication.ymlwithresolutionandframe-ratesettingsTests
CameraHelperTest.javainpi4micronaut-utils/src/test/java/com/opensourcewithslu/inputdevices/error paths, edge cases and state validation
Documentation
camera.adocinpi4micronaut-utils/src/docs/asciidoc/components/inputComponents/schematic diagrams, YAML config, API usage examples, troubleshooting
guide and dynamically linked example controller