Skip to content

Instantly share code, notes, and snippets.

View elementzonline's full-sized avatar

Dhanish Vijayan elementzonline

View GitHub Profile
@elementzonline
elementzonline / ipcam.py
Created March 19, 2017 04:35 — forked from shihyuan/ipcam.py
Stream Video with OpenCV in Python from an Android running IP Webcam
# Stream Video with OpenCV from an Android running IP Webcam (https://play.google.com/store/apps/details?id=com.pas.webcam)
# Code Adopted from http://stackoverflow.com/questions/21702477/how-to-parse-mjpeg-http-stream-from-ip-camera
import cv2
import urllib2
import numpy as np
import sys
host = "192.168.0.220:8080"
if len(sys.argv)>1: