add image processing hook
This commit is contained in:
parent
508d22a3a4
commit
fd091d2a30
4
main.py
4
main.py
|
@ -46,6 +46,10 @@ def find_session():
|
||||||
sess = imsess
|
sess = imsess
|
||||||
return sess + 1
|
return sess + 1
|
||||||
|
|
||||||
|
def process_image(img):
|
||||||
|
# nothing yet
|
||||||
|
return img
|
||||||
|
|
||||||
def snapshot(sess, imno):
|
def snapshot(sess, imno):
|
||||||
path = image_path(sess, imno)
|
path = image_path(sess, imno)
|
||||||
green.on()
|
green.on()
|
||||||
|
|
Loading…
Reference in New Issue