Skip to content

Instantly share code, notes, and snippets.

---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-18-ceb10af85fb3> in <module>()
18 max_evals=5,
19 trials=Trials(),
---> 20 notebook_name='con_seq_inception-1d_5400_hyperas')
~/.conda/envs/tensorflow-gpu/lib/python3.6/site-packages/hyperas/optim.py in minimize(model, data, algo, max_evals, trials, functions, rseed, notebook_name, verbose, eval_space, return_space, keep_temp)
67 notebook_name=notebook_name,
68 verbose=verbose,
// System includes
#include <fstream>
#include <sstream>
// OpenCV includes
#include <opencv2/videoio/videoio.hpp> // Video write
#include <opencv2/videoio/videoio_c.h> // Video write
#include <opencv2/imgproc.hpp>
@sarmadm
sarmadm / index.html
Created January 15, 2017 20:30 — forked from robu3/index.html
Jawbone Up Spiral Visualization
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<script src="http://d3js.org/d3.v3.min.js"></script>
<style>
body {
font-family: sans-serif;
}
#include <dlib/opencv.h>
#include <opencv2/highgui/highgui.hpp>
#include <dlib/image_processing/frontal_face_detector.h>
#include <dlib/image_processing/render_face_detections.h>
#include <dlib/image_processing.h>
#include <dlib/gui_widgets.h>
@sarmadm
sarmadm / blink.cpp
Last active December 29, 2016 10:15
#include "opencv2/objdetect/objdetect.hpp"
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/imgproc/imgproc.hpp"
#include <iostream>
#include <stdio.h>
#include <cmath>
using namespace std;
using namespace cv;
@sarmadm
sarmadm / eye_detector.py
Last active September 9, 2015 10:35 — forked from dimitrs/eye_detector.py
A Python implementation of the paper "Accurate Eye Center Location through Invariant Isocentric Patterns".
import cv2
import numpy as np
import matplotlib.pyplot as plt
from skimage import io
img = io.imread('eye.png')
# Left eye
img = np.around(img[0:img.shape[0], 0:img.shape[1]/2])