python library for working with video capture

Asked

Viewed 1,292 times

1

Is there a Python library that is efficient( more than Opencv) to work with video capture and resizing its size ( change the image view size without changing the quality ) ?

EDITED :

In my case I want to capture the video and resize it( zoom ) in real time( type press a key and zoom 2x in the captured image ). So it has to be a good video capture library in real time because for larger zoons the image blurs a lot, i.e., the library would have to have an " image processing" when capturing the image or when resizing it.

  • When zooming and blurring the image does not depend on the image capture libraries but on the capacity of your camera, because a camera with low resolution does not help you have a good lib if the image it will treat has no quality.

  • Already on the treatment of images why I cited "concrete knowledge" when using these libs it requires knowledge about colorozation, sharpness, gamma, contrast brightness correction among other techniques, there are also filters already present in the lib itself, but all this is relative in relation to camera capture quality.

1 answer

3

Opencv is one of the oldest lib for Computer Vision, I believe it has other powerful lib on the web but it is difficult to compete with Opencv because it was created by Intel itself, a respected company in the current market, depending on what you want to do, if you are only recording a video and resizing, there are much easier outputs, because to work with it requires a little more concrete knowledge in Computer Vision.
Thinking About It a Group of Programmers Created a Library to Facilitate Work with Computer Vision, they named it Simplecv follows an example of capturing a webcam video, cropping it and an x size using Simplecv

from SimpleCV import *    
cam = Camera()

while(True):
    cam.getImage().crop(200,200,200,200).show() # args is x,y, w,h
  • And just to clarify in Raspberry works 100% also the code above!

  • Edited question

Browser other questions tagged

You are not signed in. Login or sign up in order to post.