[ 
https://issues.apache.org/jira/browse/MINIFICPP-475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16453576#comment-16453576
 ] 

Iyán Méndez Veiga commented on MINIFICPP-475:
---------------------------------------------

Yes, some additional optional properties could be helpful. I would suggest to 
have a look at fswebcam:

[https://github.com/fsphil/fswebcam]

[https://man.cx/fswebcam%281%29]

Some properties that I used and are useful are:
 * resolution
 * palette
 * fps
 * frames
 * skip
 * delay

About frames and skip options, It would be useful to take some pictures and 
drop them before sending them to the next processor because some webcams need 
some shots to focus and calibrate brightness, color temperature, etc.

> Allow preferred image dimensions/mode to be set in GetUSBCamera properties
> --------------------------------------------------------------------------
>
>                 Key: MINIFICPP-475
>                 URL: https://issues.apache.org/jira/browse/MINIFICPP-475
>             Project: NiFi MiNiFi C++
>          Issue Type: Improvement
>            Reporter: Andrew Christianson
>            Assignee: Andrew Christianson
>            Priority: Major
>
> GetUSBCamera currently selects the highest-quality image format for a given 
> FPS. This optimizes for image quality, but can be suboptimal for performance 
> on embedded devices where users may need to have low FPS and low/small image 
> quality.
> Add additional optional properties to GetUSBCamera to allow specification of 
> preferred image dimensions/quality, and have this override automatic 
> selection if the properties are set.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to