@Namespace(value="dai::node") @NoOffset @Properties(inherit=depthai.class) public class MonoCamera extends ColorCameraPropertiesNode
Node.Connection, Node.DatatypeHierarchy, Node.Input, Node.InputMap, Node.Output, Node.OutputMapPointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
MonoCamera(PipelineImpl par,
long nodeId) |
MonoCamera(PipelineImpl par,
long nodeId,
MonoCameraProperties props) |
MonoCamera(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Node.Output |
frameEvent()
Outputs metadata-only ImgFrame message as an early indicator of an incoming frame.
|
depthai.CameraBoardSocket |
getBoardSocket()
Retrieves which board socket to use
|
BytePointer |
getCamera()
Retrieves which camera to use by name
|
long |
getCamId()
Deprecated.
|
float |
getFps()
Get rate at which camera should produce frames
|
IntPointer |
getFrameEventFilter() |
depthai.CameraImageOrientation |
getImageOrientation()
Get camera image orientation
|
int |
getNumFramesPool()
Get number of frames in main (ISP output) pool
|
int |
getRawNumFramesPool()
Get number of frames in raw pool
|
MonoCameraProperties.SensorResolution |
getResolution()
Get sensor resolution
|
int |
getResolutionHeight()
Get sensor resolution height
|
Pointer |
getResolutionSize()
Get sensor resolution as size
|
int |
getResolutionWidth()
Get sensor resolution width
|
CameraControl |
initialControl()
Initial control options to apply to sensor
|
Node.Input |
inputControl()
Input for CameraControl message, which can modify camera parameters in runtime
Default queue is blocking with size 8
|
static BytePointer |
NAME() |
Node.Output |
out()
Outputs ImgFrame message that carries RAW8 encoded (grayscale) frame data.
|
Node.Output |
raw()
Outputs ImgFrame message that carries RAW10-packed (MIPI CSI-2 format) frame data.
|
void |
setBoardSocket(depthai.CameraBoardSocket boardSocket)
Specify which board socket to use
|
void |
setBoardSocket(int boardSocket) |
void |
setCamera(ByteBuffer name) |
void |
setCamera(BytePointer name)
Specify which camera to use by name
|
void |
setCamera(String name) |
void |
setCamId(long id)
Deprecated.
|
void |
setFps(float fps)
Set rate at which camera should produce frames
|
void |
setFrameEventFilter(int[] events) |
void |
setFrameEventFilter(IntBuffer events) |
void |
setFrameEventFilter(IntPointer events) |
void |
setImageOrientation(depthai.CameraImageOrientation imageOrientation)
Set camera image orientation
|
void |
setImageOrientation(int imageOrientation) |
void |
setIsp3aFps(int isp3aFps)
Isp 3A rate (auto focus, auto exposure, auto white balance, camera controls etc.).
|
void |
setNumFramesPool(int num)
Set number of frames in main (ISP output) pool
|
void |
setRawNumFramesPool(int num)
Set number of frames in raw pool
|
void |
setResolution(MonoCameraProperties.SensorResolution resolution)
Set sensor resolution
|
clone, getName, properties, propertiesassetManager, getAssetManager, getInputRefs, getInputs, getOutputRefs, getOutputs, getParentPipeline, getProperties, getRequiredOpenVINOVersion, id, inputMapRefs, inputRefs, outputMapRefs, outputRefs, propertiesHolder, setInputMapRefs, setInputRefs, setOutputMapRefs, setOutputRefsaddress, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic MonoCamera(Pointer p)
Pointer(Pointer).public MonoCamera(@SharedPtr PipelineImpl par, @Cast(value="int64_t") long nodeId)
public MonoCamera(@SharedPtr PipelineImpl par, @Cast(value="int64_t") long nodeId, @UniquePtr MonoCameraProperties props)
@MemberGetter @Cast(value="const char*") public static BytePointer NAME()
@MemberGetter @ByRef public CameraControl initialControl()
@MemberGetter @ByRef public Node.Input inputControl()
@MemberGetter @ByRef public Node.Output out()
@MemberGetter @ByRef public Node.Output raw()
@MemberGetter @ByRef public Node.Output frameEvent()
public void setBoardSocket(depthai.CameraBoardSocket boardSocket)
boardSocket - Board socket to usepublic depthai.CameraBoardSocket getBoardSocket()
public void setCamera(@StdString BytePointer name)
name - Name of the camera to usepublic void setCamera(@StdString ByteBuffer name)
public void setCamera(@StdString String name)
@StdString public BytePointer getCamera()
@Deprecated public void setCamId(@Cast(value="int64_t") long id)
@Cast(value="int64_t") @Deprecated public long getCamId()
public void setImageOrientation(depthai.CameraImageOrientation imageOrientation)
public void setImageOrientation(@Cast(value="dai::CameraImageOrientation") int imageOrientation)
public depthai.CameraImageOrientation getImageOrientation()
public void setResolution(@ByVal MonoCameraProperties.SensorResolution resolution)
@ByVal public MonoCameraProperties.SensorResolution getResolution()
public void setFrameEventFilter(@StdVector @Cast(value="dai::FrameEvent*") IntPointer events)
public void setFrameEventFilter(@StdVector @Cast(value="dai::FrameEvent*") IntBuffer events)
public void setFrameEventFilter(@StdVector @Cast(value="dai::FrameEvent*") int[] events)
@StdVector @Cast(value="dai::FrameEvent*") public IntPointer getFrameEventFilter()
public void setFps(float fps)
fps - Rate in frames per secondpublic void setIsp3aFps(int isp3aFps)
public float getFps()
@ByVal @Cast(value="std::tuple<int,int>*") public Pointer getResolutionSize()
public int getResolutionWidth()
public int getResolutionHeight()
public void setNumFramesPool(int num)
public void setRawNumFramesPool(int num)
public int getNumFramesPool()
public int getRawNumFramesPool()
Copyright © 2023. All rights reserved.