Coder Social home page Coder Social logo

wrong version in setup.py about pyaarlo HOT 4 OPEN

twrecked avatar twrecked commented on May 24, 2024
wrong version in setup.py

from pyaarlo.

Comments (4)

Zaschii avatar Zaschii commented on May 24, 2024

Sorry my fault, it seems that changes are installed ... only shown version is wrong in cause of this wrong parameter

from pyaarlo.

Zaschii avatar Zaschii commented on May 24, 2024

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

from pyaarlo.

twrecked avatar twrecked commented on May 24, 2024

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)

from pyaarlo.

twrecked avatar twrecked commented on May 24, 2024

Another example to try would be examples/monitor-all, it gives you an idea of the callbacks you can get.

from pyaarlo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.