Syntax
void sod_realnet_destroy(sod_realnet *pNet);
Description
Release the resources allocated to a sod_realnet object. This procedure must be called each time you have done working with a sod_realnet in order to avoid memory leaks.
Parameters
sod_realnet *pNet
A pointer to a valid sod_realnet object obtained from a prior successful call to sod_realnet_create().
Return Value
None.
Example
Checkout the introduction course, the C/C++ samples on the download page or refer to the SOD Github Repository.
See also
sod_realnet_create • sod_realnet_load_model_from_mem • sod_realnet_model_config • sod_realnet_detect • sod_realnet_load_from_disk.