我想知道是否有任何庫可以解碼QR碼位數組而不是圖像。 對於實例:C#QR位數組解碼
{
{1,1,1,1,1,1,1,0,0,0,1,0,1,0,1,1,1,1,1,1,1},
{1,0,0,0,0,0,1,0,1,0,1,0,1,0,1,0,0,0,0,0,1},
{1,0,1,1,1,0,1,0,1,0,1,1,0,0,1,0,1,1,1,0,1},
{1,0,1,1,1,0,1,0,0,0,0,0,1,0,1,0,1,1,1,0,1},
{1,0,1,1,1,0,1,0,1,1,1,1,1,0,1,0,1,1,1,0,1},
{1,0,0,0,0,0,1,0,1,1,1,0,0,0,1,0,0,0,0,0,1},
{1,1,1,1,1,1,1,0,1,0,1,0,1,0,1,1,1,1,1,1,1},
{0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0},
{1,1,0,1,0,0,1,1,0,0,1,1,1,0,1,1,1,0,1,1,0},
{1,1,1,1,1,1,0,0,1,0,0,1,0,1,0,1,0,1,1,1,1},
{0,1,1,0,0,0,1,1,0,1,1,1,0,0,1,1,1,1,1,0,1},
{1,0,0,1,1,0,0,0,0,0,1,0,1,1,1,1,1,0,0,1,1},
{0,1,1,0,1,1,1,1,0,0,1,1,0,1,1,1,0,0,1,0,0},
{0,0,0,0,0,0,0,0,1,1,0,0,0,1,1,0,1,0,1,0,0},
{1,1,1,1,1,1,1,0,1,1,0,1,1,0,1,0,1,1,0,1,0},
{1,0,0,0,0,0,1,0,0,1,1,0,0,0,1,0,0,0,1,1,1},
{1,0,1,1,1,0,1,0,0,0,0,0,1,1,1,0,0,0,1,1,1},
{1,0,1,1,1,0,1,0,1,0,0,0,0,1,1,1,0,0,0,1,1},
{1,0,1,1,1,0,1,0,0,1,1,1,0,1,1,1,0,1,1,0,1},
{1,0,0,0,0,0,1,0,1,0,1,1,1,0,0,1,0,1,0,0,0},
{1,1,1,1,1,1,1,0,1,0,1,0,0,1,0,1,0,0,1,1,0}
}
會變成「嗨」。
我不需要任何圖像功能。
檢查了這一點http://stackoverflow.com/questions/231741/qr-code-2d-barcode-coding-and-decoding-algorithms似乎 – Alex