中文版本 The JavaScript function of Snap! is simple, flexible, and powerful. I want to emulate it to build a Python function. Preface Usage scenarios With the Python function, we can: Use the vast number of third-party libraries in the Python ecosystem(opencv-python, numpy…) Use various algorithms that have been implemented by the Python community(such as TheAlgorithms) We can both access the vast