diff --git a/modules/csharp_api/csharp/base.cs b/modules/csharp_api/csharp/base.cs index b7f35c2ce..edd2a2b2b 100644 --- a/modules/csharp_api/csharp/base.cs +++ b/modules/csharp_api/csharp/base.cs @@ -10,7 +10,7 @@ namespace OpenVinoSharp /// /// OpenVINO wrapper for .NET. - /// This is the basic namespace of OpenVINO in Cshrp, + /// This is the basic namespace of OpenVINO in C#, /// and all classes and methods are within this method. /// OpenVinoSharp. /// @@ -42,29 +42,6 @@ class NamespaceDoc { } } - - - namespace model - { - /// - /// Processing methods for main common models. - /// OpenVinoSharp.model. - /// - [System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - class NamespaceDoc - { - } - namespace Yolov8 { - /// - /// The processing methods of the main Yolov8 model. - /// OpenVinoSharp.model.Yolov8. - /// - [System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - class NamespaceDoc - { - } - } - } } diff --git a/modules/csharp_api/demos/yolov8/Program.cs b/modules/csharp_api/demos/yolov8/Program.cs index 48ed06e6f..837608cee 100644 --- a/modules/csharp_api/demos/yolov8/Program.cs +++ b/modules/csharp_api/demos/yolov8/Program.cs @@ -59,7 +59,7 @@ static void yolov8_infer(string flg, string model_path, string image_path, stri print_model_info(model); // -------- Step 3. Loading a model to the device -------- - CompiledModel compiled_model = core.compiled_model(model, device); + CompiledModel compiled_model = core.compile_model(model, device); // -------- Step 4. Create an infer request -------- InferRequest infer_request = compiled_model.create_infer_request();