Metadata-Version: 2.1
Name: image2pipe
Version: 0.1.11
Summary: Simple ffmpeg wrapper for image2pipe which yields rawvideo frames from input video URL
Home-page: https://github.com/chexov/image2pipe
Author: Anton P. Linevich
Author-email: anton@linevich.com
License: LICENSE.txt
Description: # Why
        
        I need to extract decoded frames from videos in order to feed DNN pipeline.
        
        This is the answer package.
        
        # Install
        
        ```
        pip install image2pipe
        ```
        
        # Usage
        
        ```
        from multiprocessing import Queue
        import logging
        import cv2
        
        import image2pipe
        
        logging.basicConfig()
        
        
        q = Queue(maxsize=4)
        decoder = image2pipe.images_from_url(q, "shuttle-flip.mp4", fps="30", scale=(1000, 556))
        decoder.start()
        
         for pair in yield_from_queue(q):
                fn, img = pair
                gray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)
        
                cv2.imshow("gray", gray)
                cv2.waitKey()
                cv2.destroyAllWindows()
        ```
        
        
Keywords: ffmpeg yuv image2pipe
Platform: UNKNOWN
Requires-Python: >=3.2
Description-Content-Type: text/markdown
