python - <<'PY'
import tifffile,numpy as np,json,cv2
s='HH-9395';a=tifffile.imread('/workspace/input/photos/'+s+'.tif').astype('float32')/65535;ox,oy=json.load(open('/workspace/scratch/detailboxes.json'))[s][:2]
for x,y in [(280,204),(283,211),(266,200),(299,316),(290,315),(320,310),(314,285),(339,256),(341,248),(156,648),(170,648),(202,841),(197,830),(250,840),(250,832),(301,844),(294,832),(308,480),(290,469),(283,494),(280,500)]:
 p=a[oy+y,ox+x];print((x,y),np.round(p,3),'R-G',round(float(p[0]-p[1]),4))
PY