Coder Social home page Coder Social logo

pyphantom's Issues

Pulling video from camera

When I run your python notebook, I can see all the correct information regarding my camera. But do you have a script that explains how to pull frames/video from the camera?

Record video & get access to data

I can connect to the camera (Phantom Veo410L) by camera.connect(), but in the get_single_frame.py I get

Traceback (most recent call last):
  File "get_single_frame.py", line 22, in <module>
    get_single_frame(take_number=0, frame_number=0)
  File "get_single_frame.py", line 15, in get_single_frame
    frame_index = int(camera.takes[take_number]["firstfr"]) + frame_number
  File "/home/tim/.local/lib/python3.8/site-packages/pyphantom/flex.py", line 458, in __getitem__
    raise IndexError
IndexError

since camera.takes is empty. How can I start a recording using the pyphantom framework?
I found the toggle() function in flex.py, which makes the cameras red led blink. When I now execute get_frames(), I get the error:
CameraError: Cinemag not ready
So how can I get frames from the camera?

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.