​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​

When using the API, which settings take an integer? a bool? a floating point? or a string?

asked 10 Apr '15, 16:21

phyatt's gravatar image

phyatt ♦♦
15792054
accept rate: 8%


Below are all the values listed with their typical type.

For all the values that use an int you can pass in a float, but it will get truncated to an int.

For any of the values listed below you can pass in a string, and the API will use a typical string to number converter like atoi.

For the AEye cameras, the values are passed onto the camera from the dll as a string.

For full descriptions of all these api settings in QuickLink2, please see the doxygen documentation included in the API download.

QL_SETTING_DEVICE_BANDWIDTH_MODEenumeration => int
QL_SETTING_DEVICE_BANDWIDTH_PERCENT_FULLpercentage => int (0-100)
QL_SETTING_DEVICE_BANDWIDTH_PERCENT_TRACKINGpercentage => int (0-100)
QL_SETTING_DEVICE_BINNINGint (1-4)
QL_SETTING_DEVICE_CALIBRATE_ENABLEDbool (true/false) or int (1/0)
QL_SETTING_DEVICE_DISTANCEcentimeters => int (0 - 300)
QL_SETTING_DEVICE_EXPOSUREmilliseconds => int (0 - 30)
QL_SETTING_DEVICE_FLIP_Xbool (true/false) or int (1/0)
QL_SETTING_DEVICE_FLIP_Ybool (true/false) or int (1/0)
QL_SETTING_DEVICE_GAIN_MODEenumeration => int
QL_SETTING_DEVICE_GAIN_VALUEint (0 - 100)
QL_SETTING_DEVICE_GAZE_POINT_FILTER_MODEenumeration => int
QL_SETTING_DEVICE_GAZE_POINT_FILTER_VALUEint (0 - 200)
QL_SETTING_DEVICE_IMAGE_PROCESSING_ENABLEDbool (true/false) or int (1/0)
QL_SETTING_DEVICE_IMAGE_PROCESSING_EYES_TO_FINDenumeration => int
QL_SETTING_DEVICE_IMAGE_PROCESSING_EYE_RADIUS_LEFTradius in centimeters => float
QL_SETTING_DEVICE_IMAGE_PROCESSING_EYE_RADIUS_RIGHTradius in centimeters => float
QL_SETTING_DEVICE_INTERPOLATE_ENABLEDbool (true/false) or int (1/0)
QL_SETTING_DEVICE_IR_LIGHT_MODEenumeration => int
QL_SETTING_DEVICE_LENS_FOCAL_LENGTHcentimeters => float (0.8, 1.2, 1.6, 2.5, 3.5, 5.0 are typical lens sizes - 0.8 cm = 8 mm lens)
QL_SETTING_DEVICE_ROI_MOVE_THRESHOLD_PERCENT_Xpercentage => int (0-100)
QL_SETTING_DEVICE_ROI_MOVE_THRESHOLD_PERCENT_Ypercentage => int (0-100)
QL_SETTING_DEVICE_ROI_SIZE_PERCENT_Xpercentage => int (0-100)
QL_SETTING_DEVICE_ROI_SIZE_PERCENT_Ypercentage => int (0-100)
QL_SETTING_DEVICE_DOWNSAMPLE_SCALE_FACTORratio => float (0, 1.0 - 20.0)
link

answered 17 Apr '15, 10:21

phyatt's gravatar image

phyatt ♦♦
15792054
accept rate: 8%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×29
×12
×12
×8
×1

Asked: 10 Apr '15, 16:21

Seen: 750 times

Last updated: 17 Apr '15, 10:21

Copyright © 2014-2017 EyeTech Digital Systems Inc. All rights reserved. | About | FAQ | Privacy | Support | Contact | Powered by BitNami OSQA