How to find if numpy array contains vector along 3rd dimension?

前端 未结 0 1715
一整个雨季
一整个雨季 2021-02-13 03:35

I want to find if a 3D numpy array contains a specific 1D vector along the 3rd dimension. (I need to check if an image contains pixel(s) of a specific color.)

I\'ve tried

相关标签:
回答
  • 消灭零回复
提交回复
热议问题