
SC50MPB: 5 Mega Pixels Serial JPEG Camera User Manual
Spinel USA LLC
www.spinelelectronics.com
13. SMART DETECTION:
13.1 Set smart detection: 56 00 91 0C 02 B0 B1 B2 B3 B4 B5 B6 B7 B8 B9 B10
Return: 76 00 91 02 02 ZZ
B0 ----1 byte enable the detection at startup: 00—disabled(default), 01-enable,
Once enabled, the camera will start the detection automatically at startup.
B1 ----1 byte detection type: 00—motion detection(default), 01—facial detection,
02—vehicle detection
B2 ----1 byte detection sensitivity: range (0-4), 4 is most sensitive, default is 3
B3 ----1 byte detection mode:00—detection only(default), 01—detection + snap
B4 ----1 byte detection alert value: valid only in facial/vehicle detection mode, trigger alert when detect
the number of people (range 1-19)/vehicle (range 1-5)
B5 ---1byte detect distance: valid only in facial/vehicle detection mode,0x02 means 10Meters(default)
B6 ----1 byte target area: 00—turn on, 01—turn off, valid only in facial/vehicle detection mode
B7 ----1byte number of images captured after detection trigger: the detection mode needs to be set
0x01, range (0x01-0x05)
B8 B9 ---2 bytes snap intervals: valid in detection mode=0x01 only, unit in ms
B10 ----1byte next detection time: delay for snapping, valid in detection mode=0x01 only, unit is
second, range (0x01-0xff decimal 1-255)
ZZ ---- 1byte setting results:
0x00 setting success
0x01 wrong setting, please double check the values
0x02 setting not supported
Example:
Send: 56 00 91 0C 02 00 00 03 00 01 02 01 01 00 64 0A
Return: 76 00 91 02 02 00
Command description:
0x56 // fixed frame header
0x00 // ID
0x91 //configuration command
0x0C //Data length
0x02 //subcommand: set smart detection command
0x00 //startup detection: 00-Disable (default),01-Enable
0x00 //Detection mode: 00-motion detection (default),01-facial detection,02-vehicle detection
0x03//Detection sensitivity: range(0x00~0x04), 4 is most sensitive, default is 3
0x00 //Detection mode: 00 – detection only (default) , 01 – detection + snap
0x01 //Detection alert value: valid only in facial/vehicle detection mode, trigger alert when detect the
number of people (range 1-19)/vehicle (range 1-5)
0x02 //Detection distance: reserved, valid only in facial/vehicle detection mode,0x02 means
10Meters(default)