@Namespace(value="dai::node") @NoOffset @Properties(inherit=depthai.class) public class MonoCamera extends Node
Node.Connection, Node.DatatypeHierarchy, Node.Input, Node.OutputPointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
MonoCamera(PipelineImpl par,
long nodeId) |
MonoCamera(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
depthai.CameraBoardSocket |
getBoardSocket()
Retrieves which board socket to use
|
long |
getCamId()
Deprecated.
|
float |
getFps()
Get rate at which camera should produce frames
|
depthai.CameraImageOrientation |
getImageOrientation()
Get camera image orientation
|
BytePointer |
getName()
Retrieves nodes name
|
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
|
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 |
setCamId(long id)
Deprecated.
|
void |
setFps(float fps)
Set rate at which camera should produce frames
|
void |
setImageOrientation(depthai.CameraImageOrientation imageOrientation)
Set camera image orientation
|
void |
setImageOrientation(int imageOrientation) |
void |
setResolution(MonoCameraProperties.SensorResolution resolution)
Set sensor resolution
|
assetManager, clone, getAssets, getInputRefs, getInputs, getOutputRefs, getOutputs, getParentPipeline, getProperties, getRequiredOpenVINOVersion, id, inputs, outputsaddress, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getPointer, getPointer, getPointer, getPointer, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, 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)
@StdString public BytePointer getName()
Node@MemberGetter @ByRef public CameraControl initialControl()
@MemberGetter @ByRef public Node.Input inputControl()
@MemberGetter @ByRef public Node.Output out()
@MemberGetter @ByRef public Node.Output raw()
public void setBoardSocket(depthai.CameraBoardSocket boardSocket)
boardSocket - Board socket to usepublic depthai.CameraBoardSocket getBoardSocket()
@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 setFps(float fps)
fps - Rate in frames per secondpublic float getFps()
@ByVal @Cast(value="std::tuple<int,int>*") public Pointer getResolutionSize()
public int getResolutionWidth()
public int getResolutionHeight()
Copyright © 2021. All rights reserved.