nginx opencv image resize