Hello everyone, I am just beginning to dabble in learning vision processing for robots, and the Pixy looks amazing. After purchasing one, setting it up, and getting it working on my Beaglebone Blue, I quickly hit a snag in trying to find the complete Api references for Pixy python coding. My Beaglebone is headless, so there is no screen, and I had difficulty getting the docs to work. However, Swig is amazing. Built an entire help system. I have not had a chance to clean this up, but thought I would try to post the raw code output just the same. I spent a long time looking for this info, and hope it can help somebody else.
FILE
/var/lib/cloud9/pixy/pixy2/build/python_demos/pixy.py
DESCRIPTION
# This file was automatically generated by SWIG (http://www.swig.org).
# Version 3.0.10
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
CLASSES
__builtin__.object
BarcodeArray
Block
BlockArray
IntersectionLine
IntersectionLineArray
Vector
VectorArray
class BarcodeArray(__builtin__.object)
| Methods defined here:
|
| __del__ lambda self
|
| __getattr__ lambda self, name
|
| __getitem__(self, index)
|
| __init__(self, nelements)
|
| __repr__ = _swig_repr(self)
|
| __setattr__ lambda self, name, value
|
| __setitem__(self, index, value)
|
| cast(self)
|
| ----------------------------------------------------------------------
| Static methods defined here:
|
| frompointer = BarcodeArray_frompointer(...)
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| __dict__
| dictionary for instance variables (if defined)
|
| __weakref__
| list of weak references to the object (if defined)
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __swig_destroy__ = <built-in function delete_BarcodeArray>
|
|
| __swig_getmethods__ = {}
|
| __swig_setmethods__ = {}
class Block(__builtin__.object)
| Methods defined here:
|
| __del__ lambda self
|
| __getattr__ lambda self, name
|
| __init__(self)
|
| __repr__ = _swig_repr(self)
|
| __setattr__ lambda self, name, value
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| __dict__
| dictionary for instance variables (if defined)
|
| __weakref__
| list of weak references to the object (if defined)
|
| m_age
|
| m_angle
|
| m_height
|
| m_index
|
| m_signature
|
| m_width
|
| m_x
|
| m_y
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __swig_destroy__ = <built-in function delete_Block>
|
|
| __swig_getmethods__ = {'m_age': <built-in function Block_m_age_get>, '...
|
| __swig_setmethods__ = {'m_age': <built-in function Block_m_age_set>, '...
class BlockArray(__builtin__.object)
| Methods defined here:
|
| __del__ lambda self
|
| __getattr__ lambda self, name
|
| __getitem__(self, index)
|
| __init__(self, nelements)
|
| __repr__ = _swig_repr(self)
|
| __setattr__ lambda self, name, value
|
| __setitem__(self, index, value)
|
| cast(self)
|
| ----------------------------------------------------------------------
| Static methods defined here:
|
| frompointer = BlockArray_frompointer(...)
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| __dict__
| dictionary for instance variables (if defined)
|
| __weakref__
| list of weak references to the object (if defined)
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __swig_destroy__ = <built-in function delete_BlockArray>
|
|
| __swig_getmethods__ = {}
|
| __swig_setmethods__ = {}
class IntersectionLine(__builtin__.object)
| Methods defined here:
|
| __del__ lambda self
|
| __getattr__ lambda self, name
|
| __init__(self)
|
| __repr__ = _swig_repr(self)
|
| __setattr__ lambda self, name, value
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| __dict__
| dictionary for instance variables (if defined)
|
| __weakref__
| list of weak references to the object (if defined)
|
| m_angle
|
| m_index
|
| m_reserved
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __swig_destroy__ = <built-in function delete_IntersectionLine>
|
|
| __swig_getmethods__ = {'m_angle': <built-in function IntersectionLine_...
|
| __swig_setmethods__ = {'m_angle': <built-in function IntersectionLine_...
class IntersectionLineArray(__builtin__.object)
| Methods defined here:
|
| __del__ lambda self
|
| __getattr__ lambda self, name
|
| __getitem__(self, index)
|
| __init__(self, nelements)
|
| __repr__ = _swig_repr(self)
|
| __setattr__ lambda self, name, value
|
| __setitem__(self, index, value)
|
| cast(self)
|
| ----------------------------------------------------------------------
| Static methods defined here:
|
| frompointer = IntersectionLineArray_frompointer(...)
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| __dict__
| dictionary for instance variables (if defined)
|
| __weakref__
| list of weak references to the object (if defined)
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __swig_destroy__ = <built-in function delete_IntersectionLineArray>
|
|
| __swig_getmethods__ = {}
|
| __swig_setmethods__ = {}
class Vector(__builtin__.object)
| Methods defined here:
|
| __del__ lambda self
|
| __getattr__ lambda self, name
|
| __init__(self)
|
| __repr__ = _swig_repr(self)
|
| __setattr__ lambda self, name, value
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| __dict__
| dictionary for instance variables (if defined)
|
| __weakref__
| list of weak references to the object (if defined)
|
| m_flags
|
| m_index
|
| m_x0
|
| m_x1
|
| m_y0
|
| m_y1
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __swig_destroy__ = <built-in function delete_Vector>
|
|
| __swig_getmethods__ = {'m_flags': <built-in function Vector_m_flags_ge...
|
| __swig_setmethods__ = {'m_flags': <built-in function Vector_m_flags_se...
class VectorArray(__builtin__.object)
| Methods defined here:
|
| __del__ lambda self
|
| __getattr__ lambda self, name
|
| __getitem__(self, index)
|
| __init__(self, nelements)
|
| __repr__ = _swig_repr(self)
|
| __setattr__ lambda self, name, value
|
| __setitem__(self, index, value)
|
| cast(self)
|
| ----------------------------------------------------------------------
| Static methods defined here:
|
| frompointer = VectorArray_frompointer(...)
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| __dict__
| dictionary for instance variables (if defined)
|
| __weakref__
| list of weak references to the object (if defined)
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __swig_destroy__ = <built-in function delete_VectorArray>
|
|
| __swig_getmethods__ = {}
|
| __swig_setmethods__ = {}
FUNCTIONS
BarcodeArray_frompointer(...)
BarcodeArray_swigregister(...)
BlockArray_frompointer(...)
BlockArray_swigregister(...)
Block_swigregister(...)
IntersectionLineArray_frompointer(...)
IntersectionLineArray_swigregister(...)
IntersectionLine_swigregister(...)
VectorArray_frompointer(...)
VectorArray_swigregister(...)
Vector_swigregister(...)
ccc_get_blocks(...)
change_prog(...)
get_frame_height(...)
get_frame_width(...)
init(...)
line_get_all_features(...)
line_get_barcodes(...)
line_get_intersections(...)
line_get_main_features(...)
line_get_vectors(...)
set_servos(...)
video_get_RGB(...)