Meshroom
Meshroom copied to clipboard
Custom Feature Matching Node without "feature_files" [question]
When Creating a Custom Feature Matching Node The Output Does Not Have "feature_files" A clear and concise description of what the problem is. So when making a custom feature matching node in Meshroom the output does not have tags that Meshroom recognizes, how do I fix this?
Screenshots
Dataset If applicable, add a link or few images to help better understand where the problem may come from.
Log [19:04:10.762][error] Error occurred: 'File' object has no attribute 'feature_files'
Desktop (please complete the following and other pertinent information):
- OS: Windows 11
- Python 3.7
- Qt/PySide version [e.g. 5.15.2]
- Meshroom version: 2023.3
What settings do you have in the node?
Hello. Here is the issue: We are trying to access all of this data through meshroom from an external Python add-on. We are not sure how to access the data from here
Take a look at this two repository for reference on implementing Python nodes: https://github.com/PIX3LFLUX/MeshroomDFM --> has good developer documentation https://github.com/MrClock8163/MeshroomGCPMarkerAdditions --> is probably the right approach for you
Custom Nodes
You can create custom nodes in python and make them available in Meshroom using the MESHROOM_NODES_PATH environment variable. Here is an example to launch a Blender rendering from Meshroom. In a standard precompiled version of Meshroom, you can also directly add custom nodes in lib/meshroom/nodes. To be recognized by Meshroom, a custom folder with nodes should be a Python module (an init.py file is needed).
Also there is some work in progress for support of unknown image detector/descriptor types https://github.com/alicevision/Meshroom/pull/2252