发明名称 Method and apparatus for specific image detection
摘要 Detecting a specific image applicable at a website includes detecting an existence of a frame of the specific image. The specific image applicable at the website is obtained. An edge characteristic value of each pixel of the image is calculated. A pixel whose edge characteristic value is a local maximum value is found along a slope direction of each pixel. When the edge characteristic value of the found pixel is larger than a preset characteristic value threshold, a preset color is used to fill the pixel. The specific image is scanned. An amount of pixels whose color is the preset color at each scanning line of the specific image is counted. When the amount of such pixels at a scanning line is larger than a preset number threshold, a line where the scanning line locates is determined as an edge line of the frame.
申请公布号 US9104945(B2) 申请公布日期 2015.08.11
申请号 US201414312479 申请日期 2014.06.23
申请人 Alibaba Group Holding Limited 发明人 Liang Ningqing;Jiang Feijun;Zhang Zengming;Chen Depin
分类号 G06K9/00;G06K9/46;G06T7/00 主分类号 G06K9/00
代理机构 Lee & Hayes, PLLC 代理人 Lee & Hayes, PLLC
主权项 1. A method comprising: obtaining a specific image; calculating an edge characteristic value of multiple pixels of the specific image; finding a pixel whose edge characteristic value is a local maximum value along a slope direction of the pixel; when the edge characteristic value of the found pixel is larger than a preset characteristic value threshold, filling the pixel whose edge characteristic value is the local maximum value with a preset color; scanning the specific image; counting an amount of pixels whose color is the preset color at a scanning line of the specific image; and when the amount of pixels whose color is the preset color is larger than a preset number threshold, determining a line where the scanning line locates as an edge line of a frame of the specific image.
地址 Grand Cayman KY