Skip to content

Instantly share code, notes, and snippets.

View ankesh007's full-sized avatar

Ankesh Gupta ankesh007

View GitHub Profile
@ankesh007
ankesh007 / New.py
Last active November 9, 2017 19:20
import argparse
import cv2
import numpy as np
import matplotlib.pyplot as plt
# import sys
# initialize the list of reference points and boolean indicating
# whether cropping is being performed or not
refPt = []
cropping = False
@ankesh007
ankesh007 / Old.py
Last active November 9, 2017 19:21
import argparse
import cv2
import numpy as np
import matplotlib.pyplot as plt
# import sys
# initialize the list of reference points and boolean indicating
# whether cropping is being performed or not
refPt = []
cropping = False
@ankesh007
ankesh007 / temp.py
Last active November 8, 2017 14:55
import argparse
import cv2
import numpy as np
import matplotlib.pyplot as plt
# import sys
# initialize the list of reference points and boolean indicating
# whether cropping is being performed or not
refPt = []
cropping = False
@ankesh007
ankesh007 / gist:f9e44d3cdf8ed5d8e3e218167c6272a1
Created July 16, 2016 07:01
code for ROUND 1 APAC 2017 QUESTION 3 GIVING WRONG ANSWER ON LARGE SUBTASK
#include <bits/stdc++.h>
#define long long long int
using namespace std;
#define Max 1e18
# define con 1000000007
#define mp make_pair
#define pb push_back
#define PI 3.14159265