请教黑标识别的方法和原理,(比如说福彩、体彩小票上的黑标)

解决方案 »

  1.   

    COLORREF GetPixel(
      HDC hdc,    // handle to DC
      int nXPos,  // x-coordinate of pixel
      int nYPos   // y-coordinate of pixel
    );
    Get color of some pixels, check if they are black/white
      

  2.   

    COLORREF GetPixel(
      HDC hdc,    // handle to DC
      int nXPos,  // x-coordinate of pixel
      int nYPos   // y-coordinate of pixel
    );
    Get color of some pixels, check if they are black/white
      

  3.   

    你是要在binary image里找出这些块呢,还是要匹配
      

  4.   

    当然是在binary image里找出这些块