var p=images.findImage(img,temp, {
region: [40,40,40,40],
threshold: 0.8
})

error: (-215) s >= 0 in function void cv::setSize(cv::Mat&, int, int const*, const size_t*, bool)
] (images.js#141)
at script(images.js:141)