mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-05 15:57:01 +08:00
14 lines
184 B
Python
14 lines
184 B
Python
#!/usr/bin/python
|
|
|
|
import beanstalkc
|
|
|
|
beanstalk = beanstalkc.Connection(host='localhost', port=11300)
|
|
|
|
beanstalk.watch('alpr')
|
|
|
|
job = beanstalk.reserve()
|
|
|
|
print job.body
|
|
|
|
job.delete()
|