Image detection work with same image size. Next step different image sizes. The matrixes must be normilized.