WO2022134584A1 - Real estate picture verification method and apparatus, computer device and storage medium - Google Patents

Real estate picture verification method and apparatus, computer device and storage medium Download PDF

Info

Publication number
WO2022134584A1
WO2022134584A1 PCT/CN2021/109507 CN2021109507W WO2022134584A1 WO 2022134584 A1 WO2022134584 A1 WO 2022134584A1 CN 2021109507 W CN2021109507 W CN 2021109507W WO 2022134584 A1 WO2022134584 A1 WO 2022134584A1
Authority
WO
WIPO (PCT)
Prior art keywords
real estate
verified
picture
information
actual
Prior art date
Application number
PCT/CN2021/109507
Other languages
French (fr)
Chinese (zh)
Inventor
宋文琳
Original Assignee
深圳壹账通智能科技有限公司
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 深圳壹账通智能科技有限公司 filed Critical 深圳壹账通智能科技有限公司
Publication of WO2022134584A1 publication Critical patent/WO2022134584A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/53Querying
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/583Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/587Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using geographical or spatial information, e.g. location
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/22Matching criteria, e.g. proximity measures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/018Certifying business or products
    • G06Q30/0185Product, service or business identity fraud
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/03Credit; Loans; Processing thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/0021Image watermarking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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
    • G06V40/168Feature extraction; Face representation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2201/00General purpose image data processing
    • G06T2201/005Image watermarking
    • G06T2201/0065Extraction of an embedded watermark; Reliable detection

Definitions

  • the present application relates to the field of artificial intelligence technology, and in particular, to a method, device, computer equipment and storage medium for real estate picture verification.
  • the purpose of the embodiments of the present application is to provide a real estate picture verification method, device, computer equipment and storage medium, so as to solve the problem of real estate picture authenticity verification.
  • the embodiment of the present application provides a real estate picture verification method, which adopts the following technical solutions:
  • the real estate image verification request includes the real estate image to be verified and the real estate information to be verified, wherein the real estate image to be verified contains a digital watermark, and the digital watermark contains the real estate to be verified Location information when the picture was taken;
  • the embodiment of the present application also provides a real estate picture verification device, which adopts the following technical solutions:
  • the receiving module is used to receive a real estate image verification request, where the real estate image verification request includes the real estate image to be verified and the real estate information to be verified, wherein the real estate image to be verified contains a digital watermark, and the digital watermark contains all the real estate images to be verified. Describe the location information of the property to be verified when the picture was taken;
  • a retrieval module used for retrieving a preset database according to the real estate information to be verified, to obtain the actual location of the real estate to be verified, and the preset database at least pre-stores the actual location of the real estate;
  • an extraction module for extracting the location information in the digital watermark
  • a comparison module for comparing whether the position information is consistent with the actual position
  • a determination module configured to determine that the real estate picture has passed the verification when the location information is consistent with the actual location.
  • the embodiment of the present application also provides a computer device, which adopts the following technical solutions:
  • a computer device includes a memory and a processor, wherein computer-readable instructions are stored in the memory, and the processor implements the following steps when executing the computer-readable instructions:
  • the real estate image verification request includes the real estate image to be verified and the real estate information to be verified, wherein the real estate image to be verified contains a digital watermark, and the digital watermark contains the real estate to be verified Location information when the picture was taken;
  • the embodiments of the present application also provide a computer-readable storage medium, which adopts the following technical solutions:
  • a computer device includes a memory and a processor, the memory stores computer-readable instructions, and when the processor executes the computer-readable instructions, the processor further performs the following steps:
  • the real estate image verification request includes the real estate image to be verified and the real estate information to be verified, wherein the real estate image to be verified contains a digital watermark, and the digital watermark contains the real estate to be verified Location information when the picture was taken;
  • the embodiment of the present application mainly has the following beneficial effects: by receiving a real estate image verification request, the real estate image verification request includes the real estate image to be verified and the real estate information to be verified, wherein the real estate image verification request to be verified
  • the real estate picture contains a digital watermark, and the digital watermark includes the location information when the real estate picture to be verified is taken; according to the real estate information to be verified, a preset database is retrieved, and the actual location of the real estate to be verified is obtained,
  • the preset database at least pre-stores the actual location of the property; extracts the location information in the digital watermark; compares whether the location information is consistent with the actual location; when the location information is consistent with the actual location, determine The property pictures are verified.
  • Improve the efficiency of real estate image review By comparing latitude and longitude, altitude and re-taking identification, reduce fraud losses caused by fake photos.
  • FIG. 1 is an exemplary system architecture diagram to which the present application can be applied;
  • FIG. 2 is a flow chart of an embodiment of a real estate picture verification method according to the present application.
  • Fig. 3 is a flow chart of a specific embodiment of obtaining a picture of the real estate to be verified in Fig. 2;
  • FIG. 4 is a schematic structural diagram of an embodiment of a real estate picture verification device according to the present application.
  • FIG. 5 is a schematic structural diagram of an embodiment of a computer device according to the present application.
  • the system architecture 100 may include terminal devices 101 , 102 , and 103 , a network 104 and a server 105 .
  • the network 104 is a medium used to provide a communication link between the terminal devices 101 , 102 , 103 and the server 105 .
  • the network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
  • the user can use the terminal devices 101, 102, 103 to interact with the server 105 through the network 104 to receive or send messages and the like.
  • Various communication client applications may be installed on the terminal devices 101 , 102 and 103 , such as web browser applications, shopping applications, search applications, instant messaging tools, email clients, social platform software, and the like.
  • the terminal devices 101, 102, and 103 can be various electronic devices that have a display screen and support web browsing, including but not limited to smart phones, tablet computers, e-book readers, MP3 players (Moving Picture Experts Group Audio Layer III, dynamic Picture Experts Compression Standard Audio Layer 3), MP4 (Moving Picture Experts Group Audio Layer IV, Moving Picture Experts Compression Standard Audio Layer 4) Players, Laptops and Desktops, etc.
  • MP3 players Moving Picture Experts Group Audio Layer III, dynamic Picture Experts Compression Standard Audio Layer 3
  • MP4 Moving Picture Experts Group Audio Layer IV, Moving Picture Experts Compression Standard Audio Layer 4
  • the server 105 may be a server that provides various services, such as a background server that provides support for the pages displayed on the terminal devices 101 , 102 , and 103 .
  • the real estate image verification method provided by the embodiments of the present application is generally performed by a server/terminal device , and accordingly, the real estate image verification apparatus is generally set in the server/terminal device .
  • terminal devices, networks and servers in FIG. 1 are merely illustrative. There can be any number of terminal devices, networks and servers according to implementation needs.
  • the described real estate image verification method includes the following steps:
  • Step S201 Receive a real estate image verification request, where the real estate image verification request includes the real estate image to be verified and the real estate information to be verified, wherein the real estate image to be verified contains a digital watermark, and the digital watermark contains the real estate image to be verified. Verified location information at the time the property image was taken.
  • the electronic device (such as the server/ terminal device shown in FIG. 1 ) on which the real estate picture verification method operates can receive the real estate picture verification request through a wired connection or a wireless connection, and the real estate picture verification The request contains the image of the property to be verified and the property information to be verified.
  • the above wireless connection methods may include but are not limited to 3G/4G connection, WiFi connection, Bluetooth connection, WiMAX connection, Zigbee connection, UWB (ultra wideband) connection, and other wireless connection methods currently known or developed in the future .
  • the user inputs the information of the property to be verified and the picture of the property to be verified on the interactive interface, and the information of the property to be verified can be one of the property number, the name of the property owner, and the ID.
  • the real estate picture to be verified can be a picture saved on a storage medium in advance, or a picture taken in real time by a device with a camera.
  • the user imports the pre-saved pictures through the interactive interface, or obtains the pictures of the real estate to be verified in real time by invoking the computer-readable instructions for shooting.
  • Step S202 retrieve a preset database according to the real estate information to be verified to obtain the actual position of the real estate to be verified, and the preset database at least pre-stores the actual position of the real estate.
  • the preset database pre-stores the actual location of the real estate, and the preset database is retrieved through the information of the real estate to be verified. one of them.
  • the actual location of the pre-stored property contains at least the location or latitude, longitude and altitude of the property on the preset map.
  • Step S203 extracting the location information in the digital watermark.
  • the process of extracting digital watermark is the reverse process of adding digital watermark.
  • the position information is stored by using the last bit of the RGB value of each pixel of the image.
  • the process of extracting a digital watermark is the inverse of the above process: extract the pixel value, select the last bit, and spell out the information.
  • the digital watermark is extracted through the reverse process of adding, and the location information of the real estate picture to be verified when the picture is taken is obtained.
  • Step S204 comparing whether the location information is consistent with the actual location
  • Step S205 when the location information is consistent with the actual location, it is determined that the real estate picture has passed the verification.
  • the location information in the digital watermark includes latitude and longitude and altitude
  • the latitude and longitude are compared first, and then the altitude is compared.
  • the comparison of latitude and longitude and altitude it can be accurate to the specific floor and specific room of a specific building, which improves the accuracy of real estate picture verification.
  • the real estate image verification request includes the real estate image to be verified and the real estate information to be verified, wherein the real estate image to be verified contains a digital watermark, and the digital watermark contains the to-be-verified real estate image.
  • the location information when the real estate picture was taken retrieve the preset database according to the real estate information to be verified to obtain the actual location of the real estate to be verified, and the preset database at least pre-stores the actual location of the real estate; extract the digital The location information in the watermark; compare whether the location information is consistent with the actual location; when the location information is consistent with the actual location, it is determined that the real estate picture has passed the verification.
  • Improve the efficiency of real estate image review By comparing latitude and longitude, altitude and re-taking identification, reduce fraud losses caused by fake photos.
  • the above electronic device may further perform the following steps:
  • the user wants to use the real-time shooting picture for verification, he can send a real-time shooting request by clicking the real-time shooting option on the interactive interface, receive the real-time shooting request, call the preset picture shooting module and the preset positioning module, the The shooting module and the positioning module are embedded in the same electronic device.
  • electronic devices with cameras are embedded with a picture shooting module.
  • the picture shooting module takes pictures by turning on the camera, and the positioning module simultaneously locates the position information at the time of shooting.
  • the positioning module is based on GPS system, the location information includes latitude, longitude and altitude, and can also be a location mapped to a preset map.
  • the photographed picture and the location information of the positioning are input into the preset digital watermark addition, the location information is added to the photographed picture, and the digital watermarked real estate picture to be verified is obtained.
  • a digital watermark is to embed a specific digital signal into a digital product.
  • the addition of a digital watermark can be based on the following principles: each pixel in an image is usually represented by three RGB values from 0 to 255, and converted to binary, it is 00000000 to 11111111. Set the last digit of each value to all zeros, this change is invisible to the human eye. The last bit freed up in this way can be used to store information.
  • the process of extracting information is the inverse of the above process: extract the pixel value, select the last bit, and spell out the information.
  • Digital watermarking can also be based on spatial domain dark watermarking algorithm, such as Patchwork algorithm, arbitrarily select N pairs of image points, increase the brightness of one point, and correspondingly reduce the brightness value of another point; through this adjustment process, the embedding of the watermark is completed.
  • the algorithm is imperceptible and resistant to lossy compression encoding (JPEG) and some malicious attack processing.
  • Digital watermarking can also be based on transform-domain dark watermarking algorithms, such as the block-based DCT-based digital watermarking technology scheme. Some blocks of the image are randomly selected by a key, and a triplet is slightly changed at the intermediate frequency of the frequency domain to hide the binary. sequence information.
  • the encoding in the intermediate frequency component is chosen because the encoding in the high frequency is easy to be corrupted by various signal processing methods, while the encoding in the low frequency is easy to detect the change of the low frequency component because the human vision is very sensitive to the low frequency component.
  • the digital watermarking algorithm is robust to lossy compression and low-pass filtering.
  • Digital watermarks are not intuitively visible to human vision. By adding a digital watermark of location information to the real estate image to be verified to verify whether the location information is consistent with the actual location, the authenticity of the real estate image can be effectively verified.
  • the above electronic device may perform the following steps:
  • the step of determining that the real estate picture has passed the verification includes:
  • the real estate information to be verified can be the real estate code, the house number, and the preset database is retrieved through the real estate information.
  • the preset database can be the real estate management database preset by the real estate management agency, which at least includes the actual location of the real estate and the actual owner. Information, the actual location at least includes the latitude, longitude and altitude of the property, and the actual holder information at least includes the holder's name and ID.
  • the location information extracted from the digital watermark is compared with the actual location, the property holder information to be verified and the actual holder information are compared, when the property holder information to be verified and the actual holder information are compared.
  • the location information is consistent with the actual location, it is determined that the real estate picture to be verified has passed the verification.
  • the step of comparing the property holder information to be verified and the actual holder information also includes:
  • the actual holder information in the database contains the facial features of the actual holder
  • receive the facial image of the property holder to be verified perform feature extraction on the facial image, compare the similarity between the two, and set a threshold , when the similarity is greater than the set threshold, it is considered that the real estate holder to be verified is the actual holder, and the real estate image verification is continued, otherwise the verification is ended.
  • Identity verification can be performed more effectively through face recognition, preventing users from using real estate that does not actually belong to them for verification.
  • the method before step S202, the method further includes:
  • the real estate picture provided by the user may be a remake
  • verifying when verifying, first determine whether it is a remake, and if it is a remake, end the image verification.
  • the pre-trained neural network model is used to judge.
  • the training steps for a pre-trained neural network model include:
  • N is the number of training samples
  • the corresponding mark for the i-th sample is Yi is the marked result
  • the weight of each node in the neural network model is updated repeatedly and iteratively, until the loss function reaches a minimum value.
  • the categories of the marked pictures are remake pictures and non-remake pictures. It is difficult for the human eye to identify whether they are remake pictures, but the texture features of the remake pictures and non-remake pictures are different.
  • the neural network model is used to learn the texture features of different categories of pictures, and the real estate pictures are processed. Classify and identify the remade real estate pictures, which can prevent users from using the remade real estate pictures for image verification.
  • the above electronic device may perform the following steps:
  • the above-mentioned real estate image verification request information may also be stored in a node of a blockchain.
  • the blockchain referred to in this application is a new application mode of computer technology such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm.
  • Blockchain essentially a decentralized database, is a series of data blocks associated with cryptographic methods. Each data block contains a batch of network transaction information to verify its Validity of information (anti-counterfeiting) and generation of the next block.
  • the blockchain can include the underlying platform of the blockchain, the platform product service layer, and the application service layer.
  • the present application may be used in numerous general purpose or special purpose computer system environments or configurations. For example: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, including A distributed computing environment for any of the above systems or devices, and the like.
  • This application may be described in the general context of computer-executable instructions, such as computer-readable instruction modules, being executed by a computer.
  • modules of computer-readable instructions include routines, computer-readable instructions, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types.
  • the application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network.
  • modules of computer readable instructions may be located in both local and remote computer storage media including storage devices.
  • the computer-readable instructions can be stored in a computer-readable storage medium.
  • the computer-readable instructions when executed, may include the processes of the above-mentioned method embodiments.
  • the aforementioned storage medium may be a non-volatile storage medium such as a magnetic disk, an optical disk, a read-only storage memory (Read-Only Memory, ROM), or a random access memory (Random Access Memory, RAM) or the like.
  • the present application provides an embodiment of a real estate picture verification device, and the device embodiment corresponds to the method embodiment shown in FIG. 2 .
  • the device embodiment corresponds to the method embodiment shown in FIG. 2 .
  • the real estate picture verification device 400 in this embodiment includes: a receiving module 401 , a retrieval module 402 , an extraction module 403 , a comparison module 404 and a determination module 405 . in:
  • the receiving module 401 is configured to receive a real estate image verification request, where the real estate image verification request includes the real estate image to be verified and the real estate information to be verified, wherein the real estate image to be verified contains a digital watermark, and the digital watermark includes The location information when the picture of the property to be verified is taken;
  • the retrieval module 402 is used for retrieving a preset database according to the real estate information to be verified, to obtain the actual position of the real estate to be verified, and the preset database at least pre-stores the actual position of the real estate;
  • Extraction module 403 for extracting the location information in the digital watermark
  • a comparison module 404 configured to compare whether the location information is consistent with the actual location
  • the determining module 405 is configured to determine that the real estate picture has passed the verification when the location information is consistent with the actual location.
  • the real estate image verification request includes the real estate image to be verified and the real estate information to be verified, wherein the real estate image to be verified contains a digital watermark, and the digital watermark Contains the location information of the real estate to be verified when the picture is taken; searches a preset database according to the real estate information to be verified, and obtains the actual location of the real estate to be verified, and the preset database at least pre-stores the actual position of the real estate position; extract the position information in the digital watermark; compare whether the position information is consistent with the actual position; when the position information is consistent with the actual position, it is determined that the real estate picture has passed the verification.
  • Improve the efficiency of real estate image review By comparing latitude and longitude, altitude and re-taking identification, reduce fraud losses caused by fake photos.
  • the receiving module 401 includes:
  • a first obtaining submodule used for obtaining a real-time shooting request
  • the first processing sub-module is configured to call the preset picture shooting module and the preset positioning module according to the real-time shooting request, and obtain the real-time shooting picture and the location information of the real-time shooting location;
  • the first adding submodule is used to convert the location information into a digital watermark and add it to the picture; obtain the real estate picture to be verified with the digital watermark added.
  • the real estate picture verification device further includes:
  • the first receiving sub-module is used to obtain the property holder information to be verified
  • a first retrieval submodule used for retrieving a preset database according to the real estate information to be verified, and obtaining the actual holder information corresponding to the real estate information
  • a first comparison sub-module for comparing the property owner information to be verified with the actual owner information
  • the first judging submodule is used to determine the picture of the property to be verified when the information of the property owner to be verified is consistent with the actual owner information, and the location information is consistent with the actual location approved.
  • the first comparing submodule when the property owner information to be verified received by the first receiving submodule is a face image, the first comparing submodule includes:
  • the first extraction subunit is used for feature extraction of the face image of the property owner to be verified to obtain the face feature to be verified;
  • a first comparison subunit used to calculate the similarity between the face feature to be verified and the face feature of the actual holder
  • a first judging subunit configured to determine that the information of the property owner to be verified is consistent with the information of the actual owner when the similarity is greater than a set threshold.
  • the real estate picture verification device further includes:
  • the first processing submodule is used to input the real estate picture to be verified into a pre-trained neural network model, and obtain a classification result output by the pre-trained neural network model in response to the real estate picture, the classification result be a remake or a non-remake;
  • the second judging submodule is configured to determine that the verification of the real estate picture to be verified fails when the classification result is a retaken picture.
  • the real estate picture verification device further includes:
  • the second acquisition sub-module is used for acquiring training samples, where the training samples are N real estate pictures marked as remake pictures, and N is a positive integer greater than 0;
  • a second processing submodule configured to input the training samples into the neural network model, and obtain N prediction results output by the neural network model in response to the N real estate pictures;
  • the first comparison sub-module is used to compare whether the N prediction results are consistent with the label through a loss function, wherein the loss function is:
  • N is the number of training samples
  • Yi is the labeling result for the ith sample
  • the first adjustment sub-module is used to adjust the parameters of each node in the neural network model, and ends when the loss function reaches a minimum value to obtain the pre-trained neural network model.
  • the real estate picture verification device further includes:
  • the storage module is used to store the received real estate picture verification request in the blockchain.
  • FIG. 5 is a block diagram of a basic structure of a computer device according to this embodiment.
  • the computer device 5 includes a memory 51 , a processor 52 , and a network interface 53 that communicate with each other through a system bus. It should be pointed out that only the computer device 5 with components 51-53 is shown in the figure, but it should be understood that it is not required to implement all of the shown components, and more or less components may be implemented instead. Among them, those skilled in the art can understand that the computer device here is a device that can automatically perform numerical calculation and/or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to microprocessors, special-purpose Integrated circuit (Application Specific Integrated Circuit, ASIC), programmable gate array (Field-Programmable Gate Array, FPGA), digital processor (Digital Signal Processor, DSP), embedded equipment, etc.
  • ASIC Application Specific Integrated Circuit
  • FPGA Field-Programmable Gate Array
  • DSP Digital Signal Processor
  • the computer equipment may be a desktop computer, a notebook computer, a palmtop computer, a cloud server and other computing equipment.
  • the computer device can perform human-computer interaction with the user through a keyboard, a mouse, a remote control, a touch pad or a voice control device.
  • the memory 51 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static Random Access Memory (SRAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), Programmable Read Only Memory (PROM), Magnetic Memory, Magnetic Disk, Optical Disk, etc.
  • the computer-readable storage medium may be non-volatile or volatile.
  • the memory 51 may be an internal storage unit of the computer device 5 , such as a hard disk or a memory of the computer device 5 .
  • the memory 51 may also be an external storage device of the computer device 5, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, flash memory card (Flash Card), etc.
  • the memory 51 may also include both the internal storage unit of the computer device 5 and its external storage device.
  • the memory 51 is generally used to store the operating system and various application software installed on the computer device 5 , such as computer-readable instructions for a real estate image verification method.
  • the memory 51 can also be used to temporarily store various types of data that have been output or will be output.
  • the processor 52 may be a central processing unit (Central Processing Unit, CPU), a controller, a microcontroller, a microprocessor, or other data processing chips. This processor 52 is typically used to control the overall operation of the computer device 5 . In this embodiment, the processor 52 is configured to execute computer-readable instructions stored in the memory 51 or process data, for example, computer-readable instructions for executing the method for verifying a real estate picture.
  • CPU Central Processing Unit
  • controller a microcontroller
  • microprocessor microprocessor
  • This processor 52 is typically used to control the overall operation of the computer device 5 .
  • the processor 52 is configured to execute computer-readable instructions stored in the memory 51 or process data, for example, computer-readable instructions for executing the method for verifying a real estate picture.
  • the network interface 53 may include a wireless network interface or a wired network interface, and the network interface 53 is generally used to establish a communication connection between the computer device 5 and other electronic devices.
  • the real estate image verification request includes the real estate image to be verified and the real estate information to be verified, wherein the real estate image to be verified contains a digital watermark, and the digital watermark contains the to-be-verified real estate image.
  • the location information when the real estate picture was taken retrieve the preset database according to the real estate information to be verified to obtain the actual location of the real estate to be verified, and the preset database at least pre-stores the actual location of the real estate; extract the digital The location information in the watermark; compare whether the location information is consistent with the actual location; when the location information is consistent with the actual location, it is determined that the real estate picture has passed the verification.
  • Improve the efficiency of real estate image review By comparing latitude and longitude, altitude and re-taking identification, reduce fraud losses caused by fake photos.
  • the present application also provides another embodiment, that is, to provide a computer-readable storage medium, where the computer-readable storage medium stores computer-readable instructions, and the computer-readable instructions can be executed by at least one processor to The at least one processor is caused to perform the steps of the above-mentioned real estate picture verification method.
  • the real estate image verification request includes the real estate image to be verified and the real estate information to be verified, wherein the real estate image to be verified contains a digital watermark, and the digital watermark contains the to-be-verified real estate image.
  • the location information when the real estate picture was taken retrieve the preset database according to the real estate information to be verified to obtain the actual location of the real estate to be verified, and the preset database at least pre-stores the actual location of the real estate; extract the digital The location information in the watermark; compare whether the location information is consistent with the actual location; when the location information is consistent with the actual location, it is determined that the real estate picture has passed the verification.
  • Improve the efficiency of real estate image review By comparing latitude and longitude, altitude and re-taking identification, reduce fraud losses caused by fake photos.
  • the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation.
  • the technical solution of the present application can be embodied in the form of a software product in essence or in a part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of this application.
  • a storage medium such as ROM/RAM, magnetic disk, CD-ROM

