Skip to content

Commit

Permalink
MediaPipe: remove obsolete ctor
Browse files Browse the repository at this point in the history
  • Loading branch information
gluschenko committed Dec 15, 2024
1 parent d3c8c8c commit b565939
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/LanguageIdentification.MediaPipe/MediaPipeDetector.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,6 @@ namespace Panlingo.LanguageIdentification.MediaPipe
/// </summary>
public class MediaPipeDetector : IDisposable
{
[Obsolete]
public MediaPipeDetector(int resultCount = -1, float scoreThreshold = 0.0f, string modelPath = "") : this(
(modelPath != "" ? MediaPipeOptions.FromFile(modelPath) : MediaPipeOptions.FromDefault())
.WithResultCount(resultCount)
.WithScoreThreshold(scoreThreshold)
)
{ }
private IntPtr _detector;
private bool _disposed = false;

Expand Down

0 comments on commit b565939

Please sign in to comment.