mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-05 18:36:51 +08:00
Added beanstalk sink
This commit is contained in:
13
src/plate_push.py
Normal file
13
src/plate_push.py
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
import beanstalkc
|
||||
|
||||
beanstalk = beanstalkc.Connection(host='localhost', port=11300)
|
||||
|
||||
beanstalk.watch('alpr')
|
||||
|
||||
job = beanstalk.reserve()
|
||||
|
||||
print job.body
|
||||
|
||||
job.delete()
|
Reference in New Issue
Block a user