This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class CameraDemo { | |
Button buttonClick; | |
ShutterCallback shutterCallback; | |
PictrueCallback rawCallback; | |
PictrueCallback jpegCallback; | |
protected void onCreate(Bundle SavedInstance); | |
protected void onStart(); | |
protected void onStop(); | |
protected void onDestroy(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "VGG_ILSVRC_16_layers" | |
input: "data" | |
input_shape { | |
dim: 1 | |
dim: 3 | |
dim: 224 | |
dim: 224 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "VGG_ILSVRC_16_layers" | |
input: "data" | |
input_shape { | |
dim: 1 | |
dim: 3 | |
dim: 224 | |
dim: 224 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "dynamicarray.h" | |
using namespace std; | |
DynamicArray::DynamicArray() { | |
DynamicArray::DynamicArray(5); | |
} | |
DynamicArray::DynamicArray(int initSize) { | |
size = initSize; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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) |