Python is very popular in this uneven world. Here I would like to present some useful tips and resultful methods I have learned from this (May 18th, 2020) busy afternoon.
Python is a kind of Interpretive language (解释性语言), which mistreats the encoding and decoding in compiled form language as the same processing. It is an easy fore python to transplant to other platforms, and all we need to do is offer the corresponding interpreter.
The choices of training in coding with python are Sublime text, Pycharm; Xcode; Jupyter notebook, and MATLAB from my point of view.
MATLAB could efficiently employ python_modules for utilizing the processes as follows:
Download Anaconda-Navigator (python很有用的kits打包软件);
pyenv('path_of _anaconda');
module_func1 = py.importlib.import_module('func1');
Using py.cv2.module_func1
As for Sublime Text, you should define the system environment first: Tools-->Build System --> New Build environment -->
{
"cmd': ["python3", "-u", "$file"] #$file refers to current file
}
After cv2.imshow, the following codes should be added to guarantee a sufficient display time:
delay_time = -1
cv2.waitKey(delay_t