|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectFacemorph.haar.HaarTrackerEffect
public class HaarTrackerEffect
JMF effect based on har object detector
| Field Summary |
|---|
| Fields inherited from interface javax.media.PlugIn |
|---|
BUFFER_PROCESSED_FAILED, BUFFER_PROCESSED_OK, INPUT_BUFFER_NOT_CONSUMED, OUTPUT_BUFFER_NOT_FILLED, PLUGIN_TERMINATED |
| Constructor Summary | |
|---|---|
HaarTrackerEffect(javax.media.Processor p,
HaarReader haar)
Constructor for HaarTrackerEffect |
|
| Method Summary | |
|---|---|
void |
close()
Close the effect |
java.lang.Object |
getControl(java.lang.String controlType)
Always returns null?? |
java.lang.Object[] |
getControls()
Methods required by Controls |
java.lang.String |
getName()
|
javax.media.Format[] |
getSupportedInputFormats()
|
javax.media.Format[] |
getSupportedOutputFormats(javax.media.Format input)
Get the supported output formats |
void |
open()
Open the effect |
int |
process(javax.media.Buffer input,
javax.media.Buffer output)
Process the buffer |
void |
reset()
Reset the effect |
javax.media.Format |
setInputFormat(javax.media.Format format)
Set the input format |
javax.media.Format |
setOutputFormat(javax.media.Format format)
Set the output format |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HaarTrackerEffect(javax.media.Processor p,
HaarReader haar)
p - the processor to usehaar - the haar detector to use| Method Detail |
|---|
public java.lang.Object[] getControls()
getControls in interface javax.media.Controlspublic java.lang.Object getControl(java.lang.String controlType)
getControl in interface javax.media.ControlscontrolType - the control type
public java.lang.String getName()
getName in interface javax.media.PlugIn
public void open()
throws javax.media.ResourceUnavailableException
open in interface javax.media.PlugInjavax.media.ResourceUnavailableExceptionpublic void close()
close in interface javax.media.PlugInpublic void reset()
reset in interface javax.media.PlugInpublic javax.media.Format[] getSupportedInputFormats()
getSupportedInputFormats in interface javax.media.Codecpublic javax.media.Format[] getSupportedOutputFormats(javax.media.Format input)
getSupportedOutputFormats in interface javax.media.Codecinput - the input format
public javax.media.Format setInputFormat(javax.media.Format format)
setInputFormat in interface javax.media.Codecformat - the new format
public javax.media.Format setOutputFormat(javax.media.Format format)
setOutputFormat in interface javax.media.Codecformat - the new format
public int process(javax.media.Buffer input,
javax.media.Buffer output)
process in interface javax.media.Codecinput - the input bufferoutput - the output buffer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||