[go: up one dir, main page]

CN104268537A - Main body detection method based on complex commodity images - Google Patents

Main body detection method based on complex commodity images Download PDF

Info

Publication number
CN104268537A
CN104268537A CN201410542974.2A CN201410542974A CN104268537A CN 104268537 A CN104268537 A CN 104268537A CN 201410542974 A CN201410542974 A CN 201410542974A CN 104268537 A CN104268537 A CN 104268537A
Authority
CN
China
Prior art keywords
image
face
width
method based
height
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410542974.2A
Other languages
Chinese (zh)
Inventor
彭学露
陈永健
黄琦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
HANGZHOU TAOTAOSOU TECHNOLOGY Co Ltd
Original Assignee
HANGZHOU TAOTAOSOU TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by HANGZHOU TAOTAOSOU TECHNOLOGY Co Ltd filed Critical HANGZHOU TAOTAOSOU TECHNOLOGY Co Ltd
Priority to CN201410542974.2A priority Critical patent/CN104268537A/en
Publication of CN104268537A publication Critical patent/CN104268537A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/11Region-based segmentation
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20112Image segmentation details
    • G06T2207/20152Watershed segmentation

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Image Analysis (AREA)

Abstract

The invention discloses a main body detection method based on complex commodity images. Main body area detection is automatically conducted on the input complex images. The method includes the steps that human face detection is conducted, if a human face is detected, a watershed partition method based on the human face is adopted, and if the human face is not detected, a watershed partition method based on an image center area is adopted. The method is particularly suitable for being used in e-commerce and image search shopping websites, a background area is removed, a body area is emphasized, the requirement for the real-time performance of image retrieval is met, and the method serves for a shopping image search engine.

Description

