BrainFrame Forum

Is there an interface to get the result of preprocessing?

Is the preprocessing result stored?
As an application developer,how can i get the result of preprocessing?

Hi Huanzi,

Thanks for reaching out.

I’m not very sure what you mean by pre_processing. I think you mean the pre_processing step when process_frame in a capsule. Correct me if I’m wrong.

What pre_procress does is usually resizing or cropping the image to match the input type of the model. There is no need for users to know what’s happening behind the scenes, so unfortunately we don’t have the API to expose the results after pre_processing.

However, if you are developing your own capsule, you can print out the metadata (e.g. size, format, etc.) for the pre_processed images or you can save the image in the local disk for debugging purposes.

Let me know if you have further questions.