root-ai / depth-quality Goto Github PK
View Code? Open in Web Editor NEWMeasuring Depth Quality With 3D-Printed Fixtures
License: MIT License
Measuring Depth Quality With 3D-Printed Fixtures
License: MIT License
Add the slicer output file(specific to a 3D printer model) generated from the STL so that the printing process is repeatable
I get the following error on trying to import the meshes module:
import depthquality.meshes
File "<frozen importlib._bootstrap>", line 969, in _find_and_load
File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 664, in _load_unlocked
File "<frozen importlib._bootstrap>", line 634, in _load_backward_compatible
File "/home/shreyas/.virtualenvs/test3/lib/python3.5/site-packages/depthquality-0.0.1-py3.5.egg/depthquality/meshes.py", line 104, in <module>
File "/home/shreyas/.virtualenvs/test3/lib/python3.5/site-packages/pkg_resources/__init__.py", line 1172, in resource_filename
self, resource_name
File "/home/shreyas/.virtualenvs/test3/lib/python3.5/site-packages/pkg_resources/__init__.py", line 1717, in get_resource_filename
return self._extract_resource(manager, zip_path)
File "/home/shreyas/.virtualenvs/test3/lib/python3.5/site-packages/pkg_resources/__init__.py", line 1739, in _extract_resource
timestamp, size = self._get_date_and_size(self.zipinfo[zip_path])
KeyError: 'depthquality/../meshes/vertical_cylinders.obj'
setup.py
.
package_data
attribute searches for paths relative to the package directory ( i.e src/depthquality/
). Since the actual obj files are located in the src/meshes
directory it can't be found by setuptools. (https://docs.python.org/3.5/distutils/setupscript.html#installing-package-data)I'm using an assumption of 300 DPI for the backplate PDF. These are the units used when opening it in photoshop
When I compare spheres.stl in the same units to the backplate image I find that the registration holes do not line up.
Here is a rendered image of spheres.stl over the backplate PDF showing that the registration holes are not at the same scale
I've found the same holds in the real world, the 3D printed object holes do not match an inkjet printed version of the backplate at 300 DPI.
Do you have any hints? Am I using the wrong scale for the backplate.
See notes from #2
When installing with python setup.py develop
, data sources are properly installed but when installing with python setup.py install
they are not properly installed. This requires updating the setup.py
and meshes.py
files appropriately.
The depth quality metric should work just fine when given a pointcloud and a single RGB / grayscale image with the fixture visible, if the camera intrinsics between the image and pointcloud are known.
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.