Background
When using open-cv in Python, a lot of the base functions are "translated" into functions that return the result rather than the result being passed in/out via a parameter, i.e.
Most (but not all) translations have the destination being the same dimensions as the source, so in Nim the translating function for above would be like
Note: the dst parameter in Python is usually passed in as None, so it is removed in the Nim example I provided.
Proposal
Have a high-level library which is the "user-friendly" library that provides the ease of use and whose procs provide more readable python-like Nim code for the user.
Some questions regarding the high level library:
is it a three headed medusa or does it include highgui, core and imgproc all in one place?
does it export the three underlying libraries so users don't have to also include the low level libraries if the low-level types and procs are required?
use templates/macros which makes the library code less readable and documentation more difficult?
Background When using open-cv in Python, a lot of the base functions are "translated" into functions that return the result rather than the result being passed in/out via a parameter, i.e.
translates to
Most (but not all) translations have the destination being the same dimensions as the source, so in Nim the translating function for above would be like
Note: the dst parameter in Python is usually passed in as None, so it is removed in the Nim example I provided.
Proposal Have a high-level library which is the "user-friendly" library that provides the ease of use and whose procs provide more readable python-like Nim code for the user.
Some questions regarding the high level library: