-
Notifications
You must be signed in to change notification settings - Fork 1
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
overlapping role of camera constructor and 'open!' #7
Comments
The camera constructor should give you an object (a value) that you can then call |
Thank you for your suggestion. Then I can summarize the roles of each step in the following way:
Some configurations must be determined in the initialization. Now it looks clear to me. I will close the issue if you agree with my summary. |
I would actually say that construction/struct initialization will yield some level of configuration (e.g. the device ID/address), opening will put the camera in an open state that allows for further configuration, e.g. setting exposure time. Feel free to close this issue. |
Hi, I faced some problem while distinguishing the role of camera constructor and
open!
function. For the best of my knowledge, the lifecycle of the camera is as follows:open camera ---> (some setting such as roi, exposure...) ---> start camera ---> take images ---> stop camera ---> close camera
According to the logic, the initialization and opening camera are coupled so that camera constructor and
open!
function cannot be decoupled logically to me. Could you give an opinion to handle this issue?The text was updated successfully, but these errors were encountered: