tryolabs/luminoth

Doubts regarding the predict module

Opened this issue · 4 comments

When we run lumi predict is it possible to display the bounding boxes around an image? Is it possible to get the locations and probabilities of the objects stored in say an excel file with the name of the images stored as well?

Is there a way to save the predictions inside a list, for instance?

image

I didn't find a way to display the results, too. maybe the code here doesn't do that.

@click.command(help="Obtain a model's predictions.")

and about the way to store the data, the -f option maybe can help you. like this..

lumi predict 1131868480.jpg -f predict.json

About what formats it supports, you can look these codes about it.

if output_path == '-':


I hope it'll help you.

This is helpful. What would happen when we run predict on multiple images. Would they all be saved in a single json? The comments seem to indicate that although I'm not sure whether the names would be saved as well.

# Process the input and get the actual files to predict.

for file in files:

you can look this code. maybe it can do it...

Take a moment to look at the code and you'll probably know what it can and can't do.


I hope it'll help you.