Skip to content

Instantly share code, notes, and snippets.

class CameraDemo {
Button buttonClick;
ShutterCallback shutterCallback;
PictrueCallback rawCallback;
PictrueCallback jpegCallback;
protected void onCreate(Bundle SavedInstance);
protected void onStart();
protected void onStop();
protected void onDestroy();
FROM nvidia/cuda:8.0-devel-ubuntu16.04
RUN apt-get update && apt-get install --no-install-recommends -y git libprotobuf-dev\
libleveldb-dev libsnappy-dev libopencv-dev\
libhdf5-serial-dev protobuf-compiler libboost-all-dev wget \
libgflags-dev libgoogle-glog-dev liblmdb-dev libatlas-base-dev
RUN apt-get -y install ca-certificates python-pip python-opencv
RUN pip install --upgrade pip easydict numpy requests
name: "VGG_ILSVRC_16_layers"
input: "data"
input_shape {
dim: 1
dim: 3
dim: 224
dim: 224
}
@skeeph
skeeph / coco faster rcnn test.prototxt
Created February 25, 2016 10:01
Coco faster rcnn test
name: "VGG_ILSVRC_16_layers"
input: "data"
input_shape {
dim: 1
dim: 3
dim: 224
dim: 224
}
FROM kaixhin/cuda
MAINTAINER Khabib Murtuzaaliev khabib.murtuzaaliev@gmail.com
RUN apt-get update && apt-get install -y \
build-essential \
wget \
libgoogle-glog-dev \
libgflags-dev \
libeigen3-dev \
libopencv-dev \
libcppnetlib-dev \
#include "dynamicarray.h"
using namespace std;
DynamicArray::DynamicArray() {
DynamicArray::DynamicArray(5);
}
DynamicArray::DynamicArray(int initSize) {
size = initSize;
@skeeph
skeeph / praytimes.py
Created August 8, 2012 07:24
Python library for computing islamic prayers schedule
#!/usr/bin/env python
# compatible with python 2.x and 3.x
import math
import re
'''
--------------------- Copyright Block ----------------------
praytimes.py: Prayer Times Calculator (ver 2.3)