Class ArucoObjectCreator
Create and display images of an ArUco object ready to be printed.
See the OpenCV documentation for more information about the marker creation (second section of the following tutorial): http://docs.opencv.org/3.2.0/d5/dae/tutorial_aruco_detection.html
Inherited Members
Namespace: ArucoUnity.Objects.Displayers
Assembly: Assembly-CSharp.dll
Syntax
public class ArucoObjectCreator : ArucoObjectDisplayer
Fields
| Improve this Doc View SourcepixelsToMetersFactor
Declaration
public const float pixelsToMetersFactor = 0.001F
Field Value
Type | Description |
---|---|
Single |
Properties
| Improve this Doc View SourceAutoSaveImage
Gets or sets if the ImageTexture is automatically saved in play mode.
Declaration
public bool AutoSaveImage { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
ImageFilename
Gets or sets the name of the image, without the extension (.png added automatically). If null, it will be generated automatically.
Declaration
public string ImageFilename { get; set; }
Property Value
Type | Description |
---|---|
String |
OutputFolder
Gets or sets the output folder for the image, relative to the Application.persistentDataPath folder (default: ArucoUnity/Images/).
Declaration
public string OutputFolder { get; set; }
Property Value
Type | Description |
---|---|
String |
Methods
| Improve this Doc View SourcePlaceImagePlane()
Declaration
protected override void PlaceImagePlane()
Overrides
| Improve this Doc View SourceSaveImage()
Save the
Declaration
public virtual void SaveImage()
UpdateImage()
Calls UpdateImage() then SaveImage() if AutoSaveImage is set. Also set ImageFilename in the editor.
Declaration
protected override void UpdateImage()