Abstract

Provided are a real estate picture verification method and apparatus, a computer device, and a storage medium. The method comprises: receiving a real estate picture verification request, wherein the real estate picture verification request comprises a real estate picture to be verified and real estate information to be verified, said real estate picture comprises a digital watermark, and the digital watermark comprises position information of said real estate picture when being photographed (S201); retrieving a preset database according to said real estate information to obtain the actual position of a real estate to be verified; extracting the position information in the digital watermark (S203); comparing whether the position information is consistent with the actual position or not (S204); and if the position information is consistent with the actual position, determining that the real estate picture passes verification (S205). The auditing efficiency of the real estate picture is improved, and the fraud loss caused by photo counterfeiting is reduced.

Description

房产图片验证方法、装置、计算机设备及存储介质Real estate picture verification method, device, computer equipment and storage medium
本申请要求于2020年12月22日提交中国专利局、申请号为202011528048.1,发明This application is required to be submitted to the China Patent Office on December 22, 2020, the application number is 202011528048.1, the invention 名称为“房产图片验证方法、装置、计算机设备及存储介质”的中国专利申请的优先权,The priority of the Chinese patent application titled "Method, Apparatus, Computer Equipment and Storage Medium for Real Estate Picture Verification", 其全部内容通过引用结合在本申请中。The entire contents of which are incorporated herein by reference.
技术领域technical field
本申请涉及人工智能技术领域,尤其涉及房产图片验证方法、装置、计算机设备及存储介质。The present application relates to the field of artificial intelligence technology, and in particular, to a method, device, computer equipment and storage medium for real estate picture verification.
背景技术Background technique
在贷款业务-房产抵押贷款场景中,业务人员需要到现场拍摄房产信息,如内景图片、电梯图片、小区环境图片,用于核实房产真实性和进行房产估值。发明人意识到,在订单量较多的情况下,会产生较多的人力成本。In the loan business - real estate mortgage loan scenario, business personnel need to go to the scene to take real estate information, such as interior pictures, elevator pictures, and residential environment pictures, to verify the authenticity of the real estate and conduct real estate valuation. The inventor realizes that in the case of a large order quantity, more labor costs will be incurred.
随着互联网技术的发展,通过用户自主上传房产图片进行房产评估,既方便了用户,使用户可以根据需求在没有业务员到场的场景下自助申请贷款业务,又节省了业务员的人力成本。但同时可能存在用户伪造房产图片的情况发生。With the development of Internet technology, users can upload real estate pictures for real estate evaluation, which is convenient for users, allowing users to apply for loan business by themselves without the presence of salespersons according to their needs, and saves the labor cost of salespersons. But at the same time, there may be cases where users fake real estate pictures.
发明内容SUMMARY OF THE INVENTION
本申请实施例的目的在于提出一种房产图片验证方法、装置、计算机设备及存储介质,以解决房产图片真伪验证问题。The purpose of the embodiments of the present application is to provide a real estate picture verification method, device, computer equipment and storage medium, so as to solve the problem of real estate picture authenticity verification.
为了解决上述技术问题,本申请实施例提供一种房产图片验证方法,采用了如下所述的技术方案:In order to solve the above-mentioned technical problems, the embodiment of the present application provides a real estate picture verification method, which adopts the following technical solutions:
接收房产图片验证请求,所述房产图片验证请求中包含待验证的房产图片和待验证的房产信息,其中,所述待验证的房产图片含数字水印,所述数字水印包含所述待验证的房产图片拍摄时的位置信息;Receive a real estate image verification request, where the real estate image verification request includes the real estate image to be verified and the real estate information to be verified, wherein the real estate image to be verified contains a digital watermark, and the digital watermark contains the real estate to be verified Location information when the picture was taken;
根据所述待验证的房产信息检索预设的数据库,获得所述待验证的房产的实际位置,所述预设的数据库至少预存房产的实际位置;Retrieves a preset database according to the real estate information to be verified, and obtains the actual location of the real estate to be verified, and the preset database at least pre-stores the actual location of the real estate;
提取所述数字水印中的位置信息;extracting the location information in the digital watermark;
比较所述位置信息和所述实际位置是否一致;comparing whether the location information is consistent with the actual location;
当所述位置信息与所述实际位置一致时,确定所述房产图片通过验证。When the location information is consistent with the actual location, it is determined that the real estate picture has passed the verification.
为了解决上述技术问题,本申请实施例还提供一种房产图片验证装置,采用了如下所述的技术方案:In order to solve the above technical problems, the embodiment of the present application also provides a real estate picture verification device, which adopts the following technical solutions:
接收模块,用于接收房产图片验证请求,所述房产图片验证请求中包含待验证的房产图片和待验证的房产信息,其中,所述待验证的房产图片含数字水印,所述数字水印包含所述待验证的房产图片拍摄时的位置信息;The receiving module is used to receive a real estate image verification request, where the real estate image verification request includes the real estate image to be verified and the real estate information to be verified, wherein the real estate image to be verified contains a digital watermark, and the digital watermark contains all the real estate images to be verified. Describe the location information of the property to be verified when the picture was taken;
检索模块,用于根据所述待验证的房产信息检索预设的数据库,获得所述待验证的房产的实际位置,所述预设的数据库至少预存房产的实际位置;a retrieval module, used for retrieving a preset database according to the real estate information to be verified, to obtain the actual location of the real estate to be verified, and the preset database at least pre-stores the actual location of the real estate;
提取模块,用于提取所述数字水印中的位置信息;an extraction module for extracting the location information in the digital watermark;
比较模块,用于比较所述位置信息和所述实际位置是否一致;a comparison module for comparing whether the position information is consistent with the actual position;
确定模块,用于当所述位置信息与所述实际位置一致时,确定所述房产图片通过验证。A determination module, configured to determine that the real estate picture has passed the verification when the location information is consistent with the actual location.
为了解决上述技术问题,本申请实施例还提供一种计算机设备,采用了如下所述的技术方案:In order to solve the above-mentioned technical problems, the embodiment of the present application also provides a computer device, which adopts the following technical solutions:
一种计算机设备,包括存储器和处理器,存储器中存储有计算机可读指令,处理器执行计算机可读指令时实现如下步骤:A computer device includes a memory and a processor, wherein computer-readable instructions are stored in the memory, and the processor implements the following steps when executing the computer-readable instructions:
接收房产图片验证请求,所述房产图片验证请求中包含待验证的房产图片和待验证的 房产信息,其中,所述待验证的房产图片含数字水印,所述数字水印包含所述待验证的房产图片拍摄时的位置信息;Receive a real estate image verification request, where the real estate image verification request includes the real estate image to be verified and the real estate information to be verified, wherein the real estate image to be verified contains a digital watermark, and the digital watermark contains the real estate to be verified Location information when the picture was taken;
根据所述待验证的房产信息检索预设的数据库,获得所述待验证的房产的实际位置,所述预设的数据库至少预存房产的实际位置;Retrieves a preset database according to the real estate information to be verified, and obtains the actual location of the real estate to be verified, and the preset database at least pre-stores the actual location of the real estate;
提取所述数字水印中的位置信息;extracting the location information in the digital watermark;
比较所述位置信息和所述实际位置是否一致;comparing whether the location information is consistent with the actual location;
当所述位置信息与所述实际位置一致时,确定所述房产图片通过验证。When the location information is consistent with the actual location, it is determined that the real estate picture has passed the verification.
为了解决上述技术问题,本申请实施例还提供一种计算机可读存储介质,采用了如下所述的技术方案:In order to solve the above technical problems, the embodiments of the present application also provide a computer-readable storage medium, which adopts the following technical solutions:
一种计算机设备,包括存储器和处理器,存储器中存储有计算机可读指令,处理器执行计算机可读指令时,使得所述处理器还执行如下步骤:A computer device includes a memory and a processor, the memory stores computer-readable instructions, and when the processor executes the computer-readable instructions, the processor further performs the following steps:
接收房产图片验证请求,所述房产图片验证请求中包含待验证的房产图片和待验证的房产信息,其中,所述待验证的房产图片含数字水印,所述数字水印包含所述待验证的房产图片拍摄时的位置信息;Receive a real estate image verification request, where the real estate image verification request includes the real estate image to be verified and the real estate information to be verified, wherein the real estate image to be verified contains a digital watermark, and the digital watermark contains the real estate to be verified Location information when the picture was taken;
根据所述待验证的房产信息检索预设的数据库,获得所述待验证的房产的实际位置,所述预设的数据库至少预存房产的实际位置;Retrieves a preset database according to the real estate information to be verified, and obtains the actual location of the real estate to be verified, and the preset database at least pre-stores the actual location of the real estate;
提取所述数字水印中的位置信息;extracting the location information in the digital watermark;
比较所述位置信息和所述实际位置是否一致;comparing whether the location information is consistent with the actual location;
当所述位置信息与所述实际位置一致时,确定所述房产图片通过验证。When the location information is consistent with the actual location, it is determined that the real estate picture has passed the verification.
与现有技术相比,本申请实施例主要有以下有益效果:通过接收房产图片验证请求,所述房产图片验证请求中包含待验证的房产图片和待验证的房产信息,其中,所述待验证的房产图片含数字水印,所述数字水印包含所述待验证的房产图片拍摄时的位置信息;根据所述待验证的房产信息检索预设的数据库,获得所述待验证的房产的实际位置,所述预设的数据库至少预存房产的实际位置;提取所述数字水印中的位置信息;比较所述位置信息和所述实际位置是否一致;当所述位置信息与所述实际位置一致时,确定所述房产图片通过验证。提高了房产图片审核效率。通过进行经纬度、海拔高度比较及翻拍识别,减少伪造照片产生的欺诈损失。Compared with the prior art, the embodiment of the present application mainly has the following beneficial effects: by receiving a real estate image verification request, the real estate image verification request includes the real estate image to be verified and the real estate information to be verified, wherein the real estate image verification request to be verified The real estate picture contains a digital watermark, and the digital watermark includes the location information when the real estate picture to be verified is taken; according to the real estate information to be verified, a preset database is retrieved, and the actual location of the real estate to be verified is obtained, The preset database at least pre-stores the actual location of the property; extracts the location information in the digital watermark; compares whether the location information is consistent with the actual location; when the location information is consistent with the actual location, determine The property pictures are verified. Improve the efficiency of real estate image review. By comparing latitude and longitude, altitude and re-taking identification, reduce fraud losses caused by fake photos.
附图说明Description of drawings
为了更清楚地说明本申请中的方案,下面将对本申请实施例描述中所需要使用的附图作一个简单介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the solutions in the present application more clearly, the following will briefly introduce the accompanying drawings used in the description of the embodiments of the present application. For those of ordinary skill, other drawings can also be obtained from these drawings without any creative effort.
图1是本申请可以应用于其中的示例性系统架构图;FIG. 1 is an exemplary system architecture diagram to which the present application can be applied;
图2根据本申请的房产图片验证方法的一个实施例的流程图;2 is a flow chart of an embodiment of a real estate picture verification method according to the present application;
图3是图2中获取待验证房产图片的一种具体实施方式的流程图;Fig. 3 is a flow chart of a specific embodiment of obtaining a picture of the real estate to be verified in Fig. 2;
图4是根据本申请的房产图片验证装置的一个实施例的结构示意图;4 is a schematic structural diagram of an embodiment of a real estate picture verification device according to the present application;
图5是根据本申请的计算机设备的一个实施例的结构示意图。FIG. 5 is a schematic structural diagram of an embodiment of a computer device according to the present application.
具体实施方式Detailed ways
除非另有定义,本文所使用的所有的技术和科学术语与属于本申请的技术领域的技术人员通常理解的含义相同;本文中在申请的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本申请;本申请的说明书和权利要求书及上述附图说明中的术语“包括”和“具有”以及它们的任何变形,意图在于覆盖不排他的包含。本申请的说明书和权利要求书或上述附图中的术语“第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the technical field of this application; the terms used herein in the specification of the application are for the purpose of describing specific embodiments only It is not intended to limit the application; the terms "comprising" and "having" and any variations thereof in the description and claims of this application and the above description of the drawings are intended to cover non-exclusive inclusion. The terms "first", "second" and the like in the description and claims of the present application or the above drawings are used to distinguish different objects, rather than to describe a specific order.
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含 在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。Reference herein to an "embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the present application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor a separate or alternative embodiment that is mutually exclusive of other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
为了使本技术领域的人员更好地理解本申请方案,下面将结合附图,对本申请实施例中的技术方案进行清楚、完整地描述。In order to make those skilled in the art better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the accompanying drawings.
如图1所示,系统架构100可以包括终端设备101、102、103,网络104和服务器105。网络104用以在终端设备101、102、103和服务器105之间提供通信链路的介质。网络104可以包括各种连接类型,例如有线、无线通信链路或者光纤电缆等等。As shown in FIG. 1 , the system architecture 100 may include terminal devices 101 , 102 , and 103 , a network 104 and a server 105 . The network 104 is a medium used to provide a communication link between the terminal devices 101 , 102 , 103 and the server 105 . The network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
用户可以使用终端设备101、102、103通过网络104与服务器105交互,以接收或发送消息等。终端设备101、102、103上可以安装有各种通讯客户端应用,例如网页浏览器应用、购物类应用、搜索类应用、即时通信工具、邮箱客户端、社交平台软件等。The user can use the terminal devices 101, 102, 103 to interact with the server 105 through the network 104 to receive or send messages and the like. Various communication client applications may be installed on the terminal devices 101 , 102 and 103 , such as web browser applications, shopping applications, search applications, instant messaging tools, email clients, social platform software, and the like.
终端设备101、102、103可以是具有显示屏并且支持网页浏览的各种电子设备,包括但不限于智能手机、平板电脑、电子书阅读器、MP3播放器(Moving Picture Experts Group Audio Layer III,动态影像专家压缩标准音频层面3)、MP4(Moving Picture Experts Group Audio Layer IV,动态影像专家压缩标准音频层面4)播放器、膝上型便携计算机和台式计算机等等。The terminal devices 101, 102, and 103 can be various electronic devices that have a display screen and support web browsing, including but not limited to smart phones, tablet computers, e-book readers, MP3 players (Moving Picture Experts Group Audio Layer III, dynamic Picture Experts Compression Standard Audio Layer 3), MP4 (Moving Picture Experts Group Audio Layer IV, Moving Picture Experts Compression Standard Audio Layer 4) Players, Laptops and Desktops, etc.
服务器105可以是提供各种服务的服务器,例如对终端设备101、102、103上显示的页面提供支持的后台服务器。The server 105 may be a server that provides various services, such as a background server that provides support for the pages displayed on the terminal devices 101 , 102 , and 103 .
需要说明的是,本申请实施例所提供的房产图片验证方法一般由 服务器/终端设备执行,相应地,房产图片验证装置一般设置于 服务器/终端设备中。 It should be noted that the real estate image verification method provided by the embodiments of the present application is generally performed by a server/terminal device , and accordingly, the real estate image verification apparatus is generally set in the server/terminal device .
应该理解,图1中的终端设备、网络和服务器的数目仅仅是示意性的。根据实现需要,可以具有任意数目的终端设备、网络和服务器。It should be understood that the numbers of terminal devices, networks and servers in FIG. 1 are merely illustrative. There can be any number of terminal devices, networks and servers according to implementation needs.
继续参考图2,示出了根据本申请的房产图片验证的方法的一个实施例的流程图。所述的房产图片验证方法,包括以下步骤:Continuing to refer to FIG. 2 , a flowchart of one embodiment of a method for real estate picture verification according to the present application is shown. The described real estate image verification method includes the following steps:
步骤S201,接收房产图片验证请求,所述房产图片验证请求中包含待验证的房产图片和待验证的房产信息,其中,所述待验证的房产图片含数字水印,所述数字水印包含所述待验证的房产图片拍摄时的位置信息。Step S201: Receive a real estate image verification request, where the real estate image verification request includes the real estate image to be verified and the real estate information to be verified, wherein the real estate image to be verified contains a digital watermark, and the digital watermark contains the real estate image to be verified. Verified location information at the time the property image was taken.
在本实施例中,房产图片验证方法运行于其上的电子设备(例如图1所示的 服务器/终 端设备)可以通过有线连接方式或者无线连接方式接收房产图片验证请求,所述房产图片验证请求中包含待验证的房产图片和待验证的房产信息,其。需要指出的是,上述无线连接方式可以包括但不限于3G/4G连接、WiFi连接、蓝牙连接、WiMAX连接、Zigbee连接、UWB(ultra wideband)连接、以及其他现在已知或将来开发的无线连接方式。 In this embodiment, the electronic device (such as the server/ terminal device shown in FIG. 1 ) on which the real estate picture verification method operates can receive the real estate picture verification request through a wired connection or a wireless connection, and the real estate picture verification The request contains the image of the property to be verified and the property information to be verified. It should be pointed out that the above wireless connection methods may include but are not limited to 3G/4G connection, WiFi connection, Bluetooth connection, WiMAX connection, Zigbee connection, UWB (ultra wideband) connection, and other wireless connection methods currently known or developed in the future .
用户在可交互界面上输入待验证房产的信息和待验证的房产图片,待验证房产的信息可以为房产编号、房产持有人姓名、ID的其中之一。The user inputs the information of the property to be verified and the picture of the property to be verified on the interactive interface, and the information of the property to be verified can be one of the property number, the name of the property owner, and the ID.
待验证的房产图片可以为事先保存在存储介质上的图片,也可以是通过带摄像头的设备实时拍摄的图片。用户通过可交互界面导入事先保存的图片,或通过调用拍摄计算机可读指令,实时获取待验证的房产图片。The real estate picture to be verified can be a picture saved on a storage medium in advance, or a picture taken in real time by a device with a camera. The user imports the pre-saved pictures through the interactive interface, or obtains the pictures of the real estate to be verified in real time by invoking the computer-readable instructions for shooting.
步骤S202,根据所述待验证的房产信息检索预设的数据库,获得所述待验证的房产的实际位置,所述预设的数据库至少预存房产的实际位置。Step S202: Retrieve a preset database according to the real estate information to be verified to obtain the actual position of the real estate to be verified, and the preset database at least pre-stores the actual position of the real estate.
在本实施例中,预设的数据库预存了房产的实际位置,通过待验证房产的信息检索预设的数据库,待验证的房产可以为房产编号、房产门牌号、房产持有人姓名、ID的其中之一。预存的房产实际位置至少包含了房产在预设地图上的地点或经纬度和海拔高度。In this embodiment, the preset database pre-stores the actual location of the real estate, and the preset database is retrieved through the information of the real estate to be verified. one of them. The actual location of the pre-stored property contains at least the location or latitude, longitude and altitude of the property on the preset map.
步骤S203,提取所述数字水印中的位置信息。Step S203, extracting the location information in the digital watermark.
提取数字水印的过程是添加数字水印的逆过程。例如利用图像每个像素的RGB值最后一位存储位置信息。提取数字水印的过程就是上述过程的逆:把像素值提取出来,选择最后一位,拼出信息。同样,采用其他算法添加的数字水印,通过与添加相逆的过程提取数 字水印,得到待验证房产图片拍摄时的位置信息。The process of extracting digital watermark is the reverse process of adding digital watermark. For example, the position information is stored by using the last bit of the RGB value of each pixel of the image. The process of extracting a digital watermark is the inverse of the above process: extract the pixel value, select the last bit, and spell out the information. Similarly, using the digital watermark added by other algorithms, the digital watermark is extracted through the reverse process of adding, and the location information of the real estate picture to be verified when the picture is taken is obtained.
步骤S204,比较所述位置信息和所述实际位置是否一致;Step S204, comparing whether the location information is consistent with the actual location;
通过字符串比较实际位置和数字水印中的位置信息是否一致。Compare the actual location with the location information in the digital watermark by character string.
步骤S205,当所述位置信息与所述实际位置一致时,确定所述房产图片通过验证。Step S205, when the location information is consistent with the actual location, it is determined that the real estate picture has passed the verification.
比较实际位置和数字水印中的位置信息,当两者一致时,确定待验证的房产图片通过验证。当数字水印中的位置信息包含经纬度和海拔高度时,先比较经纬度,再比较海拔高度。通过经纬度和海拔高度的对比,可以精确到具体建筑物的具体楼层具体的房间,提高了房产图片验证的精度。Compare the actual location and the location information in the digital watermark, and when the two are consistent, it is determined that the real estate image to be verified has passed the verification. When the location information in the digital watermark includes latitude and longitude and altitude, the latitude and longitude are compared first, and then the altitude is compared. Through the comparison of latitude and longitude and altitude, it can be accurate to the specific floor and specific room of a specific building, which improves the accuracy of real estate picture verification.
通过接收房产图片验证请求,所述房产图片验证请求中包含待验证的房产图片和待验证的房产信息,其中,所述待验证的房产图片含数字水印,所述数字水印包含所述待验证的房产图片拍摄时的位置信息;根据所述待验证的房产信息检索预设的数据库,获得所述待验证的房产的实际位置,所述预设的数据库至少预存房产的实际位置;提取所述数字水印中的位置信息;比较所述位置信息和所述实际位置是否一致;当所述位置信息与所述实际位置一致时,确定所述房产图片通过验证。提高了房产图片审核效率。通过进行经纬度、海拔高度比较及翻拍识别,减少伪造照片产生的欺诈损失。By receiving a real estate image verification request, the real estate image verification request includes the real estate image to be verified and the real estate information to be verified, wherein the real estate image to be verified contains a digital watermark, and the digital watermark contains the to-be-verified real estate image. The location information when the real estate picture was taken; retrieve the preset database according to the real estate information to be verified to obtain the actual location of the real estate to be verified, and the preset database at least pre-stores the actual location of the real estate; extract the digital The location information in the watermark; compare whether the location information is consistent with the actual location; when the location information is consistent with the actual location, it is determined that the real estate picture has passed the verification. Improve the efficiency of real estate image review. By comparing latitude and longitude, altitude and re-taking identification, reduce fraud losses caused by fake photos.
在本实施例的一些可选的实现方式中,在步骤S201之前,上述电子设备还可以执行以下步骤:In some optional implementations of this embodiment, before step S201, the above electronic device may further perform the following steps:
获取实时拍摄请求;Get real-time shooting requests;
根据实时拍摄请求,调用预设的图片拍摄模块和预设的定位模块,获得实时拍摄的图片和实时拍摄所处的位置信息;According to the real-time shooting request, call the preset picture shooting module and the preset positioning module to obtain the real-time shooting picture and the location information of the real-time shooting;
将所述位置信息转换为数字水印添加到所述图片中;获得添加了数字水印的待验证的房产图片。Converting the location information into a digital watermark and adding it to the picture; obtaining a picture of the real estate to be verified to which the digital watermark has been added.
当用户要使用实时拍摄的图片进行验证时,可以通过点击可交互界面上的实时拍摄的选项发出实时拍摄请求,接收到实时拍摄请求,调用预设的图片拍摄模块和预设的定位模块,图片拍摄模块和定位模块内嵌在同一电子设备中,目前带摄像头的电子设备都内嵌了图片拍摄模块,图片拍摄模块通过开启摄像头拍摄照片,定位模块同时定位的拍摄时的位置信息,定位模块基于GPS系统,位置信息包含经纬度和海拔高度,也可以是映射到预设地图上的地点。When the user wants to use the real-time shooting picture for verification, he can send a real-time shooting request by clicking the real-time shooting option on the interactive interface, receive the real-time shooting request, call the preset picture shooting module and the preset positioning module, the The shooting module and the positioning module are embedded in the same electronic device. At present, electronic devices with cameras are embedded with a picture shooting module. The picture shooting module takes pictures by turning on the camera, and the positioning module simultaneously locates the position information at the time of shooting. The positioning module is based on GPS system, the location information includes latitude, longitude and altitude, and can also be a location mapped to a preset map.
将拍摄的图片和定位的位置信息输入到预设的数字水印添加,将位置信息添加到拍摄的图片中,得到添加了数字水印的待验证的房产图片。The photographed picture and the location information of the positioning are input into the preset digital watermark addition, the location information is added to the photographed picture, and the digital watermarked real estate picture to be verified is obtained.
数字水印是将特定的数字信号嵌入到数字产品中,数字水印添加的可以基于以下原理:图像中的每个像素通常用RGB三个0~255的值来表示,转化为二进制就是00000000~11111111。把每个值的最后一位全部设为零,这种变化人眼观察不到。这样空出来的最后一位就可以用来存储信息。提取信息的过程就是上述过程的逆:把像素值提取出来,选择最后一位,拼出信息。A digital watermark is to embed a specific digital signal into a digital product. The addition of a digital watermark can be based on the following principles: each pixel in an image is usually represented by three RGB values from 0 to 255, and converted to binary, it is 00000000 to 11111111. Set the last digit of each value to all zeros, this change is invisible to the human eye. The last bit freed up in this way can be used to store information. The process of extracting information is the inverse of the above process: extract the pixel value, select the last bit, and spell out the information.
数字水印添加还可以基于空间域暗水印算法,例如Patchwork算法,任意选择N对图像点,增加其一点的亮度的同时,相应降低另一点的亮度值;通过这一调整过程完成水印的嵌入。该算法具有不易察觉性,并且对于有损压缩编码(JPEG)和一些恶意攻击处理等具有抵抗力。Digital watermarking can also be based on spatial domain dark watermarking algorithm, such as Patchwork algorithm, arbitrarily select N pairs of image points, increase the brightness of one point, and correspondingly reduce the brightness value of another point; through this adjustment process, the embedding of the watermark is completed. The algorithm is imperceptible and resistant to lossy compression encoding (JPEG) and some malicious attack processing.
数字水印添加还可以基于变换域暗水印算法,例如基于分块DCT的数字水印技术方案由一个密钥随机地选择图像的一些分块,在频域的中频上稍稍改变一个三元组以隐藏二进制序列信息。选择在中频分量编码是因为在高频编码易于被各种信号处理方法所破坏,而在低频编码则由于人的视觉对低频分量很敏感,对低频分量的改变易于被察觉。该数字水印算法对有损压缩和低通滤波是稳健的。Digital watermarking can also be based on transform-domain dark watermarking algorithms, such as the block-based DCT-based digital watermarking technology scheme. Some blocks of the image are randomly selected by a key, and a triplet is slightly changed at the intermediate frequency of the frequency domain to hide the binary. sequence information. The encoding in the intermediate frequency component is chosen because the encoding in the high frequency is easy to be corrupted by various signal processing methods, while the encoding in the low frequency is easy to detect the change of the low frequency component because the human vision is very sensitive to the low frequency component. The digital watermarking algorithm is robust to lossy compression and low-pass filtering.
数字水印不是人的视觉直观可见的,通过在待验证的房产图片中添加位置信息的数字水印,验证位置信息与实际位置是否一致,可以有效验证房产图片的真伪。Digital watermarks are not intuitively visible to human vision. By adding a digital watermark of location information to the real estate image to be verified to verify whether the location information is consistent with the actual location, the authenticity of the real estate image can be effectively verified.
在一些可选的实现方式中,在步骤S204之前,上述电子设备可以执行以下步骤:In some optional implementations, before step S204, the above electronic device may perform the following steps:
获取待验证的房产持有人信息;Obtain the property owner information to be verified;
根据所述待验证房产信息检索预设的数据库,获得所述房产信息对应的实际持有人信息;Retrieve a preset database according to the real estate information to be verified, and obtain the actual holder information corresponding to the real estate information;
比较所述待验证的房产持有人信息和所述实际持有人信息;comparing said property owner information to be verified with said actual owner information;
所述当所述位置信息与所述实际位置一致时,确定所述房产图片通过验证的步骤包括:When the location information is consistent with the actual location, the step of determining that the real estate picture has passed the verification includes:
当所述待验证的房产持有人信息和所述实际持有人信息一致,且所述位置信息与所述实际位置一致时,确定所述待验证的房产图片通过验证。When the property owner information to be verified is consistent with the actual owner information, and the location information is consistent with the actual location, it is determined that the property image to be verified passes the verification.
待验证的房产信息可以为房产编码,房产门牌号,通过房产信息检索预设的数据库,预设的数据库可以为房产管理机构预设的房产管理数据库,至少包含房产的实际位置和实际持有人信息,实际位置至少包含房产经纬度、海拔高度,实际持有人信息至少包含持有人姓名、ID。The real estate information to be verified can be the real estate code, the house number, and the preset database is retrieved through the real estate information. The preset database can be the real estate management database preset by the real estate management agency, which at least includes the actual location of the real estate and the actual owner. Information, the actual location at least includes the latitude, longitude and altitude of the property, and the actual holder information at least includes the holder's name and ID.
进行数字水印中提取的位置信息与实际位置比较后,再比较待验证的房产持有人信息和实际持有人信息,当所述待验证的房产持有人信息和所述实际持有人信息一致,且所述位置信息与所述实际位置一致时,确定所述待验证的房产图片通过验证。After the location information extracted from the digital watermark is compared with the actual location, the property holder information to be verified and the actual holder information are compared, when the property holder information to be verified and the actual holder information are compared. When the location information is consistent with the actual location, it is determined that the real estate picture to be verified has passed the verification.
也可以先比较待验证的房产持有人信息和实际持有人信息,当两者不一致时,结束验证过程,避免用户使用不属于自己的房产进行验证。It is also possible to compare the information of the property holder to be verified with the information of the actual holder, and when the two are inconsistent, end the verification process to prevent users from using properties that do not belong to them for verification.
在一些可选的实现方式中,当实际持有人信息包含实际持有人的人脸特征,所述比较所述待验证的房产持有人信息和所述实际持有人信息的步骤中,还包括:In some optional implementation manners, when the actual holder information includes the facial features of the actual holder, in the step of comparing the property holder information to be verified and the actual holder information, Also includes:
将所述待验证的房产持有人的人脸图像进行特征提取,获得待验证人脸特征;Perform feature extraction on the face image of the property holder to be verified to obtain the face feature to be verified;
计算所述待验证人脸特征和所述实际持有人的人脸特征的相似度;Calculate the similarity between the face feature to be verified and the face feature of the actual holder;
当所述相似度大于设定阈值时,确定所述待验证的房产持有人信息和所述实际持有人信息一致。When the similarity is greater than a set threshold, it is determined that the property owner information to be verified is consistent with the actual owner information.
当数据库中实际持有人信息包含实际持有人的人脸特征时,接收待验证的房产持有人的人脸图像,对人脸图像进行特征提取,比较两者的相似度,设定阈值,当相似度大于设定阈值时,认为待验证的房产持有人为实际持有人,继续进行房产图片验证,否则结束验证。通过人脸识别可以更有效的进行身份验证,避免用户使用实际不属于自己的房产进行验证。When the actual holder information in the database contains the facial features of the actual holder, receive the facial image of the property holder to be verified, perform feature extraction on the facial image, compare the similarity between the two, and set a threshold , when the similarity is greater than the set threshold, it is considered that the real estate holder to be verified is the actual holder, and the real estate image verification is continued, otherwise the verification is ended. Identity verification can be performed more effectively through face recognition, preventing users from using real estate that does not actually belong to them for verification.
在一些可选的实现方式中,在步骤S202之前,还包括:In some optional implementations, before step S202, the method further includes:
将所述待验证的房产图片输入到预先训练的神经网络模型中,获取所述预先训练的神经网络模型响应所述房产图片而输出的分类结果,所述分类结果为翻拍图片或非翻拍图片;Inputting the real estate picture to be verified into a pre-trained neural network model, and obtaining a classification result output by the pre-trained neural network model in response to the real estate picture, and the classification result is a remake picture or a non-remake picture;
当所述分类结果为翻拍图片时,确定所述待验证的房产图片验证失败。When the classification result is a retaken picture, it is determined that the verification of the real estate picture to be verified fails.
为避免用户提供的房产图片有可能为翻拍图片的情况,在进行验证时,先判断是否为翻拍图片,如果为翻拍图片,结束图片验证。对于人眼,难以分辨翻拍图片,通过预先训练的神经网络模型进行判断。In order to avoid the situation that the real estate picture provided by the user may be a remake, when verifying, first determine whether it is a remake, and if it is a remake, end the image verification. For the human eye, it is difficult to distinguish reposted pictures, and the pre-trained neural network model is used to judge.
预先训练的神经网络模型的训练步骤包括:The training steps for a pre-trained neural network model include:
准备训练样本,所述样本为标注图片类别的房产图片;Prepare training samples, the samples are real estate pictures marked with picture categories;
将训练样本输入到神经网络模型中,获取所述训练样本的预测类别;Input the training sample into the neural network model, and obtain the predicted category of the training sample;
通过损失函数比对所述训练样本内不同样本预测类别与所述图片类别是否一致,其中损失函数为:Compare whether the prediction categories of different samples in the training sample are consistent with the picture categories through a loss function, where the loss function is:
Figure PCTCN2021109507-appb-000001
Figure PCTCN2021109507-appb-000001
其中,N为训练样本数,针对第i个样本其对应的标记为Yi是标注的结果,h=(h1,h2,...,hc)为样本i的预测结果,其中C是所有分类的数量;Among them, N is the number of training samples, the corresponding mark for the i-th sample is Yi is the marked result, h=(h1,h2,...,hc) is the prediction result of sample i, where C is all classified quantity;
当所述预测类别与所述标注类别不一致时,反复循环迭代的更新所述神经网络模型中各节点的权重,至所述损失函数达到最小值时结束。When the predicted category is inconsistent with the labeled category, the weight of each node in the neural network model is updated repeatedly and iteratively, until the loss function reaches a minimum value.
标注的图片类别为翻拍图片和非翻拍图片,通过人眼难以识别是否为翻拍图片,但是翻拍图片和非翻拍图片的纹理特征不同,通过神经网络模型学习不同类别图片的纹理特征,对房产图片进行分类,识别出翻拍的房产图片,可以避免用户使用翻拍的房产图片进行图片验证。The categories of the marked pictures are remake pictures and non-remake pictures. It is difficult for the human eye to identify whether they are remake pictures, but the texture features of the remake pictures and non-remake pictures are different. The neural network model is used to learn the texture features of different categories of pictures, and the real estate pictures are processed. Classify and identify the remade real estate pictures, which can prevent users from using the remade real estate pictures for image verification.
在一些可选的实现方式中,上述电子设备可以执行下述步骤:In some optional implementations, the above electronic device may perform the following steps:
将所述接收房产图片验证请求存储于区块链中Store the received real estate image verification request in the blockchain
需要强调的是,为进一步保证上述房产图片验证请求信息的私密和安全性,上述房产图片验证请求信息还可以存储于一区块链的节点中。It should be emphasized that, in order to further ensure the privacy and security of the above-mentioned real estate image verification request information, the above-mentioned real estate image verification request information may also be stored in a node of a blockchain.
本申请所指区块链是分布式数据存储、点对点传输、共识机制、加密算法等计算机技术的新型应用模式。区块链(Blockchain),本质上是一个去中心化的数据库,是一串使用密码学方法相关联产生的数据块,每一个数据块中包含了一批次网络交易的信息,用于验证其信息的有效性(防伪)和生成下一个区块。区块链可以包括区块链底层平台、平台产品服务层以及应用服务层等。The blockchain referred to in this application is a new application mode of computer technology such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm. Blockchain, essentially a decentralized database, is a series of data blocks associated with cryptographic methods. Each data block contains a batch of network transaction information to verify its Validity of information (anti-counterfeiting) and generation of the next block. The blockchain can include the underlying platform of the blockchain, the platform product service layer, and the application service layer.
本申请可用于众多通用或专用的计算机系统环境或配置中。例如:个人计算机、服务器计算机、手持设备或便携式设备、平板型设备、多处理器系统、基于微处理器的系统、置顶盒、可编程的消费电子设备、网络PC、小型计算机、大型计算机、包括以上任何系统或设备的分布式计算环境等等。本申请可以在由计算机执行的计算机可执行指令的一般上下文中描述,例如计算机可读指令模块。一般地,计算机可读指令模块包括执行特定任务或实现特定抽象数据类型的例程、计算机可读指令、对象、组件、数据结构等等。也可以在分布式计算环境中实践本申请,在这些分布式计算环境中,由通过通信网络而被连接的远程处理设备来执行任务。在分布式计算环境中,计算机可读指令模块可以位于包括存储设备在内的本地和远程计算机存储介质中。The present application may be used in numerous general purpose or special purpose computer system environments or configurations. For example: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, including A distributed computing environment for any of the above systems or devices, and the like. This application may be described in the general context of computer-executable instructions, such as computer-readable instruction modules, being executed by a computer. Generally, modules of computer-readable instructions include routines, computer-readable instructions, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, modules of computer readable instructions may be located in both local and remote computer storage media including storage devices.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机可读指令来指令相关的硬件来完成,该计算机可读指令可存储于一计算机可读取存储介质中,该计算机可读指令在执行时,可包括如上述各方法的实施例的流程。其中,前述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)等非易失性存储介质,或随机存储记忆体(Random Access Memory,RAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented by instructing the relevant hardware through computer-readable instructions, and the computer-readable instructions can be stored in a computer-readable storage medium. , the computer-readable instructions, when executed, may include the processes of the above-mentioned method embodiments. Wherein, the aforementioned storage medium may be a non-volatile storage medium such as a magnetic disk, an optical disk, a read-only storage memory (Read-Only Memory, ROM), or a random access memory (Random Access Memory, RAM) or the like.
应该理解的是,虽然附图的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,其可以以其他的顺序执行。而且,附图的流程图中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,其执行顺序也不必然是依次进行,而是可以与其他步骤或者其他步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the various steps in the flowchart of the accompanying drawings are sequentially shown in the order indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless explicitly stated herein, the execution of these steps is not strictly limited to the order and may be performed in other orders. Moreover, at least a part of the steps in the flowcharts of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but may be executed at different times, and the execution sequence is also It does not have to be performed sequentially, but may be performed alternately or alternately with other steps or at least a portion of sub-steps or stages of other steps.
进一步参考图4,作为对上述图2所示方法的实现,本申请提供了一种房产图片验证装置的一个实施例,该装置实施例与图2所示的方法实施例相对应,该装置具体可以应用于各种电子设备中。Further referring to FIG. 4 , as an implementation of the method shown in FIG. 2 above, the present application provides an embodiment of a real estate picture verification device, and the device embodiment corresponds to the method embodiment shown in FIG. 2 . Can be used in various electronic devices.
如图4所示,本实施例所述的房产图片验证装置400包括:接收模块401、检索模块402、提取模块403、比较模块404以及确定模块405。其中:As shown in FIG. 4 , the real estate picture verification device 400 in this embodiment includes: a receiving module 401 , a retrieval module 402 , an extraction module 403 , a comparison module 404 and a determination module 405 . in:
接收模块401,用于接收房产图片验证请求,所述房产图片验证请求中包含待验证的房产图片和待验证的房产信息,其中,所述待验证的房产图片含数字水印,所述数字水印包含所述待验证的房产图片拍摄时的位置信息;The receiving module 401 is configured to receive a real estate image verification request, where the real estate image verification request includes the real estate image to be verified and the real estate information to be verified, wherein the real estate image to be verified contains a digital watermark, and the digital watermark includes The location information when the picture of the property to be verified is taken;
检索模块402,用于根据所述待验证的房产信息检索预设的数据库,获得所述待验证的房产的实际位置,所述预设的数据库至少预存房产的实际位置;The retrieval module 402 is used for retrieving a preset database according to the real estate information to be verified, to obtain the actual position of the real estate to be verified, and the preset database at least pre-stores the actual position of the real estate;
提取模块403,用于提取所述数字水印中的位置信息; Extraction module 403, for extracting the location information in the digital watermark;
比较模块404,用于比较所述位置信息和所述实际位置是否一致;a comparison module 404, configured to compare whether the location information is consistent with the actual location;
确定模块405,用于当所述位置信息与所述实际位置一致时,确定所述房产图片通过验证。The determining module 405 is configured to determine that the real estate picture has passed the verification when the location information is consistent with the actual location.
在本实施例中,通过接收房产图片验证请求,所述房产图片验证请求中包含待验证的房产图片和待验证的房产信息,其中,所述待验证的房产图片含数字水印,所述数字水印包含所述待验证的房产图片拍摄时的位置信息;根据所述待验证的房产信息检索预设的数据库,获得所述待验证的房产的实际位置,所述预设的数据库至少预存房产的实际位置;提取所述数字水印中的位置信息;比较所述位置信息和所述实际位置是否一致;当所述位置信息与所述实际位置一致时,确定所述房产图片通过验证。提高了房产图片审核效率。通过进行经纬度、海拔高度比较及翻拍识别,减少伪造照片产生的欺诈损失。In this embodiment, by receiving a real estate image verification request, the real estate image verification request includes the real estate image to be verified and the real estate information to be verified, wherein the real estate image to be verified contains a digital watermark, and the digital watermark Contains the location information of the real estate to be verified when the picture is taken; searches a preset database according to the real estate information to be verified, and obtains the actual location of the real estate to be verified, and the preset database at least pre-stores the actual position of the real estate position; extract the position information in the digital watermark; compare whether the position information is consistent with the actual position; when the position information is consistent with the actual position, it is determined that the real estate picture has passed the verification. Improve the efficiency of real estate image review. By comparing latitude and longitude, altitude and re-taking identification, reduce fraud losses caused by fake photos.
在本实施例的一些可选的实现方式中,接收模块401包括:In some optional implementations of this embodiment, the receiving module 401 includes:
第一获取子模块,用于获取实时拍摄请求;a first obtaining submodule, used for obtaining a real-time shooting request;
第一处理子模块,用于根据实时拍摄请求,调用预设的图片拍摄模块和预设的定位模块,获得实时拍摄的图片和实时拍摄所处的位置信息;The first processing sub-module is configured to call the preset picture shooting module and the preset positioning module according to the real-time shooting request, and obtain the real-time shooting picture and the location information of the real-time shooting location;
第一添加子模块,用于将所述位置信息转换为数字水印添加到所述图片中;获得添加了数字水印的待验证的房产图片。The first adding submodule is used to convert the location information into a digital watermark and add it to the picture; obtain the real estate picture to be verified with the digital watermark added.
实际位置一致时,确定所述房产图片通过验证。When the actual locations are consistent, it is determined that the real estate picture has passed the verification.
在本实施例的一些可选的实现方式中,所述的房产图片验证装置还包括:In some optional implementations of this embodiment, the real estate picture verification device further includes:
第一接收子模块,用于获取待验证的房产持有人信息;The first receiving sub-module is used to obtain the property holder information to be verified;
第一检索子模块,用于根据所述待验证房产信息检索预设的数据库,获得所述房产信息对应的实际持有人信息;a first retrieval submodule, used for retrieving a preset database according to the real estate information to be verified, and obtaining the actual holder information corresponding to the real estate information;
第一比较子模块,用于比较所述待验证的房产持有人信息和所述实际持有人信息;a first comparison sub-module for comparing the property owner information to be verified with the actual owner information;
第一判断子模块,用于当所述待验证的房产持有人信息和所述实际持有人信息一致,且所述位置信息与所述实际位置一致时,确定所述待验证的房产图片通过验证。The first judging submodule is used to determine the picture of the property to be verified when the information of the property owner to be verified is consistent with the actual owner information, and the location information is consistent with the actual location approved.
在本实施例的一些可选的实现方式中,当所述第一接收子模块接收的待验证的房产持有人信息为人脸图像时,所述第一比较子模块包括:In some optional implementations of this embodiment, when the property owner information to be verified received by the first receiving submodule is a face image, the first comparing submodule includes:
第一提取子单元,用于将所述待验证的房产持有人的人脸图像进行特征提取,获得待验证人脸特征;The first extraction subunit is used for feature extraction of the face image of the property owner to be verified to obtain the face feature to be verified;
第一比较子单元,用于计算所述待验证人脸特征和所述实际持有人的人脸特征的相似度;a first comparison subunit, used to calculate the similarity between the face feature to be verified and the face feature of the actual holder;
第一判断子单元,用于当所述相似度大于设定阈值时,确定所述待验证的房产持有人信息和所述实际持有人信息一致。A first judging subunit, configured to determine that the information of the property owner to be verified is consistent with the information of the actual owner when the similarity is greater than a set threshold.
在本实施例的一些可选的实现方式中,所述的房产图片验证装置还包括:In some optional implementations of this embodiment, the real estate picture verification device further includes:
第一处理子模块,用于将所述待验证的房产图片输入到预先训练的神经网络模型中,获取所述预先训练的神经网络模型响应所述房产图片而输出的分类结果,所述分类结果为翻拍图片或非翻拍图片;The first processing submodule is used to input the real estate picture to be verified into a pre-trained neural network model, and obtain a classification result output by the pre-trained neural network model in response to the real estate picture, the classification result be a remake or a non-remake;
第二判断子模块,用于当所述分类结果为翻拍图片时,确定所述待验证的房产图片验证失败。The second judging submodule is configured to determine that the verification of the real estate picture to be verified fails when the classification result is a retaken picture.
在本实施例的一些可选的实现方式中,所述的房产图片验证装置还包括:In some optional implementations of this embodiment, the real estate picture verification device further includes:
第二获取子模块,用于获取训练样本,所述训练样本为标注是否为翻拍图片的N个房产图片,N为大于0的正整数;The second acquisition sub-module is used for acquiring training samples, where the training samples are N real estate pictures marked as remake pictures, and N is a positive integer greater than 0;
第二处理子模块,用于将所述训练样本输入到所述神经网络模型中,获得所述神经网络模型响应所述N个房产图片输出的N个预测结果;a second processing submodule, configured to input the training samples into the neural network model, and obtain N prediction results output by the neural network model in response to the N real estate pictures;
第一比对子模块,用于通过损失函数比对所述N个预测结果和所述标注是否一致,其中所述损失函数为:The first comparison sub-module is used to compare whether the N prediction results are consistent with the label through a loss function, wherein the loss function is:
Figure PCTCN2021109507-appb-000002
Figure PCTCN2021109507-appb-000002
其中,N为训练样本数,针对第i个样本其对应为Yi是标注结果,h=(h1,h2,...,hc)为样本i的预测结果,其中C是所有分类的数量;Among them, N is the number of training samples, Yi is the labeling result for the ith sample, h=(h1, h2,...,hc) is the prediction result of sample i, where C is the number of all categories;
第一调整子模块,用于调整所述神经网络模型中各节点的参数,至所述损失函数达到最小值时结束,得到所述预先训练的神经网络模型。The first adjustment sub-module is used to adjust the parameters of each node in the neural network model, and ends when the loss function reaches a minimum value to obtain the pre-trained neural network model.
在本实施例的一些可选的实现方式中,所述的房产图片验证装置还包括:In some optional implementations of this embodiment, the real estate picture verification device further includes:
存储模块,用于将所述接收房产图片验证请求存储于区块链中。The storage module is used to store the received real estate picture verification request in the blockchain.
为解决上述技术问题,本申请实施例还提供计算机设备。具体请参阅图5,图5为本实施例计算机设备基本结构框图。To solve the above technical problems, the embodiments of the present application also provide computer equipment. Please refer to FIG. 5 for details. FIG. 5 is a block diagram of a basic structure of a computer device according to this embodiment.
所述计算机设备5包括通过系统总线相互通信连接存储器51、处理器52、网络接口53。需要指出的是,图中仅示出了具有组件51-53的计算机设备5,但是应理解的是,并不要求实施所有示出的组件,可以替代的实施更多或者更少的组件。其中,本技术领域技术人员可以理解,这里的计算机设备是一种能够按照事先设定或存储的指令,自动进行数值计算和/或信息处理的设备,其硬件包括但不限于微处理器、专用集成电路(Application Specific Integrated Circuit,ASIC)、可编程门阵列(Field-Programmable Gate Array,FPGA)、数字处理器(Digital Signal Processor,DSP)、嵌入式设备等。The computer device 5 includes a memory 51 , a processor 52 , and a network interface 53 that communicate with each other through a system bus. It should be pointed out that only the computer device 5 with components 51-53 is shown in the figure, but it should be understood that it is not required to implement all of the shown components, and more or less components may be implemented instead. Among them, those skilled in the art can understand that the computer device here is a device that can automatically perform numerical calculation and/or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to microprocessors, special-purpose Integrated circuit (Application Specific Integrated Circuit, ASIC), programmable gate array (Field-Programmable Gate Array, FPGA), digital processor (Digital Signal Processor, DSP), embedded equipment, etc.
所述计算机设备可以是桌上型计算机、笔记本、掌上电脑及云端服务器等计算设备。所述计算机设备可以与用户通过键盘、鼠标、遥控器、触摸板或声控设备等方式进行人机交互。The computer equipment may be a desktop computer, a notebook computer, a palmtop computer, a cloud server and other computing equipment. The computer device can perform human-computer interaction with the user through a keyboard, a mouse, a remote control, a touch pad or a voice control device.
所述存储器51至少包括一种类型的可读存储介质,所述可读存储介质包括闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等)、随机访问存储器(RAM)、静态随机访问存储器(SRAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、可编程只读存储器(PROM)、磁性存储器、磁盘、光盘等。所述计算机可读存储介质可以是非易失性,也可以是易失性。在一些实施例中,所述存储器51可以是所述计算机设备5的内部存储单元,例如该计算机设备5的硬盘或内存。在另一些实施例中,所述存储器51也可以是所述计算机设备5的外部存储设备,例如该计算机设备5上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。当然,所述存储器51还可以既包括所述计算机设备5的内部存储单元也包括其外部存储设备。本实施例中,所述存储器51通常用于存储安装于所述计算机设备5的操作系统和各类应用软件,例如房产图片验证方法的计算机可读指令等。此外,所述存储器51还可以用于暂时地存储已经输出或者将要输出的各类数据。The memory 51 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static Random Access Memory (SRAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), Programmable Read Only Memory (PROM), Magnetic Memory, Magnetic Disk, Optical Disk, etc. The computer-readable storage medium may be non-volatile or volatile. In some embodiments, the memory 51 may be an internal storage unit of the computer device 5 , such as a hard disk or a memory of the computer device 5 . In other embodiments, the memory 51 may also be an external storage device of the computer device 5, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, flash memory card (Flash Card), etc. Of course, the memory 51 may also include both the internal storage unit of the computer device 5 and its external storage device. In this embodiment, the memory 51 is generally used to store the operating system and various application software installed on the computer device 5 , such as computer-readable instructions for a real estate image verification method. In addition, the memory 51 can also be used to temporarily store various types of data that have been output or will be output.
所述处理器52在一些实施例中可以是中央处理器(Central Processing Unit,CPU)、控制器、微控制器、微处理器、或其他数据处理芯片。该处理器52通常用于控制所述计算机设备5的总体操作。本实施例中,所述处理器52用于运行所述存储器51中存储的计算机可读指令或者处理数据,例如运行所述房产图片验证方法的计算机可读指令。In some embodiments, the processor 52 may be a central processing unit (Central Processing Unit, CPU), a controller, a microcontroller, a microprocessor, or other data processing chips. This processor 52 is typically used to control the overall operation of the computer device 5 . In this embodiment, the processor 52 is configured to execute computer-readable instructions stored in the memory 51 or process data, for example, computer-readable instructions for executing the method for verifying a real estate picture.
所述网络接口53可包括无线网络接口或有线网络接口,该网络接口53通常用于在所述计算机设备5与其他电子设备之间建立通信连接。The network interface 53 may include a wireless network interface or a wired network interface, and the network interface 53 is generally used to establish a communication connection between the computer device 5 and other electronic devices.
通过接收房产图片验证请求,所述房产图片验证请求中包含待验证的房产图片和待验证的房产信息,其中,所述待验证的房产图片含数字水印,所述数字水印包含所述待验证的房产图片拍摄时的位置信息;根据所述待验证的房产信息检索预设的数据库,获得所述待验证的房产的实际位置,所述预设的数据库至少预存房产的实际位置;提取所述数字水印中的位置信息;比较所述位置信息和所述实际位置是否一致;当所述位置信息与所述实际位置一致时,确定所述房产图片通过验证。提高了房产图片审核效率。通过进行经纬度、海拔高度比较及翻拍识别,减少伪造照片产生的欺诈损失。By receiving a real estate image verification request, the real estate image verification request includes the real estate image to be verified and the real estate information to be verified, wherein the real estate image to be verified contains a digital watermark, and the digital watermark contains the to-be-verified real estate image. The location information when the real estate picture was taken; retrieve the preset database according to the real estate information to be verified to obtain the actual location of the real estate to be verified, and the preset database at least pre-stores the actual location of the real estate; extract the digital The location information in the watermark; compare whether the location information is consistent with the actual location; when the location information is consistent with the actual location, it is determined that the real estate picture has passed the verification. Improve the efficiency of real estate image review. By comparing latitude and longitude, altitude and re-taking identification, reduce fraud losses caused by fake photos.
本申请还提供了另一种实施方式,即提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机可读指令,所述计算机可读指令可被至少一个处理器执行,以使所述至少一个处理器执行如上述的房产图片验证方法的步骤。The present application also provides another embodiment, that is, to provide a computer-readable storage medium, where the computer-readable storage medium stores computer-readable instructions, and the computer-readable instructions can be executed by at least one processor to The at least one processor is caused to perform the steps of the above-mentioned real estate picture verification method.
通过接收房产图片验证请求,所述房产图片验证请求中包含待验证的房产图片和待验证的房产信息,其中,所述待验证的房产图片含数字水印,所述数字水印包含所述待验证的房产图片拍摄时的位置信息;根据所述待验证的房产信息检索预设的数据库,获得所述待验证的房产的实际位置,所述预设的数据库至少预存房产的实际位置;提取所述数字水印中的位置信息;比较所述位置信息和所述实际位置是否一致;当所述位置信息与所述实际位置一致时,确定所述房产图片通过验证。提高了房产图片审核效率。通过进行经纬度、海拔高度比较及翻拍识别,减少伪造照片产生的欺诈损失。By receiving a real estate image verification request, the real estate image verification request includes the real estate image to be verified and the real estate information to be verified, wherein the real estate image to be verified contains a digital watermark, and the digital watermark contains the to-be-verified real estate image. The location information when the real estate picture was taken; retrieve the preset database according to the real estate information to be verified to obtain the actual location of the real estate to be verified, and the preset database at least pre-stores the actual location of the real estate; extract the digital The location information in the watermark; compare whether the location information is consistent with the actual location; when the location information is consistent with the actual location, it is determined that the real estate picture has passed the verification. Improve the efficiency of real estate image review. By comparing latitude and longitude, altitude and re-taking identification, reduce fraud losses caused by fake photos.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence or in a part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of this application.
显然,以上所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例,附图中给出了本申请的较佳实施例,但并不限制本申请的专利范围。本申请可以以许多不同的形式来实现,相反地,提供这些实施例的目的是使对本申请的公开内容的理解更加透彻全面。尽管参照前述实施例对本申请进行了详细的说明,对于本领域的技术人员来而言,其依然可以对前述各具体实施方式所记载的技术方案进行修改,或者对其中部分技术特征进行等效替换。凡是利用本申请说明书及附图内容所做的等效结构,直接或间接运用在其他相关的技术领域,均同理在本申请专利保护范围之内。Obviously, the above-described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. The accompanying drawings show the preferred embodiments of the present application, but do not limit the scope of the patent of the present application. This application may be embodied in many different forms, rather these embodiments are provided so that a thorough and complete understanding of the disclosure of this application is provided. Although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing specific embodiments, or perform equivalent replacements for some of the technical features. . Any equivalent structure made by using the contents of the description and drawings of the present application, which is directly or indirectly used in other related technical fields, is also within the scope of protection of the patent of the present application.

Claims (20)

  1. 一种房产图片验证方法,包括下述步骤:A real estate image verification method, comprising the following steps:
    接收房产图片验证请求,所述房产图片验证请求中包含待验证的房产图片和待验证的房产信息,其中,所述待验证的房产图片含数字水印,所述数字水印包含所述待验证的房产图片拍摄时的位置信息;Receive a real estate image verification request, where the real estate image verification request includes the real estate image to be verified and the real estate information to be verified, wherein the real estate image to be verified contains a digital watermark, and the digital watermark contains the real estate to be verified Location information when the picture was taken;
    根据所述待验证的房产信息检索预设的数据库,获得所述待验证的房产的实际位置,所述预设的数据库至少预存房产的实际位置;Retrieves a preset database according to the real estate information to be verified, and obtains the actual location of the real estate to be verified, and the preset database at least pre-stores the actual location of the real estate;
    提取所述数字水印中的位置信息;extracting the location information in the digital watermark;
    比较所述位置信息和所述实际位置是否一致;comparing whether the location information is consistent with the actual location;
    当所述位置信息与所述实际位置一致时,确定所述房产图片通过验证。When the location information is consistent with the actual location, it is determined that the real estate picture has passed the verification.
  2. 根据权利要求1所述的房产图片验证方法,其中,在所述接收房产图片验证请求,所述房产图片验证请求中包含待验证的房产图片和待验证的房产信息,其中,所述待验证的房产图片含数字水印,所述数字水印包含所述待验证的房产图片拍摄时的位置信息的步骤之前,包括:The real estate image verification method according to claim 1, wherein, in the receiving real estate image verification request, the real estate image verification request includes a real estate image to be verified and real estate information to be verified, wherein the real estate image verification request to be verified The real estate picture contains a digital watermark, and the digital watermark includes the location information of the real estate picture to be verified before the steps, including:
    获取实时拍摄请求;Get real-time shooting requests;
    根据实时拍摄请求,调用预设的图片拍摄模块和预设的定位模块,获得实时拍摄的图片和实时拍摄所处的位置信息;According to the real-time shooting request, call the preset picture shooting module and the preset positioning module to obtain the real-time shooting picture and the location information of the real-time shooting;
    将所述位置信息转换为数字水印添加到所述图片中,获得添加了数字水印的待验证的房产图片。The location information is converted into a digital watermark and added to the picture to obtain a picture of the real estate to be verified to which the digital watermark has been added.
  3. 根据权利要求1所述的房产图片验证方法,其中,所述预设的数据库包含房产实际持有人信息,所述当所述位置信息与所述实际位置一致时,确定所述房产图片通过验证的步骤之前还包括:The real estate picture verification method according to claim 1, wherein the preset database contains real estate owner information, and when the position information is consistent with the actual position, it is determined that the real estate picture passes the verification The steps also include:
    获取待验证的房产持有人信息;Obtain the property owner information to be verified;
    根据所述待验证房产信息检索预设的数据库,获得所述房产信息对应的实际持有人信息;Retrieve a preset database according to the real estate information to be verified, and obtain the actual holder information corresponding to the real estate information;
    比较所述待验证的房产持有人信息和所述实际持有人信息;comparing said property owner information to be verified with said actual owner information;
    所述当所述位置信息与所述实际位置一致时,确定所述房产图片通过验证的步骤包括:When the location information is consistent with the actual location, the step of determining that the real estate picture has passed the verification includes:
    当所述待验证的房产持有人信息和所述实际持有人信息一致,且所述位置信息与所述实际位置一致时,确定所述待验证的房产图片通过验证。When the property owner information to be verified is consistent with the actual owner information, and the location information is consistent with the actual location, it is determined that the property image to be verified passes the verification.
  4. 根据权利要求3所述的房产图片验证方法,其中,所述实际持有人信息包含实际持有人的人脸特征,所述比较所述待验证的房产持有人信息和所述实际持有人信息的步骤,包括:The real estate picture verification method according to claim 3, wherein the actual holder information includes the facial features of the actual holder, and the comparison between the real estate holder information to be verified and the actual holder Steps to personal information, including:
    将所述待验证的房产持有人的人脸图像进行特征提取,获得待验证人脸特征;Perform feature extraction on the face image of the property holder to be verified to obtain the face feature to be verified;
    计算所述待验证人脸特征和所述实际持有人的人脸特征的相似度;Calculate the similarity between the face feature to be verified and the face feature of the actual holder;
    当所述相似度大于设定阈值时,确定所述待验证的房产持有人信息和所述实际持有人信息一致。When the similarity is greater than a set threshold, it is determined that the property owner information to be verified is consistent with the actual owner information.
  5. 根据权利要求1所述的房产图片验证方法,其中,在所述接收房产图片验证请求,所述房产图片验证请求中包含待验证的房产图片和待验证的房产信息,其中,所述待验证的房产图片含数字水印,所述数字水印包含所述待验证的房产图片拍摄时的位置信息的步骤之后还包括:The real estate image verification method according to claim 1, wherein, in the receiving real estate image verification request, the real estate image verification request includes a real estate image to be verified and real estate information to be verified, wherein the real estate image verification request to be verified The real estate picture includes a digital watermark, and the digital watermark includes the location information of the real estate picture to be verified after the step of taking the photo, and further includes:
    将所述待验证的房产图片输入到预先训练的神经网络模型中,获取所述预先训练的神经网络模型响应所述房产图片而输出的分类结果,所述分类结果为翻拍图片或非翻拍图片;Inputting the real estate picture to be verified into a pre-trained neural network model, and obtaining a classification result output by the pre-trained neural network model in response to the real estate picture, and the classification result is a remake picture or a non-remake picture;
    当所述分类结果为翻拍图片时,确定所述待验证的房产图片验证失败。When the classification result is a retaken picture, it is determined that the verification of the real estate picture to be verified fails.
  6. 根据权利要求5所述的房产图片验证方法,其中,所述神经网络模型的训练包括:The real estate picture verification method according to claim 5, wherein the training of the neural network model comprises:
    获取训练样本,所述训练样本为标注是否为翻拍图片的N个房产图片,N为大于0的正整数;Acquiring training samples, where the training samples are N real estate pictures marked as remade pictures, and N is a positive integer greater than 0;
    将所述训练样本输入到所述神经网络模型中,获得所述神经网络模型响应所述N个房产图片输出的N个预测结果;Inputting the training sample into the neural network model to obtain N prediction results output by the neural network model in response to the N real estate pictures;
    通过损失函数比对所述N个预测结果和所述标注是否一致,其中所述损失函数为:Compare the N prediction results and the annotations through a loss function, where the loss function is:
    Figure PCTCN2021109507-appb-100001
    Figure PCTCN2021109507-appb-100001
    其中,N为训练样本数,针对第i个样本其对应为Yi是标注结果,h=(h1,h2,...,hc)为样本i的预测结果,其中C是所有分类的数量;Among them, N is the number of training samples, Yi is the labeling result for the ith sample, h=(h1, h2,...,hc) is the prediction result of sample i, where C is the number of all categories;
    调整所述神经网络模型中各节点的参数,至所述损失函数达到最小值时结束,得到所述预先训练的神经网络模型。The parameters of each node in the neural network model are adjusted until the loss function reaches a minimum value, and the pre-trained neural network model is obtained.
  7. 根据权利要求1所述的房产图片验证方法,其中,还包括:The real estate picture verification method according to claim 1, wherein, further comprising:
    将所述接收房产图片验证请求存储于区块链中。The received real estate picture verification request is stored in the blockchain.
  8. 一种房产图片验证装置,包括:A real estate picture verification device, comprising:
    接收模块,用于接收房产图片验证请求,所述房产图片验证请求中包含待验证的房产图片和待验证的房产信息,其中,所述待验证的房产图片含数字水印,所述数字水印包含所述待验证的房产图片拍摄时的位置信息;The receiving module is used to receive a real estate image verification request, where the real estate image verification request includes the real estate image to be verified and the real estate information to be verified, wherein the real estate image to be verified contains a digital watermark, and the digital watermark contains all the real estate images to be verified. Describe the location information of the property to be verified when the picture was taken;
    检索模块,用于根据所述待验证的房产信息检索预设的数据库,获得所述待验证的房产的实际位置,所述预设的数据库至少预存房产的实际位置;a retrieval module, used for retrieving a preset database according to the real estate information to be verified, to obtain the actual location of the real estate to be verified, and the preset database at least pre-stores the actual location of the real estate;
    提取模块,用于提取所述数字水印中的位置信息;an extraction module for extracting the location information in the digital watermark;
    比较模块,用于比较所述位置信息和所述实际位置是否一致;a comparison module for comparing whether the position information is consistent with the actual position;
    确定模块,用于当所述位置信息与所述实际位置一致时,确定所述房产图片通过验证。A determination module, configured to determine that the real estate picture has passed the verification when the location information is consistent with the actual location.
  9. 一种计算机设备,包括存储器和处理器,所述存储器中存储有计算机可读指令,所述处理器执行所述计算机可读指令时实现如下步骤:A computer device, comprising a memory and a processor, wherein computer-readable instructions are stored in the memory, and the processor implements the following steps when executing the computer-readable instructions:
    接收房产图片验证请求,所述房产图片验证请求中包含待验证的房产图片和待验证的房产信息,其中,所述待验证的房产图片含数字水印,所述数字水印包含所述待验证的房产图片拍摄时的位置信息;Receive a real estate image verification request, where the real estate image verification request includes the real estate image to be verified and the real estate information to be verified, wherein the real estate image to be verified contains a digital watermark, and the digital watermark contains the real estate to be verified Location information when the picture was taken;
    根据所述待验证的房产信息检索预设的数据库,获得所述待验证的房产的实际位置,所述预设的数据库至少预存房产的实际位置;Retrieves a preset database according to the real estate information to be verified, and obtains the actual location of the real estate to be verified, and the preset database at least pre-stores the actual location of the real estate;
    提取所述数字水印中的位置信息;extracting the location information in the digital watermark;
    比较所述位置信息和所述实际位置是否一致;comparing whether the location information is consistent with the actual location;
    当所述位置信息与所述实际位置一致时,确定所述房产图片通过验证。When the location information is consistent with the actual location, it is determined that the real estate picture has passed the verification.
  10. 根据权利要求9所述的计算机设备,其中,在所述接收房产图片验证请求,所述房产图片验证请求中包含待验证的房产图片和待验证的房产信息,其中,所述待验证的房产图片含数字水印,所述数字水印包含所述待验证的房产图片拍摄时的位置信息的步骤之前,包括:The computer device according to claim 9, wherein in the receiving a real estate image verification request, the real estate image verification request includes a real estate image to be verified and real estate information to be verified, wherein the real estate image to be verified Before the step of containing the digital watermark, the digital watermark includes the location information of the real estate picture to be verified when the picture is taken, including:
    获取实时拍摄请求;Get real-time shooting requests;
    根据实时拍摄请求,调用预设的图片拍摄模块和预设的定位模块,获得实时拍摄的图片和实时拍摄所处的位置信息;According to the real-time shooting request, call the preset picture shooting module and the preset positioning module to obtain the real-time shooting picture and the location information of the real-time shooting;
    将所述位置信息转换为数字水印添加到所述图片中,获得添加了数字水印的待验证的房产图片。The location information is converted into a digital watermark and added to the picture to obtain a picture of the real estate to be verified to which the digital watermark has been added.
  11. 根据权利要求9所述的计算机设备,其中,所述预设的数据库包含房产实际持有人信息,所述当所述位置信息与所述实际位置一致时,确定所述房产图片通过验证的步骤之 前还包括:The computer device according to claim 9, wherein the preset database contains real estate owner information, and when the position information is consistent with the actual position, the step of determining that the real estate picture passes the verification Also included before:
    获取待验证的房产持有人信息;Obtain the property owner information to be verified;
    根据所述待验证房产信息检索预设的数据库,获得所述房产信息对应的实际持有人信息;Retrieve a preset database according to the real estate information to be verified, and obtain the actual holder information corresponding to the real estate information;
    比较所述待验证的房产持有人信息和所述实际持有人信息;comparing said property owner information to be verified with said actual owner information;
    所述当所述位置信息与所述实际位置一致时,确定所述房产图片通过验证的步骤包括:When the location information is consistent with the actual location, the step of determining that the real estate picture has passed the verification includes:
    当所述待验证的房产持有人信息和所述实际持有人信息一致,且所述位置信息与所述实际位置一致时,确定所述待验证的房产图片通过验证。When the property owner information to be verified is consistent with the actual owner information, and the location information is consistent with the actual location, it is determined that the property image to be verified passes the verification.
  12. 根据权利要求11所述的计算机设备,其中,所述实际持有人信息包含实际持有人的人脸特征,所述比较所述待验证的房产持有人信息和所述实际持有人信息的步骤,包括:11. The computer device of claim 11, wherein the actual owner information includes facial features of the actual owner, and the comparing the property owner information to be verified with the actual owner information steps, including:
    将所述待验证的房产持有人的人脸图像进行特征提取,获得待验证人脸特征;Perform feature extraction on the face image of the property holder to be verified to obtain the face feature to be verified;
    计算所述待验证人脸特征和所述实际持有人的人脸特征的相似度;Calculate the similarity between the face feature to be verified and the face feature of the actual holder;
    当所述相似度大于设定阈值时,确定所述待验证的房产持有人信息和所述实际持有人信息一致。When the similarity is greater than a set threshold, it is determined that the property owner information to be verified is consistent with the actual owner information.
  13. 根据权利要求9所述的计算机设备,其中,在所述接收房产图片验证请求,所述房产图片验证请求中包含待验证的房产图片和待验证的房产信息,其中,所述待验证的房产图片含数字水印,所述数字水印包含所述待验证的房产图片拍摄时的位置信息的步骤之后还包括:The computer device according to claim 9, wherein in the receiving a real estate image verification request, the real estate image verification request includes a real estate image to be verified and real estate information to be verified, wherein the real estate image to be verified After the step of containing a digital watermark, the digital watermark includes the location information of the real estate picture to be verified when the picture is taken:
    将所述待验证的房产图片输入到预先训练的神经网络模型中,获取所述预先训练的神经网络模型响应所述房产图片而输出的分类结果,所述分类结果为翻拍图片或非翻拍图片;Inputting the real estate picture to be verified into a pre-trained neural network model, and obtaining a classification result output by the pre-trained neural network model in response to the real estate picture, and the classification result is a remake picture or a non-remake picture;
    当所述分类结果为翻拍图片时,确定所述待验证的房产图片验证失败。When the classification result is a retaken picture, it is determined that the verification of the real estate picture to be verified fails.
  14. 根据权利要求13所述的计算机设备,其中,所述神经网络模型的训练包括:The computer device of claim 13, wherein the training of the neural network model comprises:
    获取训练样本,所述训练样本为标注是否为翻拍图片的N个房产图片,N为大于0的正整数;Acquiring training samples, where the training samples are N real estate pictures marked as remade pictures, and N is a positive integer greater than 0;
    将所述训练样本输入到所述神经网络模型中,获得所述神经网络模型响应所述N个房产图片输出的N个预测结果;Inputting the training sample into the neural network model to obtain N prediction results output by the neural network model in response to the N real estate pictures;
    通过损失函数比对所述N个预测结果和所述标注是否一致,其中所述损失函数为:Compare the N prediction results and the annotations through a loss function, where the loss function is:
    Figure PCTCN2021109507-appb-100002
    Figure PCTCN2021109507-appb-100002
    其中,N为训练样本数,针对第i个样本其对应为Yi是标注结果,h=(h1,h2,...,hc)为样本i的预测结果,其中C是所有分类的数量;Among them, N is the number of training samples, Yi is the labeling result for the ith sample, h=(h1, h2,...,hc) is the prediction result of sample i, where C is the number of all categories;
    调整所述神经网络模型中各节点的参数,至所述损失函数达到最小值时结束,得到所述预先训练的神经网络模型。The parameters of each node in the neural network model are adjusted until the loss function reaches a minimum value, and the pre-trained neural network model is obtained.
  15. 根据权利要求9所述的计算机设备,其中,所述处理器执行所述计算机可读指令时还实现如下步骤:The computer device of claim 9, wherein the processor further implements the following steps when executing the computer-readable instructions:
    将所述接收房产图片验证请求存储于区块链中。The received real estate picture verification request is stored in the blockchain.
  16. 一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机可读指令,所述计算机可读指令被处理器执行时,使得所述处理器还执行如下步骤:A computer-readable storage medium, where computer-readable instructions are stored on the computer-readable storage medium, and when the computer-readable instructions are executed by a processor, the processor further performs the following steps:
    接收房产图片验证请求,所述房产图片验证请求中包含待验证的房产图片和待验证的房产信息,其中,所述待验证的房产图片含数字水印,所述数字水印包含所述待验证的房产图片拍摄时的位置信息;Receive a real estate image verification request, where the real estate image verification request includes the real estate image to be verified and the real estate information to be verified, wherein the real estate image to be verified contains a digital watermark, and the digital watermark contains the real estate to be verified Location information when the picture was taken;
    根据所述待验证的房产信息检索预设的数据库,获得所述待验证的房产的实际位置,所述预设的数据库至少预存房产的实际位置;Retrieves a preset database according to the real estate information to be verified, and obtains the actual location of the real estate to be verified, and the preset database at least pre-stores the actual location of the real estate;
    提取所述数字水印中的位置信息;extracting the location information in the digital watermark;
    比较所述位置信息和所述实际位置是否一致;comparing whether the location information is consistent with the actual location;
    当所述位置信息与所述实际位置一致时,确定所述房产图片通过验证。When the location information is consistent with the actual location, it is determined that the real estate picture has passed the verification.
  17. 根据权利要求16所述的计算机可读存储介质,其中,在所述接收房产图片验证请求,所述房产图片验证请求中包含待验证的房产图片和待验证的房产信息,其中,所述待验证的房产图片含数字水印,所述数字水印包含所述待验证的房产图片拍摄时的位置信息的步骤之前,包括:The computer-readable storage medium according to claim 16, wherein, in the receiving a real estate image verification request, the real estate image verification request includes a real estate image to be verified and real estate information to be verified, wherein the to-be-verified real estate image is included in the real estate image verification request. The real estate picture contains a digital watermark, and the digital watermark contains the location information of the real estate picture to be verified before the steps, including:
    获取实时拍摄请求;Get real-time shooting requests;
    根据实时拍摄请求,调用预设的图片拍摄模块和预设的定位模块,获得实时拍摄的图片和实时拍摄所处的位置信息;According to the real-time shooting request, call the preset picture shooting module and the preset positioning module to obtain the real-time shooting picture and the location information of the real-time shooting;
    将所述位置信息转换为数字水印添加到所述图片中,获得添加了数字水印的待验证的房产图片。The location information is converted into a digital watermark and added to the picture to obtain a picture of the real estate to be verified to which the digital watermark has been added.
  18. 根据权利要求16所述的计算机可读存储介质,其中,所述预设的数据库包含房产实际持有人信息,所述当所述位置信息与所述实际位置一致时,确定所述房产图片通过验证的步骤之前还包括:The computer-readable storage medium according to claim 16, wherein the preset database contains real estate owner information, and when the location information is consistent with the actual location, it is determined that the real estate picture passes The verification steps also include:
    获取待验证的房产持有人信息;Obtain the property owner information to be verified;
    根据所述待验证房产信息检索预设的数据库,获得所述房产信息对应的实际持有人信息;Retrieve a preset database according to the real estate information to be verified, and obtain the actual holder information corresponding to the real estate information;
    比较所述待验证的房产持有人信息和所述实际持有人信息;comparing said property owner information to be verified with said actual owner information;
    所述当所述位置信息与所述实际位置一致时,确定所述房产图片通过验证的步骤包括:When the location information is consistent with the actual location, the step of determining that the real estate picture has passed the verification includes:
    当所述待验证的房产持有人信息和所述实际持有人信息一致,且所述位置信息与所述实际位置一致时,确定所述待验证的房产图片通过验证。When the property owner information to be verified is consistent with the actual owner information, and the location information is consistent with the actual location, it is determined that the property image to be verified passes the verification.
  19. 根据权利要求18所述的计算机可读存储介质,其中,所述实际持有人信息包含实际持有人的人脸特征,所述比较所述待验证的房产持有人信息和所述实际持有人信息的步骤,包括:19. The computer-readable storage medium of claim 18, wherein the actual holder information includes facial features of the actual holder, and the comparing the property holder information to be verified with the actual holder Steps to have someone information, including:
    将所述待验证的房产持有人的人脸图像进行特征提取,获得待验证人脸特征;Perform feature extraction on the face image of the property holder to be verified to obtain the face feature to be verified;
    计算所述待验证人脸特征和所述实际持有人的人脸特征的相似度;Calculate the similarity between the face feature to be verified and the face feature of the actual holder;
    当所述相似度大于设定阈值时,确定所述待验证的房产持有人信息和所述实际持有人信息一致。When the similarity is greater than a set threshold, it is determined that the property owner information to be verified is consistent with the actual owner information.
  20. 根据权利要求16所述的计算机可读存储介质,其中,在所述接收房产图片验证请求,所述房产图片验证请求中包含待验证的房产图片和待验证的房产信息,其中,所述待验证的房产图片含数字水印,所述数字水印包含所述待验证的房产图片拍摄时的位置信息的步骤之后还包括:The computer-readable storage medium according to claim 16, wherein, in the receiving a real estate image verification request, the real estate image verification request includes a real estate image to be verified and real estate information to be verified, wherein the to-be-verified real estate image is included in the real estate image verification request. The real estate picture contains a digital watermark, and the digital watermark further includes after the steps of the digital watermark containing the location information of the real estate picture to be verified when shooting:
    将所述待验证的房产图片输入到预先训练的神经网络模型中,获取所述预先训练的神经网络模型响应所述房产图片而输出的分类结果,所述分类结果为翻拍图片或非翻拍图片;Inputting the real estate picture to be verified into a pre-trained neural network model, and obtaining a classification result output by the pre-trained neural network model in response to the real estate picture, and the classification result is a remake picture or a non-remake picture;
    当所述分类结果为翻拍图片时,确定所述待验证的房产图片验证失败。When the classification result is a retaken picture, it is determined that the verification of the real estate picture to be verified fails.
PCT/CN2021/109507 2020-12-22 2021-07-30 Real estate picture verification method and apparatus, computer device and storage medium WO2022134584A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011528048.1A CN112650875A (en) 2020-12-22 2020-12-22 House image verification method and device, computer equipment and storage medium
CN202011528048.1 2020-12-22

Publications (1)

Publication Number Publication Date
WO2022134584A1 true WO2022134584A1 (en) 2022-06-30

Family

ID=75358967

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/109507 WO2022134584A1 (en) 2020-12-22 2021-07-30 Real estate picture verification method and apparatus, computer device and storage medium

Country Status (2)

Country Link
CN (1) CN112650875A (en)
WO (1) WO2022134584A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112650875A (en) * 2020-12-22 2021-04-13 深圳壹账通智能科技有限公司 House image verification method and device, computer equipment and storage medium
CN113486715A (en) * 2021-06-04 2021-10-08 广州图匠数据科技有限公司 Image reproduction identification method, intelligent terminal and computer storage medium
CN113610517A (en) * 2021-07-27 2021-11-05 浙江惠瀜网络科技有限公司 Home decoration staging service application method and device based on photo position information
CN115695945A (en) * 2021-07-30 2023-02-03 瑞庭网络技术(上海)有限公司 Image processing method and device, electronic equipment and computer readable storage medium
CN113837310B (en) * 2021-09-30 2023-05-23 四川新网银行股份有限公司 Multi-scale fused certificate flap recognition method and device, electronic equipment and medium
CN114936354B (en) * 2022-05-20 2023-02-17 浙江云程信息科技有限公司 Information processing method and device for engineering supervision
CN116958795A (en) * 2023-06-30 2023-10-27 北京房多多信息技术有限公司 Method and device for identifying flip image, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190180008A1 (en) * 2015-08-18 2019-06-13 International Business Machines Corporation Increased security using dynamic watermarking
CN110489944A (en) * 2019-07-17 2019-11-22 招联消费金融有限公司 Background picture generation method, device and the storage medium of information management system
CN110619039A (en) * 2018-12-25 2019-12-27 北京时光荏苒科技有限公司 Method and device for checking house property information, storage medium and electronic equipment
CN111275468A (en) * 2018-12-04 2020-06-12 山东快发网络科技有限公司 Advertisement putting condition monitoring method, shooting server and shooting equipment
CN111508095A (en) * 2020-04-08 2020-08-07 厦门中控智慧信息技术有限公司 Mobile phone remote card punching method and device
CN111859331A (en) * 2020-04-17 2020-10-30 北京嘀嘀无限科技发展有限公司 Verification method, verification device, electronic equipment and medium
CN112650875A (en) * 2020-12-22 2021-04-13 深圳壹账通智能科技有限公司 House image verification method and device, computer equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190180008A1 (en) * 2015-08-18 2019-06-13 International Business Machines Corporation Increased security using dynamic watermarking
CN111275468A (en) * 2018-12-04 2020-06-12 山东快发网络科技有限公司 Advertisement putting condition monitoring method, shooting server and shooting equipment
CN110619039A (en) * 2018-12-25 2019-12-27 北京时光荏苒科技有限公司 Method and device for checking house property information, storage medium and electronic equipment
CN110489944A (en) * 2019-07-17 2019-11-22 招联消费金融有限公司 Background picture generation method, device and the storage medium of information management system
CN111508095A (en) * 2020-04-08 2020-08-07 厦门中控智慧信息技术有限公司 Mobile phone remote card punching method and device
CN111859331A (en) * 2020-04-17 2020-10-30 北京嘀嘀无限科技发展有限公司 Verification method, verification device, electronic equipment and medium
CN112650875A (en) * 2020-12-22 2021-04-13 深圳壹账通智能科技有限公司 House image verification method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN112650875A (en) 2021-04-13

Similar Documents

Publication Publication Date Title
WO2022134584A1 (en) Real estate picture verification method and apparatus, computer device and storage medium
WO2022126970A1 (en) Method and device for financial fraud risk identification, computer device, and storage medium
US20180181594A1 (en) Searching Method and Apparatus
CN110276366A (en) Carry out test object using Weakly supervised model
CN108734106B (en) Rapid riot and terrorist video identification method based on comparison
JP2014522020A (en) How to exchange business card information by combining character recognition and image verification
CN112863683B (en) Medical record quality control method and device based on artificial intelligence, computer equipment and storage medium
WO2022105119A1 (en) Training corpus generation method for intention recognition model, and related device thereof
CN112330331A (en) Identity verification method, device and equipment based on face recognition and storage medium
CN112101437A (en) Fine-grained classification model processing method based on image detection and related equipment thereof
WO2023071105A1 (en) Method and apparatus for analyzing feature variable, computer device, and storage medium
CN114663952A (en) Object classification method, deep learning model training method, device and equipment
CN112528029A (en) Text classification model processing method and device, computer equipment and storage medium
CN113011254B (en) Video data processing method, computer equipment and readable storage medium
CN114282258A (en) Screen capture data desensitization method and device, computer equipment and storage medium
CN111709851A (en) Hotel safety check-in method, device and equipment based on RFID and facial recognition
CN112287945A (en) Screen fragmentation determination method and device, computer equipment and computer readable storage medium
WO2023000792A1 (en) Methods and apparatuses for constructing living body identification model and for living body identification, device and medium
WO2022105120A1 (en) Text detection method and apparatus from image, computer device and storage medium
CN114461833A (en) Picture evidence obtaining method and device, computer equipment and storage medium
CN111966851B (en) Image recognition method and system based on small number of samples
CN109858339B (en) Information verification method, information verification device, computer equipment and computer readable storage medium
CN112966150A (en) Video content extraction method and device, computer equipment and storage medium
KR20200009887A (en) Method and system for determining image similarity
CN111985483B (en) Method and device for detecting screen shot file picture and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21908589

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 311023)