search

Home  >  Q&A  >  body text

java - Use mean hash algorithm to generate image fingerprint. Called multiple times, the returned information is actually inconsistent.

http://blog.csdn.net/10km/art...

First time
1111111111111011
1111111111110011
1111111111000011
0000000000000000
0000000000000000
0000000000000000
000 0000000000000
0000000000000000
0000000000000000
0000000000000000
00000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000

Second time
1111111111111111
1111111111111111
11111111111111111
1111111111111111
1111111111111111
11111111111111111
11 11111111111111
1111111111111111
1111111111111111
1111111111111111
11111111111111111
1111111111111111
1111111111111111
1111111111111111
1111111111111111
11111111111111111

urgent! ! !

http://n1.itc.cn/img8/wb/list...
{"status":1,"imgFingerPrint":"8000800080008000800080008000800080008000800080008000000080008000"}
http://n1.itc. cn/img8/wb/list...
{"status":1,"imgFingerPrint":"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"}
Some pictures have different results every time they are called, and finally they are all F

黄舟黄舟2710 days ago799

reply all(1)I'll reply

  • PHP中文网

    PHP中文网2017-06-28 09:25:32

    Incomplete download of online picture content

    Change to:
    byte[] btImg = IOUtils.toByteArray(inStream);

    The result is normal

    reply
    0
  • Cancelreply