0

I have a python code that take an image as input and output an image, I want to use this code from .NET.

I search online and most of them suggest IronPython.

But my code contains tensorflow, opencv and numpy array. So I couldnot import tensorflow, opencv and numpy array in Ironpython. IronPython use python version 2.7.

And I want to use my python code in .NET as a module or package.

How can I do that??

Can anyone help please??

Thanks.

2
  • 2
    I would call it as a command line application, and would not try to integrate deeper. Commented Sep 16, 2018 at 7:30
  • 1
    An alternative approach could be to use a something like the falcon framework to build a WebApi for your python code. Commented Sep 16, 2018 at 8:03

1 Answer 1

2

You can use https://visualstudio.microsoft.com/downloads/ai-tools-vscode/. It's an extension available for visual studio. Then you can easily write python applications as you do for any console app or library.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.