The present application relates to the field of electronic scale anti-
cheating technology, and specifically to a recyclable electronic price-calculating scale with anti-counterfeiting and anti-
cheating functions, the electronic price-calculating scale comprising: an
information acquisition module, used to obtain a two-dimensional code image corresponding to the transaction information of the electronic price-calculating scale, and steganographic information; an
information embedding module, including: determining the
clustering coefficient matrix of each cluster cluster; determining the steganographic position and the selected steganographic window of each cluster cluster; determining the texture complexity of each cluster cluster; determining the steganographic window position of each cluster cluster; determining the steganographic coefficient range of the
DCT coefficient matrix of each DCT block; obtaining the two-dimensional code image after
steganography; an anti-counterfeiting
verification module, used to extract the steganographic information to be verified of the two-dimensional code image after
steganography, and perform anti-counterfeiting
verification on the two-dimensional code image after
steganography. The present application can avoid the reduction of the robustness of the steganographic information caused by the regional
frequency difference of the two-dimensional code image, thereby improving the anti-
attack ability of the steganographic information.