我想知道是否有任何库可以解码 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}
}
会变成“嗨”。
我不需要任何图像功能。