Skip to content

Instantly share code, notes, and snippets.

View kushalvyas's full-sized avatar

Kushal Vyas kushalvyas

View GitHub Profile

Virtualization in clouds

Shortened URL : goo.gl/r249Vg

  1. What is virtualization ? There are 4 types
    • hardware virtualization : When VM is directly installed on a machine
    • operating system virtualization : When VM is directly installed on the host OS
    • server virtualization :
    • storage virtualization : Where physical storage is abstracted through another interface
layer {
name: "data"
type: "Python"
top: "data"
top: "label"
python_param {
module: "voc_layers"
layer: "SBDDSegDataLayer"
param_str: "{\'sbdd_dir\': \'../../data/sbdd/dataset\', \'seed\': 1337, \'split\': \'train\', \'mean\': (104.00699, 116.66877, 122.67892)}"
}
@kushalvyas
kushalvyas / index.html
Last active September 8, 2017 17:32
Sample Index File for Camera function
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Camera Feed : Color Tracking</title>
<!--load css ... use bootstrap-->
<link href="../../dependencies/css/bootstrap.css" rel="stylesheet">
<script src="watch_video.js"></script>
</head>
<body bgcolor="#bdb76b">
@kushalvyas
kushalvyas / watch_video.js
Last active October 31, 2023 07:15
JS for Camera capture from browser
/**
* Created by kushal
*
* Usage :
* To access local system webcam on the internet/
* Couple of points to be remembered:
*
* - Accessing the webcam using HTML5 and JS requires permission from
* the browser. The url of the file has to be a valid one. Url such as file:/// in your browser will not permit the browser to access local webcam.
* - Whereas, an http or https url will surely make a paved way for it. Hence, while developing, one can use Xampp, Wamp or the LAMP Stack.
@kushalvyas
kushalvyas / crop.py
Created January 19, 2018 10:30
OpenCV Cropping Utility
'''
Opencv Image Cropper
Commands:
s : Overwrite & Save image
left-arrow : previous
right-arrow : next
'''
import cv2
import glob