Object

cogio.webcam

ColorWebcam

Related Doc: package webcam

Permalink

object ColorWebcam

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ColorWebcam
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. sealed trait Format extends AnyRef

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val Colors: Int

    Permalink
  5. object Format

    Permalink
  6. def apply(width: Int = 0, height: Int = 0, deviceNumber: Int = 0, framerate: Double = 0): ColorSensor

    Permalink

    Create a color sensor that captures video from the specified device (defaults to device 0, which usually corresponds to the first webcam installed in a system).

    Create a color sensor that captures video from the specified device (defaults to device 0, which usually corresponds to the first webcam installed in a system). If capture width, height, or framerate are supplied, an attempt is made to apply those parameters to the video stream, but not all webcams support all image sizes or framerates, and may ignore those settings.

  7. def apply(url: String, width: Int, height: Int): libcog.ColorSensor

    Permalink
  8. def apply(url: String, format: Format, width: Int, height: Int): libcog.ColorSensor

    Permalink

    Returns a color sensor that attempts to capture video from the specified network address.

    Returns a color sensor that attempts to capture video from the specified network address. The 'format' parameter is used to coerce the video decoder to assume a particular encoding format, in case it can't guess it correctly on its own. The width or height and height parameters can be used to request a specific resolution from the video source, but of course the source may not support the requested resolution (or may choose to ignore it).

    CAUTION! This function tends to hang if it can't make a connection to the target URL!

  9. def apply(url: String, format: Format): libcog.ColorSensor

    Permalink
  10. def apply(url: String): libcog.ColorSensor

    Permalink

    Returns a color sensor that attempts to capture video from the specified network address.

    Returns a color sensor that attempts to capture video from the specified network address. Attempts to guess the video's encoding format, and uses whatever the default resolution provided by the source is.

    CAUTION! This function tends to hang if it can't make a connection to the target URL!

  11. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  12. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. val lookup: Array[Float]

    Permalink
  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  25. var verbose: Boolean

    Permalink
  26. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped