Deep Learning Support for ClientServer Application

Hello, I would like to ask if the ClientServer application development supports prediction control for DeepLearning AI models?

I noticed that the Session belongs to Mediacy.Automation.Proxy. Upon preliminary review, it appears that there are currently no DeepLearningCommands methods available for use.

Wesan

Best Answer

  • YuriG
    Answer ✓
    Hi Wesan,

    AI Prediction is executed as a part of the Count command, so if you create an a measurement options file (IQO) when you do AI prediction (the IQO file will include model name and all segmentation parameters), then you can just execute commands to load the IQO file and run the Count - it will do the AI Prediction of the active image.

    Yuri

Answers

  • Hi Yuri,

    I am testing our software on lower-spec hardware and encountered a System.TimeoutException.

    Even though I have set the Session timeout to 360, the application still throws a timeout error after exactly 60 seconds (00:01:00) while waiting for the AI analysis to complete. It seems the underlying WCF communication channel is hitting its default limit.

    Besides the Session settings, which specific command or property should I use to extend the operation timeout for the proxy channel?


    Best regards, Wesan

  • Hi Wesan,

    The timeout parameter of the Session object constructor only affects the connection, in order to increase operation timeout, you can set Session.OperationTimeout in seconds. The default is 60s.

    Best regards,

    Pierre Duchene