Skip to content

Instantly share code, notes, and snippets.

Shaun Pritchard shaungt1

Block or report user

Report or block shaungt1

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@shaungt1
shaungt1 / circle_detection.py
Created Dec 4, 2018 — forked from martinsik/circle_detection.py
Circle detection with OpenCV 3.0
View circle_detection.py
import cv2
import time
import math
import numpy as np
capture = cv2.VideoCapture(0)
print capture.get(cv2.CAP_PROP_FPS)
t = 100
w = 640.0
@shaungt1
shaungt1 / goldbach_recursion.js
Created Apr 27, 2018 — forked from ihercowitz/goldbach_recursion.js
Goldbach's conjecture in JavaScript - using Recursion
View goldbach_recursion.js
/* Goldbach's conjecture in JavaScript - using Recursion
*
* author: Igor Hercowitz
*/
function isPrime(n) {
if (n % 2 === 0) return false;
var sqrtn = Math.sqrt(n)+1;
You can’t perform that action at this time.