Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Feature Matching Node without "feature_files" [question] #2313

Open
CharlieRusso001 opened this issue Feb 5, 2024 · 3 comments
Open

Comments

@CharlieRusso001
Copy link

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
@natowi
Copy link
Member

natowi commented Feb 5, 2024

What settings do you have in the node?

@CharlieRusso001
Copy link
Author

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

@natowi
Copy link
Member

natowi commented Feb 6, 2024

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 #2252

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants