ottomatic-io / pyphantom Goto Github PK
View Code? Open in Web Editor NEWCommunicate with Vision Research Phantom® cameras with python
License: GNU Lesser General Public License v3.0
Communicate with Vision Research Phantom® cameras with python
License: GNU Lesser General Public License v3.0
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?
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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.