This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# coding: utf8 | |
import numpy as np | |
from pathlib import Path | |
import matplotlib.image as mpimg | |
""" | |
Suppose a file tree i.e: | |
imgs/ | |
|class1/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/python | |
#coding : utf-8 | |
import sys, os | |
import numpy as np | |
import urllib | |
import cv2 | |
from datetime import datetime | |
streamURL = 'http://72.240.51.213/mjpg/video.mjpg' |