Use overload.

This commit is contained in:
Peter Rekdal Sunde
2015-08-12 15:42:39 +02:00
parent cd1c55c8b0
commit b8f625bed0

View File

@@ -361,8 +361,7 @@ namespace openalprnet {
/// Recognize from an image on disk /// Recognize from an image on disk
/// </summary> /// </summary>
AlprResultsNet^ Recognize(System::String^ filepath) { AlprResultsNet^ Recognize(System::String^ filepath) {
AlprResults results = m_Impl->recognize(marshal_as<std::string>(filepath)); return Recognize(filepath, gcnew List<System::Drawing::Rectangle>());
return gcnew AlprResultsNet(results);
} }
/// <summary> /// <summary>