It is actually very easy, I didn't know the solution would be that simple. With opencv, you can do : resized_roi= cv2.resize(roi, (224,224)) and that's it :]


You are correct about your first assumption, but not about your second assumption. More layers does not always mean better pattern detection. The analogy that in the deeper layers the network learns more complex features is an oversimplified one. It is true to some extent, although it is not enough to explain very complex architectures like GoogLeNet. ...

Only top voted, non community-wiki answers of a minimum length are eligible