Adding python codes to samples/python#14107
Conversation
|
This patch should go into 3.4 branch first. We will merge changes from 3.4 into master regularly (weekly/bi-weekly). So, please:
Note: no needs to re-open PR, apply changes "inplace". |
- laplace.py - drawing.py
|
@alalek I rebased the branch on top of 3.4 and squashed commits. |
|
👍 Tested on Ubuntu 16.04 with current 3.4 branch. |
alalek
left a comment
There was a problem hiding this comment.
Consider using Python samples template: https://github.com/opencv/opencv/wiki/Coding_Style_Guide#python-samples
|
@adityak2920 Thank you for your contribution. Please split your code into functions for each drawing functionality and it is better to have the main function reference to keep this sample aligned with the others. When you are done, please remove WIP status from the message, to make checks to complete. |
|
Looks good to me 👍 |
|
@alalek Please review this PR and check whether it can be merged or not. |
|
@alalek could you take a look and merge? |
Adding python codes to samples/python * Python version of samples: - laplace.py - drawing.py * Update drawing.py * Update drawing.py * Update drawing.py * Update laplace.py * Update laplace.py * Update drawing.py * Update drawing.py * Update laplace.py * samples * drawing * drawing * drawing.py
There are some files in samples/cpp whose python samples are not available. So, this PR is just adding "laplace.py" python code for laplace.cpp .
Added drawing.py to samples/python as it's code is not present