-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #134 from karolmajek/devel
Place Recognition support
- Loading branch information
Showing
9 changed files
with
501 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
src/deepness/common/processing_parameters/recognition_parameters.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import enum | ||
from dataclasses import dataclass | ||
from typing import Optional | ||
|
||
from deepness.common.processing_parameters.map_processing_parameters import \ | ||
MapProcessingParameters | ||
from deepness.processing.models.model_base import ModelBase | ||
|
||
|
||
@dataclass | ||
class RecognitionParameters(MapProcessingParameters): | ||
""" | ||
Parameters for Inference of Recognition model (including pre/post-processing) obtained from UI. | ||
""" | ||
|
||
query_image_path: str # path to query image | ||
model: ModelBase # wrapper of the loaded model |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.