Meshroom icon indicating copy to clipboard operation
Meshroom copied to clipboard

Custom Feature Matching Node without "feature_files" [question]

Open CharlieRusso001 opened this issue 1 year ago • 3 comments

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 image

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

CharlieRusso001 avatar Feb 05 '24 03:02 CharlieRusso001

What settings do you have in the node?

natowi avatar Feb 05 '24 18:02 natowi

WhatsApp Image 2024-02-05 at 19 16 59_e08a4989 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

CharlieRusso001 avatar Feb 06 '24 03:02 CharlieRusso001

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

natowi avatar Feb 06 '24 21:02 natowi