A kind of based on complicated commodity image subject detection method
Technical field
The present invention relates to image procossing and image seek technology FIELD OF THE INVENTIONThe, specifically a kind of body region detection method for shopping items image (dress ornament, footwear and bag).
Background technology
Along with the development of ecommerce and shopping website, picture search receives much concern in academia and industry member.But commodity image scene is complicated, background is mixed and disorderly, multiple target co-occurrence, and illumination and object to block etc. and make picture search become a challenging difficult problem.At shopping website, most typical such as Taobao, seller is in order to attract client, and the modes such as the same money commodity spliced map of often selection street bat, Mo Tetu, multiple color represent commodity.The picture scene of complexity like this, brings very strong noise to picture search, and this can affect the effect of picture search greatly.For reducing the picture search influential effect that ground unrest brings, needing by automatically locating, accurately catching the body region of the conspicuousness in input commodity figure, effectively improving retrieval precision and the efficiency of " to scheme to search figure ", for follow-up feature extraction.
Early stage image subject method for detecting area, comprises Saliency maps method and the image region segmentation scheduling algorithm of computed image.Saliency maps calculates body region by calculating color contrast and spatial contrast degree, effectively can not process the close image of prospect background color.Image segmentation algorithm effectively can not process the mixed and disorderly image of background, and flase drop goes out object in background but not commodity body.
Summary of the invention
The object of the invention is to overcome the deficiencies in the prior art, provide a kind of based on complicated commodity image subject detection method.
The object of the invention is to be achieved through the following technical solutions.Comprise the steps: based on complicated commodity image subject detection method
(1) for the first size scaling of query image of user's input, Face datection is carried out;
(2) if detect face in step (1), face represents with rectangle frame, then take out the face that degree of confidence (with the matching degree of faceform) is maximum, adopts fractional spins, draws the estimation of commodity body rectangular area;
(3) if face do not detected in step (2), then default image central area is prospect, adopts the fractional spins based on picture centre, draws the estimation of commodity body;
The invention has the beneficial effects as follows, comprehensive human face detection tech and fractional spins carry out commodity image subject detection, improve accuracy rate, enhance robustness and the versatility of subject detection in complicated image.
Accompanying drawing explanation
Fig. 1 is the process flow diagram based on complicated commodity image subject detection method.
Embodiment
Here describes the present invention in detail by reference to the accompanying drawings, and object of the present invention and effect will become definitely.
Step 1, for the query image of user's input, on the basis keeping former figure the ratio of width to height, be that 310 pixels carry out convergent-divergent according to wide and high maximal value, the width of to be I, I.width the be image after convergent-divergent of the image after convergent-divergent, I.height is the height of image after convergent-divergent;
Step 2, Face datection is carried out to the query image of input, and export coordinate FC=Rect (FC.x, FC.y, the FC.width of human face region, FC.height), wherein Rect represents rectangle frame, and FC.x is the upper left corner x coordinate of FC, and FC.y is the upper left corner y coordinate of FC, FC.width is the width of FC, and FC.height is the height of FC;
Step 3, if detect face in step 2, if there is multiple face, only gets one that area is maximum; According to face information, image is divided into 3 subregions, foregrounding region F 1=Rect (F 1.x, F 1.y, F 1.width, F 1.height), wherein Rect represents rectangle frame, F 1.x be F 1upper left corner x coordinate, F 1.y be F 1upper left corner y coordinate, F 1.width be F 1width, F 1.height be F 1height, background area comprises the image boundary region that pixel wide is S, and face upper area B 1=Rect (B 1.x, B 1.y, B 1.width, B 1.height), wherein Rect represents rectangle frame, B 1.x be B 1upper left corner x coordinate, B 1.y be B 1upper left corner y coordinate, B 1.width be B 1width, B 1.height be B 1height, remaining area is uncertain region, for above 3 subregions, adopts Beucher S.The watershed transformation applied to image segmentation.Scanning Microsc 1992; The fractional spins of 6:299 – 314.d, then the foreground area after segmentation gets external square, is exactly the body region of commodity;
Background border area pixel width S calculating formula is
S=0.1min(I.width,I.height)
Background area B 1calculating formula be
B 1.x=0
B 1.y=0
B 1.width=I.width
B 1.height=FC.y+FC.height
Foreground area F 1calculating formula be
F 1.x=max(0,FC.x+FC.width/3)
F 1.y=max(0,FC.y+1.5FC.width)
F 1.width=FC.width/2
F 1.height=3FC.height
Step 4, if face do not detected in step 2, then adopts the watershed algorithm based on picture centre, image is divided into 3 subregions, foregrounding region F 2=Rect (F 2.x, F 2.y, F 2.width, F 2.height), wherein Rect represents rectangle frame, F 2.x be F 2upper left corner x coordinate, F 2.y be F 2upper left corner y coordinate, F 2.width be F 2width, F 2.height be F 2height, calculating formula is:
F 2.x=max(0,0.45I.width)
F 2.y=max(0,0.25I.height)
F 2.width=0.1I.width
F 2.height=0.5I.height
The image boundary region of to be pixel wide be in background area S, remaining area is uncertain region, S computing method are with step 3, for above 3 subregions, adopt Beucher S.The watershed transformation applied to image segmentation.Scanning Microsc 1992; The fractional spins of 6:299 – 314.d, the foreground area after segmentation gets external square, is exactly the body region of commodity.

Claims (1)

1., based on a complicated commodity image subject detection method, it is characterized in that: comprise the steps:
(1) for the query image of user's input, size scaling is carried out, Face datection;
(2) if detect face in step (1), face represents with rectangle frame, then take out the face that degree of confidence (with the matching degree of faceform) is maximum, adopt the fractional spins based on face, draw the estimation of commodity body rectangular area;
(3) if face do not detected in step (2), adopt the fractional spins based on picture centre, draw the estimation of commodity body.
CN201410542974.2A 2014-10-14 2014-10-14 Main body detection method based on complex commodity images Pending CN104268537A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410542974.2A CN104268537A (en) 2014-10-14 2014-10-14 Main body detection method based on complex commodity images

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410542974.2A CN104268537A (en) 2014-10-14 2014-10-14 Main body detection method based on complex commodity images

Publications (1)

Publication Number Publication Date
CN104268537A true CN104268537A (en) 2015-01-07

Family

