gzr2017 / ImageProcessing100Wen

「画像処理100本ノック」中文版本!为图像处理初学者设计的 100 个问题。
https://github.com/yoyoyo-yo/Gasyori100knock
MIT License
3.59k stars 1.06k forks source link

修复了一个bug #16

Open Zpadger opened 4 years ago

Zpadger commented 4 years ago

Traceback (most recent call last): File "/home/zpj/PycharmProjects/ObjectDetection/Question_100/Q30_Afine3.py", line 52, in out = affine(img, a=np.cos(theta), b=-np.sin(theta), c=np.sin(theta), d=np.cos(theta), NameError: name 'img' is not defined