Skip to content

Need to run only recognition inference. Inputs are image, detection result, batch size #1867

Answered by Insktall
hchintada asked this question in Q&A
Discussion options

You must be logged in to vote

Modify the existing script: One option is to modify the existing script to accept the output of the detection model as input to the recognition model. Depending on the specific API you are using, this may involve modifying the forward or call methods as you mentioned, or it may require modifying other parts of the code. This approach can be more challenging, especially if you are not familiar with the API codebase, but it allows you to take advantage of the existing functionality and avoid duplicating effort. Write your own script: Another option is to write your own inference script that performs separate detection and recognition steps. This approach can be more flexible and allow for m…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Insktall
Comment options

Answer selected by hchintada
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants