Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

Allow splitter component to process still images #184

Closed
techyian opened this issue Oct 7, 2020 · 2 comments
Closed

Allow splitter component to process still images #184

techyian opened this issue Oct 7, 2020 · 2 comments

Comments

@techyian
Copy link
Owner

techyian commented Oct 7, 2020

A new port needs creating which extends StillPort with a similar override to Configure so that a user can connect the splitter component to the camera's still port.

@techyian
Copy link
Owner Author

This appears to be working well, however if the user intends on outputting via image encoders then they must add a Resize/ISP component between the splitter output port and the image encoder input port. If the user doesn't do this, the splitter component only seems to allow 1 encoder component to be connected to any given splitter output port. Raw capture from the splitter works well too.

The default constructor for a splitter component will instantiate 4 SplitterVideoPort objects to be used for its output ports which are intended for video recording functionality. The user can override this when configuring the output port by using SplitterStillPort as a generic constraint.

@techyian
Copy link
Owner Author

I've added some documentation around this which should hopefully be clear on how to use the splitter component with the camera's still port.

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

No branches or pull requests

1 participant