SMC Platform and Adaboost Face Tracking
• Introduction to SMC system architecture
• Introduction to Ethernet protocol
• Implementation on SMC board
• Adaboost Face Tracking Algorithm and application
Composite video(CVBS)
• Format of analog television (picture only)
• Composite of Y U V.
• Standard format– NTSC (525-line/60Hz)– PAL (625-line/50Hz ) ♪
S-Video (S-VHS)
• Separate Y , C signal.
• Simple to convert S-Video to composite signal.
Pin 1 GND Ground (Y)
Pin 2 GND Ground (C)
Pin 3 Y Intensity (Luminance)
Pin 4 C Color (Chrominance)
VGA(Video Graphics Array)
• Maximum of 720 horizontal pixels
• Maximum of 480 lines
• Refresh rates at up to 70 Hz
RS232 vs RS485
SPECIFICATIONS RS232 RS485
Mode of Operation
SINGLE-ENDED
DIFFERENTIAL
Maximum Cable Length
50 FT. 4000 FT.
JTAG( Joint Test Action Group )
• Formed in 1985 to develop a method to test populated circuit boards after manufacture.
• Primarily used for accessing sub-blocks of integrated circuits, and is also useful as a mechanism for debugging embedded systems.
IEEE 802.3 CSMA/CD
• Carrier Sense Multiple Access with Collision DetectionFrame
TransmitterFrameReceiver
TransmitFrame
TransmitDataEncap
ComputePad CRC32
TransmitLinkMgmt
WatchForCollision BackOff
StartTransmit Random
BitTransmitter
PhysicalEncap
StartJam NextBit
TransmitBit Wait
ReceiveFame
ReceiveDataDecap
RecognizeAddress RemovePad
ReceiveLinkMgmt
StartReceive
Deference
RealTimeDelay
BitReceiver
PhysicalDecap
ReceiveBit
MEDIA ACCESS SUBLAYER
LLC SUBLAYER
PHYSICAL LATER
TRANSMITRECEIV
E
MEDIUMMANAGEMENT
FRAMING
IEEE 802.3 CSMA/CD
MAC Sublayer 5 processes• Frame transmit process (Data encapsulation & Transmit media
access management )• Bit transmit process• Bit receive process• Frame receive process (Data decapsulation & Receive media a
ccess management )• Deference process (Half-duplex mode & Full-duplex mode )
Flow Control -> Pause Frame
• Transmit frame process TransmitFrame
TransmitENABLE?
assemble frame
defferringon?
start transmission
collisionDetect?
transmissionDone?
too many attempts?
incrementattempts
send jam
computbackoff
wait backofftime
Done:excessiveCollisionError
Done:transmitOK
Done:transmitDisabled
no
yes
no
yes
no
yes
no
yes
yes
no
• Receive frame process
ReceiveFrame
ReceiveEnable
StartReceiving
DoneReceiving
RecognizeAddress
Frame tooLong
ExtraBits
Disassemble Frame
Done:ReceiveOK
Done:Length Error
Done:Frame too Long
no
no
no
yes
yes
yes
Frame too Small
Valid FrameCheck
Sequence
Valid Length
Done:Alignment Error
Done:Frame Check Error
Done:ReceiveDisabled
no
no
no
non
o
yes
yes
yes
yes
yes
• Deference process
ChannelBusy
channel free
frame wainting
no
no
no
yes
yes
yes
defferring on
deferring off
Ethernet protocol
• Bit transmit process and bit receive process
transmission started
end of frame
no
no
yes
yes
transmit a bit
transmission done
receiving started
carrier sense on
no
no
yes
yes
receive a bit
receiving done
Ethernet protocol
MII (Media Independent Interface)• Independent Interface Enable to use different mediu
m of Physical layer • The linkage between MAC layer and Physical layer • The linkage between Physical layer and Station managem
ent (MDIO)• The synchronization of data transmit and the clock period
of transmit and receiveMDIO (Management Data Input /Output)• The communication between Physical layer and Station m
anagement
Find Adaboost Face Tracking code
Test performance using picture or
Web Cam
Analyze Source Code
Test performance using Camera
Edit Code on VCPort to CCS (Data from computer)
Port to CCS (DATA from
Camera)Speed Up
Combine with Ethernet
&RS232
Implementation on SMC board
Program Source
• Georgia Institute of Technology
• Code released at 2005
• Contain multiple training method
• Contain trained data based• Fast Asymmetric Learning for Cascade Face Detection-J Wu, SC Br
ubaker, MD Mullin, JM Rehg - 2005
Progress
• Remove MFC (Window GUI )
• Remove learning part
• Remove OpenCV
• Remove iostream (132KB)
• Remove c++ vector