@Namespace(value="dai") @NoOffset @Properties(inherit=depthai.class) public class RawAprilTagConfig extends RawBuffer
| Modifier and Type | Class and Description |
|---|---|
static class |
RawAprilTagConfig.Family
Supported AprilTag families.
|
static class |
RawAprilTagConfig.QuadThresholds
AprilTag quad threshold parameters.
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
RawAprilTagConfig()
Default native constructor.
|
RawAprilTagConfig(long size)
Native array allocator.
|
RawAprilTagConfig(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
float |
decodeSharpening()
How much sharpening should be done to decoded images? This
can help decode small tags but may or may not help in odd
lighting conditions or low light conditions.
|
RawAprilTagConfig |
decodeSharpening(float setter) |
RawAprilTagConfig.Family |
family()
AprilTag family.
|
RawAprilTagConfig |
family(RawAprilTagConfig.Family setter) |
RawAprilTagConfig |
getPointer(long i) |
int |
maxHammingDistance()
Max number of error bits that should be corrected.
|
RawAprilTagConfig |
maxHammingDistance(int setter) |
RawAprilTagConfig |
position(long position) |
int |
quadDecimate()
Detection of quads can be done on a lower-resolution image,
improving speed at a cost of pose accuracy and a slight
decrease in detection rate.
|
RawAprilTagConfig |
quadDecimate(int setter) |
float |
quadSigma()
What Gaussian blur should be applied to the segmented image.
|
RawAprilTagConfig |
quadSigma(float setter) |
RawAprilTagConfig.QuadThresholds |
quadThresholds()
AprilTag quad threshold parameters.
|
RawAprilTagConfig |
quadThresholds(RawAprilTagConfig.QuadThresholds setter) |
boolean |
refineEdges()
When non-zero, the edges of the each quad are adjusted to "snap
to" strong gradients nearby.
|
RawAprilTagConfig |
refineEdges(boolean setter) |
void |
serialize(byte[] metadata,
int[] datatype) |
void |
serialize(ByteBuffer metadata,
IntBuffer datatype) |
void |
serialize(BytePointer metadata,
IntPointer datatype) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic RawAprilTagConfig()
public RawAprilTagConfig(long size)
Pointer.position(long).public RawAprilTagConfig(Pointer p)
Pointer(Pointer).public RawAprilTagConfig position(long position)
public RawAprilTagConfig getPointer(long i)
getPointer in class RawBufferpublic RawAprilTagConfig.Family family()
public RawAprilTagConfig family(RawAprilTagConfig.Family setter)
@Cast(value="std::int32_t") public int quadDecimate()
public RawAprilTagConfig quadDecimate(int setter)
public float quadSigma()
public RawAprilTagConfig quadSigma(float setter)
@Cast(value="bool") public boolean refineEdges()
public RawAprilTagConfig refineEdges(boolean setter)
public float decodeSharpening()
public RawAprilTagConfig decodeSharpening(float setter)
@Cast(value="std::int32_t") public int maxHammingDistance()
public RawAprilTagConfig maxHammingDistance(int setter)
@ByRef public RawAprilTagConfig.QuadThresholds quadThresholds()
public RawAprilTagConfig quadThresholds(RawAprilTagConfig.QuadThresholds setter)
public void serialize(@Cast(value="std::uint8_t*") @StdVector BytePointer metadata, @ByRef @Cast(value="dai::DatatypeEnum*") IntPointer datatype)
public void serialize(@Cast(value="std::uint8_t*") @StdVector ByteBuffer metadata, @ByRef @Cast(value="dai::DatatypeEnum*") IntBuffer datatype)
Copyright © 2023. All rights reserved.