Hi Kevin
You're right that the location you find is distorted.
I tested your code and found that the maximum difference value of VA comes to 108(jpeg_artifacts_va).
But the maximum difference value of opencv comes to 18(jpeg_artifacts_opencv).
The difference in VA is five times that of OPENCV. And the difference between the maximum values is 90.
And please refer the "Compare.png" of attachment. You can easily find their difference.
Best Regards,
Jesse Lin