ID=52160057

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410542974.2A Pending CN104268537A (en) 2014-10-14 2014-10-14 Main body detection method based on complex commodity images

Country Status (1)

Country Link
CN (1) CN104268537A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110717865A (en) * 2019-09-02 2020-01-21 苏宁云计算有限公司 Picture detection method and device
CN112905889A (en) * 2021-03-03 2021-06-04 百度在线网络技术(北京)有限公司 Clothing searching method and device, electronic equipment and medium
US11457138B2 (en) 2019-06-28 2022-09-27 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method and device for image processing, method for training object detection model

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100026832A1 (en) * 2008-07-30 2010-02-04 Mihai Ciuc Automatic face and skin beautification using face detection
CN103593834A (en) * 2013-12-03 2014-02-19 厦门美图网科技有限公司 Image enhancement method achieved by intelligently increasing field depth
CN104063444A (en) * 2014-06-13 2014-09-24 百度在线网络技术(北京)有限公司 Method and device for generating thumbnail

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100026832A1 (en) * 2008-07-30 2010-02-04 Mihai Ciuc Automatic face and skin beautification using face detection
CN103593834A (en) * 2013-12-03 2014-02-19 厦门美图网科技有限公司 Image enhancement method achieved by intelligently increasing field depth
CN104063444A (en) * 2014-06-13 2014-09-24 百度在线网络技术(北京)有限公司 Method and device for generating thumbnail

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11457138B2 (en) 2019-06-28 2022-09-27 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method and device for image processing, method for training object detection model
CN110717865A (en) * 2019-09-02 2020-01-21 苏宁云计算有限公司 Picture detection method and device
CN110717865B (en) * 2019-09-02 2022-07-29 苏宁云计算有限公司 Picture detection method and device
CN112905889A (en) * 2021-03-03 2021-06-04 百度在线网络技术(北京)有限公司 Clothing searching method and device, electronic equipment and medium
CN112905889B (en) * 2021-03-03 2024-10-15 百度在线网络技术(北京)有限公司 Clothing searching method and device, electronic equipment and medium

Similar Documents

Publication Publication Date Title
CN102779338B (en) Image processing method and image processing device
CN102999892B (en) Based on the depth image of region mask and the intelligent method for fusing of RGB image
Jiang et al. Salient region detection by ufo: Uniqueness, focusness and objectness
CN109086724B (en) An accelerated face detection method and storage medium
CN106327507B (en) A Color Image Saliency Detection Method Based on Background and Foreground Information
CN103136766B (en) A kind of object conspicuousness detection method based on color contrast and color distribution
CN112364865B (en) A detection method for moving small objects in complex scenes
EP2833322A1 (en) Stereo-motion method of three-dimensional (3-D) structure information extraction from a video for fusion with 3-D point cloud data
CN102779270B (en) Target clothing image extraction method aiming at shopping image search
CN103714547B (en) Image registration method combined with edge regions and cross-correlation
CN101833668B (en) Detection method for similar units based on profile zone image
CN103646391A (en) Real-time camera tracking method for dynamically-changed scene
CN105809651A (en) Image saliency detection method based on edge non-similarity comparison
CN101957909A (en) Digital signal processor (DSP)-based face detection method
CN110349186A (en) Optical flow computation method is moved based on the matched big displacement of depth
CN104268537A (en) Main body detection method based on complex commodity images
Van den Bergh et al. Real-time stereo and flow-based video segmentation with superpixels
Li et al. Moving object detection in dynamic scenes based on optical flow and superpixels
Fang et al. Real-time RGB-D based people detection and tracking system for mobile robots
CN104050674B (en) Salient region detection method and device
CN105809683A (en) Shopping image collaborative segmenting method
CN111860643B (en) Visual template matching robustness improving method based on frequency modulation model
Lin et al. 3D point cloud segmentation using a fully connected conditional random field
Ayoub et al. Visual saliency detection based on color frequency features under Bayesian framework
Ho et al. Markerless indoor/outdoor augmented reality navigation device based on ORB-visual-odometry positioning estimation and wall-floor-boundary image registration

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150107