SOLD2 - decoupling heatmap extraction and line segment detection #2545
-
SOLD2 first extracts junction and line heatmaps (through a neural network) and then assigns line segments as a separate step. Is there a way to decouple these steps and perform them separately by calling different functions? My use case would benefit a lot from being able to modify the line and junction heatmaps and then pass them to the line segment extractor. |
Beta Was this translation helpful? Give feedback.
Answered by
ducha-aiki
Nov 11, 2023
Replies: 1 comment
-
@ogencoglu sold2 = KF.SOLD2(pretrained=True, config=None)
stuff = sold2.model(img) Check kornia/kornia/feature/sold2/sold2.py Line 116 in a7fa332 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ogencoglu
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@ogencoglu
You can use
Check
kornia/kornia/feature/sold2/sold2.py
Line 116 in a7fa332