当前所在位置:首页>智慧客流>智慧客流统计

商品关注度、区域人数分析 接口开发

时间:2019-06-05 小编:ETAG001 点击:19255

力天创见商品关注度分析,和区域人数分析,根据商场客流监控需求,还可以根据银行来统计客流,以及地铁客流监控系统方案要求,重点关注大客流数据分析。做到高准确率,易于部署的客流统计分析系统。

针对商场客流分析招商的需求,如何提升数据分析报告水平以及含金量,给到客户更有针对性的报表。根据客流热力解决方案,可以使用鱼眼摄像头方案,来解决客流热区分析,来对商品布局,以及顾客行走路线,提供改善意见。

力天创见商品关注度分析,以及区域客流人数分析,可以更好对入店客流进行更为小范围,精准的客流分析。客户在哪些商品停留,停留时间长度,以及每个区域的人数,这样可以更好地做好商品关注度分析,以及区域客流人数统计。

 

功能:上传区域配置参数

URL: /addAreas

请求参数格式:json

例如:

{

shopid: office1,

 areas: [

{

camid: test001,

type: 2

areaid: a01,

areaname: name1,

  arealoc: 12,13,100,108,90,145,110,56

},

{

camid: test001,

type: 2

areaid: a02,

areaname: name2,

  arealoc: 112,113,100,108,90,145,110,56

}

{

camid: test002,

type: 2

areaid: a03,

areaname: name3,

  arealoc: 112,113,100,108,90,145,110,156

}]

}

 

返回结果

名称

类型

说明


code

int

0: 成功,其他:错误代码


msg

string

错误信息(错误时返回)

 

注:在对相机进行删除操作后,服务器端应同时删除与该相机对应的区域信息。

服务器端需建立一张区域表存放区域信息,大致包含:

shopid,camid,type,areaid,areaname,arealoc几个字段;

 

 

获取区域配置

功能

获取区域配置

URL

/getAreas

请求参数

名称

类型

说明


shopid

string

店铺ID


updatetime

string

可选。

如果有,则只返回更新时间大于此值的数据。

返回结果

名称

类型

说明


code

int

0: 成功,其他:错误代码


msg

string

错误信息(错误时返回)


areas

array

areas 数组

areas 结构



与上传操作中的结构相同


shopid

string



camid

string



areaid

string



areaname

string



arealoc

string



type

int

0: 热区相机(->2)1:客流相机, 2:关注度

 

关注度数据

功能

更新热度数据

URL

/update_Popular


Content-Type: multipart/form-data

请求参数

名称

类型

说明


shopid

string



camid

string



arealist

string

a01,a02,a03


width

int



height

int

=关注度相机区域数


timestamp

string

格式:2019-01-01T12:00:00


data

FILE

类型:8位无符号整数数组,

  大小为 width * height

返回结果

名称

类型

说明


code

int

0: 成功,其他:错误代码


msg

string

错误信息(错误时返回)

说明:

例如一个关注度相机test001,划分了3个区域。程序启动后从服务器获取的区域数据为:

{

shopid: office1,

 areas: [

{

camid: test001,

type: 2

areaid: a01,

areaname: name1,

  arealoc: 12,13,100,108,90,145,110,56

},

{

camid: test001,

type: 2

areaid: a02,

areaname: name2,

  arealoc: 112,113,100,108,90,145,110,56

}

{

camid: test001,

type: 2

areaid: a03,

areaname: name3,

  arealoc: 112,113,100,108,90,145,110,156

}

{

camid: test002,

type: 2

areaid: a04,

areaname: name4,

  arealoc: 112,113,100,108,90,145,110,156

}

]}

 

其中,test001相机包含3&

分享: