pyaarlo
pyaarlo copied to clipboard
wrong version in setup.py
in setup.py the version is still 0.7.0b7....
in cause of that pip --upgrade is not working.
could you please fix that.
Thanks an BR
Sorry my fault, it seems that changes are installed ... only shown version is wrong in cause of this wrong parameter
But btw. iam tryin to implement your snapshot example.... async-snapshot.
If the snapshoot loop is running, i always get "file cannot be written" and nothing happens.
how could i loop a snapshot and store the image file locally on my server?
Thx and BR
I'll take a look at setup.py
because I do have a bad habit of neglecting it. I'm going to bring some changes in sometime in the next few days so I'll make the version gets updated this time.
As for async-snapshot
I didn't write that it was kindly provided by another contributor and it's been a while since I looked at at. But it should be relatively simple to adapt to write out the snapshot, the value
in the callback is a binary array you can just write out to a file. So, inside snapshot_callback
you can try:
with open("test.jpg", "wb") as img_file:
img_file.write(value)
Another example to try would be examples/monitor-all
, it gives you an idea of the callbacks you can get.