Sampling video and making image cutoffs in python -


i've got videostream (for use video). need 1 frame per every second or more seconds , need cut part of these pictures based on 8 coordinates(leftupper x/y, rightupper x/y, rightlower x/y , leftlower x/y).

i thinkg i'm able cutting in java rather in python entire application written in python / django.

it's possible both of things directly in python? point me documentation or whatever?

you can start video handling in python using opencv

python : reading video file , saving video file using opencv

it contains basic links reading file , camera , gives initial idea of how process frames .

then after each frame in opencv mat , can form bounding box rect extract region or roi

close question cropping live video feed

cropping single frame can done done in cropping single image in opencv python

this can repeated every frame , can write video file taking reference first reference.


Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -