this is how you resize in lua+opencv