Skip to content

Instantly share code, notes, and snippets.

View KeenWarrior's full-sized avatar

Anuj Garg KeenWarrior

View GitHub Profile
@KeenWarrior
KeenWarrior / kaggle_download.py
Created March 22, 2019 17:59 — forked from jayspeidell/kaggle_download.py
Sample script to download Kaggle files
# Info on how to get your api key (kaggle.json) here: https://github.com/Kaggle/kaggle-api#api-credentials
!pip install kaggle
api_token = {"username":"USERNAME","key":"API_KEY"}
import json
import zipfile
import os
with open('/content/.kaggle/kaggle.json', 'w') as file:
json.dump(api_token, file)
!chmod 600 /content/.kaggle/kaggle.json
!kaggle config path -p /content
@KeenWarrior
KeenWarrior / Assignment_1.md
Last active February 10, 2019 14:37
ML Assignments

Task 1

Study various object detection algorithms. And why haar cascade is one to be most common.

Task 2

White program to load open cv stream from video file.

Task 3

  • Take out face from video stream every 5 second.
  • Resize face area to 100x100
  • flatten and add to numpy array.
@KeenWarrior
KeenWarrior / requirements.md
Last active January 18, 2019 12:01
Open Source Noida

Welcome to Coding Blocks Open Source Bootcamp

Installations needed

You are expected to bring

  • Laptop and charger (compulsory).
  • Pen Drive for content share if needed.
@KeenWarrior
KeenWarrior / requirements.md
Last active December 29, 2018 16:07
Game Dev Noida

Welcome to Coding Blocks Game Development Bootcamp

Installations needed

You are expected to bring

  • Laptop and charger (compulsory).
  • Pen Drive for content share if needed.
  • Personal Internet for comfortable experience.
package com.codingblocks;
import java.util.*;
public class AdjacencyMapGraph <T> {
private Map<T, Vertex> vertexMap;
private Map<Vertex, Vertex> parents;
import cv2
cap = cv2.VideoCapture(0)
while 1:
ret, img = cap.read()
cv2.imshow('img', img)
@KeenWarrior
KeenWarrior / README.md
Created June 11, 2018 10:05
Crux contents