对于下面的代码,我想知道如何制作圆形内核,而不是矩形内核。我目前正在看一些循环的东西,我想找到它的BGR平均值。通过调整我的内核,我的数据会更准确。 for center in c_1:
b = img2[center[0]-4: center[0]+5, center[1]-4: center[1]+5, 0]
g = img2[center[0]-4: center[0]+
我有这种情况: Ubuntu 16.04; 当我拨打uname -a结果是Linux pi 4.1.19-v7+ #858 SMP Tue Mar 15 15:56:00 GMT 2016 armv7l GNU/Linux。 问题是,当我想要编译新的驱动程序,系统给我的错误: make[1]: *** /lib/modules/4.1.19-v7+/build: No such file or d