DnnInvokeReadNetFromDarknet Method (Byte, Byte) |
http://www.emgu.com
Reads a network model stored in Darknet model files.
Namespace:
Emgu.CV.Dnn
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.0.3408 (4.1.0.3408)
Syntaxpublic static Net ReadNetFromDarknet(
byte[] bufferCfg,
byte[] bufferModel = null
)
Public Shared Function ReadNetFromDarknet (
bufferCfg As Byte(),
Optional bufferModel As Byte() = Nothing
) As Net
public:
static Net^ ReadNetFromDarknet(
array<unsigned char>^ bufferCfg,
array<unsigned char>^ bufferModel = nullptr
)
static member ReadNetFromDarknet :
bufferCfg : byte[] *
?bufferModel : byte[]
(* Defaults:
let _bufferModel = defaultArg bufferModel null
*)
-> Net
Parameters
- bufferCfg
- Type: SystemByte
Buffer containing the content of the .cfg file with text description of the network architecture. - bufferModel (Optional)
- Type: SystemByte
Buffer containing the content of the the .weights file with learned network.
Return Value
Type:
NetNet object.
See Also