Comments (1)
@frigusgulo Please read the documentation before posting an issue.
Camera.as_dict()
:
"""
Return this camera as a dictionary.
Arguments:
attributes (iterable of :obj:`str`): Attributes to include.
If `None`, defaults to the core attributes
(:attr:`xyz`, :attr:`viewdir`, :attr:`imgsz`, :attr:`f`, :attr:`c`, :attr:`k`, :attr:`p`).
Returns:
dict: Attribute names and values
"""
So if want to keep a record of fmm
, you could do (for example):
params= dict(
sensorsz=(35.9, 24),
xyz=(393506.713, 6695855.64, 961.3370),
viewdir=(6.55401513e+01, -1.95787507e+01, 7.90589866e+00),
p=(1.42603100e-01,4.12163305e-01),
k=(-4.78577912e-01, 1.08772049e+00, -1.27452460e+00,6.78479918e-01, 2.39852156e-02, -1.229e-01),
imgsz=(7360, 4912),
fmm=28
)
camera = glimpse.Camera(**params)
camera.as_dict(params.keys())
from glimpse.
Related Issues (20)
- "AttributeError: 'Lines' object has no attribute 'xyz'" HOT 1
- Issue with equality types (isinstance more-so for inheritance?) HOT 1
- IndexError: Box extends beyond grid bounds HOT 4
- Sphinx error: master file glimpse/docs/contents.rst not found HOT 1
- AttributeError: 'Matches' object has no attribute 'as_type' HOT 2
- TypeError: match_keypoints() got an unexpected keyword argument 'as_type'
- " AttributeError: 'Image' object has no attribute 'anchor' " HOT 1
- "RecursionError: maximum recursion depth exceeded" HOT 4
- Fragile parallel processing
- AttributeError: 'function' object has no attribute 'iter'
- Function Def Typo: "def rasterize_poygons" HOT 1
- TypeError: in method 'Driver_Create', argument 3 of type 'int'
- Improve Exif tag support and performance
- Write guide to time-lapse photo management
- Improve writing of SVG files
- Add support for `pathlib.Path` path arguments
- Confusing terminology around image pre-processing steps
- Provide access to original (pre-normalized) particle weights
- Problematic behavior when image size not in Exif
- Inconsistent return types from svg.read
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from glimpse.