package
Version:
v1.29.0
Opens a new window with list of versions in this module.
Published: Jan 20, 2025
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package sharedmat gives ability to share gocv.Mats using reference counts with proper ref/clone/cleanup.
Filled is a helper to check gocv.Mat not empty
Valid is a helper to check gocv.Mat not nil
SharedMat is a share-able gocv.Mat
NewSharedMat creates a new SharedMat
Cleanup will decrement refs and attempt to cleanup the SharedMat
Clone will clone the SharedMat and attempt to clone the gocv.Mat
NumRefs returns the number of references
Ref returns a SharedMat pointer and increments refs
Source Files
¶
Click to show internal directories.
Click to hide internal directories.