diff --git a/lib/func.py b/lib/func.py index e69de29..00b67d6 100644 --- a/lib/func.py +++ b/lib/func.py @@ -0,0 +1,7 @@ +import numpy as np + +def sigmoid(x): + return 1/(1 + np.exp(-x)) + +def correctFunc(rgb): + return ( rgb[0], rgb[1], rgb[2] ) diff --git a/main.py b/main.py old mode 100644 new mode 100755 index e69de29..4265cc3 --- a/main.py +++ b/main.py @@ -0,0 +1 @@ +#!/usr/bin/env python