|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object Facemorph.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 useMethod Detail |
---|
public java.lang.Object[] getControls()
getControls
in interface javax.media.Controls
public java.lang.Object getControl(java.lang.String controlType)
getControl
in interface javax.media.Controls
controlType
- 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.PlugIn
javax.media.ResourceUnavailableException
public void close()
close
in interface javax.media.PlugIn
public void reset()
reset
in interface javax.media.PlugIn
public javax.media.Format[] getSupportedInputFormats()
getSupportedInputFormats
in interface javax.media.Codec
public javax.media.Format[] getSupportedOutputFormats(javax.media.Format input)
getSupportedOutputFormats
in interface javax.media.Codec
input
- the input format
public javax.media.Format setInputFormat(javax.media.Format format)
setInputFormat
in interface javax.media.Codec
format
- the new format
public javax.media.Format setOutputFormat(javax.media.Format format)
setOutputFormat
in interface javax.media.Codec
format
- the new format
public int process(javax.media.Buffer input, javax.media.Buffer output)
process
in interface javax.media.Codec
input
- the input bufferoutput
- the output buffer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |