Skip to content

Instantly share code, notes, and snippets.

View bharath5673's full-sized avatar

bharath bharath5673

View GitHub Profile
@bharath5673
bharath5673 / split-video-by-frame.py
Created March 13, 2019 16:03 — forked from keithweaver/split-video-by-frame.py
Using OpenCV takes a mp4 video and produces a number of images.
'''
Using OpenCV takes a mp4 video and produces a number of images.
Requirements
----
You require OpenCV 3.2 to be installed.
Run
----
Open the main.py and edit the path to the video. Then run:
@bharath5673
bharath5673 / client.py
Created March 18, 2019 10:05 — forked from kittinan/client.py
Python OpenCV webcam send image frame over socket
import cv2
import io
import socket
import struct
import time
import pickle
import zlib
client_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
client_socket.connect(('192.168.1.124', 8485))