CN106101642A - A kind of long-distance meter-reading system based on machine vision - Google Patents

A kind of long-distance meter-reading system based on machine vision Download PDF

Info

Publication number
CN106101642A
CN106101642A CN201610567825.0A CN201610567825A CN106101642A CN 106101642 A CN106101642 A CN 106101642A CN 201610567825 A CN201610567825 A CN 201610567825A CN 106101642 A CN106101642 A CN 106101642A
Authority
CN
China
Prior art keywords
browser
image
ethernet chip
view data
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610567825.0A
Other languages
Chinese (zh)
Inventor
雷飞
柴前
龚大利
付伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing University of Technology
Original Assignee
Beijing University of Technology
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 Beijing University of Technology filed Critical Beijing University of Technology
Priority to CN201610567825.0A priority Critical patent/CN106101642A/en
Publication of CN106101642A publication Critical patent/CN106101642A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/00095Systems or arrangements for the transmission of the picture signal
    • H04N1/00103Systems or arrangements for the transmission of the picture signal specially adapted for radio transmission, e.g. via satellites
    • H04N1/00106Systems or arrangements for the transmission of the picture signal specially adapted for radio transmission, e.g. via satellites using land mobile radio networks, e.g. mobile telephone
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/14Picture signal circuitry for video frequency region

Abstract

The present invention discloses a kind of long-distance meter-reading system based on machine vision, including: IP Camera, processor, Ethernet chip, server, described server comprises: browser, Matlab image processing module and display module.The IP of browser timer access hardware, http request is sent to Ethernet chip, the web page program of html5 is sent to browser by Ethernet chip after receiving the request, browser actively can be set up WebSocket with Ethernet chip and be connected, after completing handshake operation, set up the data channel of image transmitting;Whenever being polled to after new image is ready to, by WebSocket, view data will be sent to browser;By Matlab image processing module, view data is processed, the view data after being identified;Display module shows data and the table tool picture of each observation station based on the view data after identifying with web interface form.Using technical scheme, can have data message by all kinds of table of acquisition accurate, quick and easy, giving checks meter brings convenience.

Description

A kind of long-distance meter-reading system based on machine vision
Technical field
The invention belongs to remote control technology field, particularly relate to a kind of long-distance meter-reading system based on machine vision.
Background technology
Along with the fast development of China's economy, town dweller is increasing to the demand of water, gas and electricity resource, the most right Water, electricity and gas supplier proposes the biggest challenge at aspect of checking meter.At present at the field of making an inventory of table tool, commonly used meter reading method Manual metering IC-card, pre-payment is had to check meter and the multiple meter reading method such as wireless transmit formula water meter, but traditional manual metering side Formula existence takes time and effort, precision is low, the most high drawback of poor reliability, real-time, and the IC-card pre-payment for technology maturation is checked meter With the intelligent meter data recording mode such as wireless transmit formula water meter, although easy for installation, system administration is intelligent, but, if the number of table tool Break down according to transport module or user still uses old-fashioned table to have, then these intelligent meter data recording modes just cannot meet existing The operation of system.So, the most also occur in that a lot of kilowatt meter reading-out system based on image recognition, but these systems can be because of scene Environmental factors, the problems such as the bit error rate is high and cannot proofread occur, bring very big inconvenience to water, electricity and gas supplier and estate management.
Summary of the invention
The technical problem to be solved in the present invention, it is provided that a kind of long-distance meter-reading system based on machine vision, can accurately, soon Data message prompt, all kinds of tables of acquisition tool easily, giving checks meter brings convenience.
For solving the problems referred to above, the present invention adopts the following technical scheme that:
A kind of long-distance meter-reading system based on machine vision includes: IP Camera, processor MCU, Ethernet chip, clothes Business device;Described IP Camera, for shooting table is had photo site, and reaches MCU by view data;Described processor MCU, For receiving image data, and the view data of relief area is sent to Ethernet chip;Described server comprises: browser, Matlab image processing module and display module, wherein,
The IP of described browser timer access Ethernet chip, sends Http request, Ethernet chip to Ethernet chip The web page program of Html5 is sent to browser after receiving the request, and browser actively sets up WebSocket with Ethernet chip Connecting, after completing handshake operation, the data channel of image transmitting i.e. establishes, whenever being polled to after new image is ready to, By WebSocket, view data will be sent to browser;
Matlab image processing module, for view data carries out Image semantic classification, gradient is corrected and character divides Cut and with identification, the view data after being identified;
Display module, for based on identify after view data with web interface form show each observation station data and Table tool picture.
As preferably, Ethernet chip sets up WebSocket and HttpServer by the two of Socket depositors, logical Cross described WebSocket, can set up and server end communication link, with transmission network camera image data, by described Http Server, can input the IP address of configuration on a web browser, to realize the picture number of remote access network photographic head shooting According to.
As preferably, the described pretreatment of Matlab image processing module comprises: image enhaucament, image denoising and two-value Change;Described gradient correction process comprises: frame location, extraction parallel lines and gradient correction;Described Character segmentation and with knowledge Other places reason comprises: normalized, Character segmentation, template matching.
As preferably, also include: described light compensating apparatus, for, while IP Camera shooting table tool LCD photo, entering Row light filling processes.
As preferably, also including: solar power supply apparatus, described solar power supply apparatus includes too can tabula rasa, electric current Controller, accumulator, solar energy tabula rasa is connected with current controller, and current controller is connected with accumulator, and current controller divides It is not connected with IP Camera, light compensating apparatus, processor MCU, Ethernet chip.
The tele-control system of the present invention, use browser timer access Ethernet chip IP, by communication network to Ethernet chip sends Http request, and the web page program of Html5 is sent to browser by Ethernet chip after receiving the request, In web page program, browser actively can be set up WebSocket with Ethernet chip and be connected.After completing handshake operation, image passes Defeated data channel i.e. establishes.So whenever being polled to after new image is ready to, will be by WebSocket by picture number According to being sent to browser, after browser receives data, drawing image on interface, picture is deposited to server settings catalogue simultaneously Under, process for Matlab image processing system.Server uses Web page by the data of each observation station of data, table tool picture Presenting to user with ASSOCIATE STATISTICS, this web interface can be issued in corporate lan, and company personnel looks in its authority See information and photo site that each table has.
Compared with prior art, the kilowatt meter reading-out system of the present invention is with web interface display table tool data and image, based on server The Matlab image processing system of end improves reliability and accuracy, and having the picture at scene is reference, it is provided that a kind of Redundancy scheme, decreases on-the-spot end image procossing and the trouble of protocol conversion, it is contemplated that exist cannot carry in some remote districts The situation of power supply source, selects solar powered, it is ensured that the adaptability of installation site.
Accompanying drawing explanation
Fig. 1 is the structural representation of the long-distance meter-reading system based on machine vision of the present invention;
Fig. 2 is the workflow diagram of the long-distance meter-reading system based on machine vision of the present invention.
Detailed description of the invention
Below with reference to detailed description of the invention shown in the drawings, the present invention is described in further detail.
As it is shown in figure 1, the embodiment of the present invention provide a kind of long-distance meter-reading system based on machine vision, provide the user and Time, table tool reading accurately, also provide the user the photo of on-the-spot table tool, in order to carry out checking and historical query.
Described long-distance meter-reading system uses the mode that IP Camera and Http5 webpage combine, including: far-end collection fills Put, communication network, server, solar electric power supply system, described far-end harvester comprises: IP Camera (OV2640), mend Electro-optical device (LED), processor MCU (STM32F4), Ethernet chip (W5500), router.
Described IP Camera, is used for that shooting table is had photo site, and uses its internal DSP to obtain JPEG after compressing The picture of form, reaches MCU by view data by the way of parallel bus.
Described light compensating apparatus, for, while IP Camera shooting table tool LCD photo, carrying out light filling process, make bat The picture taken the photograph is clear.
Described processor MCU, for utilizing its internal Flash to receive image data, and by the view data of relief area Send to Ethernet chip.
Described Ethernet chip is a devices at full hardware TCP/IP embedded Ethernet controller, provides more for embedded system Easy the Internet connection scheme.Described Ethernet chip is integrated with ICP/IP protocol stack, 10/100M ethernet data link layer (MAC) and physical layer (PHY) so that user uses single-chip just can expand network in their application to connect.At this it is System has been used Socket port register.After WebSocket data monitoring to buffer data is ready, it is possible to will Image is sent to browser.
Described communication network is 3G net or the Internet.
The described router i.e. router of control centre, data reach control centre through public network, but the service of control centre Device can not allow extranet access, for the safety of system data, is provided with the IP port mapping of fire wall and router.
Described solar power supply apparatus includes too can tabula rasa, current controller, accumulator.Described solar powered dress In putting, solar energy tabula rasa is connected with current controller, and current controller is connected with accumulator, and current controller is connected with load, I.e. current controller is connected with IP Camera, light compensating apparatus, processor MCU, Ethernet chip respectively.Current controller controls The tabula rasa charging to accumulator, control accumulator to load power supply, electric supply installation can solve well field, wilderness or The power supply of power supply, image capturing system and the transmitting device of city's ammeter tool cannot be provided.Solar electric power supply system, by electric current control Device processed, controls tabula rasa power supply to load to the charging of accumulator and accumulator, reaches to protect accumulator and the effect of load.
Described server, is positioned at control centre, and it includes browser, Matlab image processing module and display module, Wherein,
Described browser, for the IP of timer access Ethernet chip, sends http request, Ethernet to Ethernet chip The web page program of Html5 is sent to browser by chip after receiving the request, and in web page program, browser can active and ether Web-roll core sheet is set up WebSocket and is connected.After completing handshake operation, the data channel of image transmitting i.e. establishes.So whenever Being polled to after new image is ready to, by WebSocket, view data to be sent to browser, browser receives data After, drawing image on interface, picture is deposited to server settings catalogue simultaneously, process for Matlab image processing system.
Matlab image processing module, carries out three step process by sending to the picture set under catalogue according to request, and first Step is Image semantic classification, including: image enhaucament, image denoising and binaryzation.Water meter image is increased by Image semantic classification exactly By force with removal noise and binary conversion treatment, wherein the purpose of image enhaucament is the visual effect in order to improve image, abundant information Amount, strengthens information useful in image;Removed the noise inevitably introduced in image acquisition process by Filtering Processing, adopt Extract information by binary conversion treatment, target and background is separated, thus improves picture quality, exclusive PCR factor.Second step is: Gradient is corrected, and including frame location, extracts parallel lines and gradient correction, in the gatherer process carrying out water meter image, takes the photograph As the installation site of head is different with the angle of shooting, can make the image collected that certain inclination occurs.So it is accomplished by inclining Skewing scheme picture is corrected.First have to carry out frame location, then need to extract the contour edge of water meter frame, carrying out angle The method mainly using Hough transform detection of straight lines during estimation.After obtaining angle of inclination, can be by affine maps to figure As correcting.3rd step be Character segmentation and with identification, including normalized, Character segmentation, template matching.To above-mentioned After process, image is split, and is then normalized, should be these characters to be identified and the binaryzation preserved in advance Digital template compares one by one, and what similarity was high is exactly the result identified, the character obtained is carried out character combination, is just known Other result.
Display module, is compiled into java class by Matlab image processing program, by Web platform to this java class at Reason;The data that Matlab processes are stored under Mysql data base, and table are had data and on-the-spot picture according to web-page requests Issue on web interface, for accessing in corporate lan;Web interface shows the data of each observation station, and table tool picture is with relevant Statistics.
Below as a example by a system duty cycle, it is specifically described operation principle and the flow process of this system.
As in figure 2 it is shown, the Html5 page regularly sends to far-end harvester automatically in the way of webpage refreshing obtains picture Request, view data, after the request of receiving, is sent to browser by WebSocket by far-end harvester, and by instrument Dish image information is stored under server database, utilizes Matlab image processing system.First, image is carried out image enhaucament, Image denoising and binaryzation pretreatment, then, carry out frame location, extract parallel lines and gradient correction process, finally by Normalization, Character segmentation and template matching, add arithmetic point, and analysis result according to call format after obtaining result, by image The result identified directly is stored under data base in the way of data stream.Image information and knowledge in reading database under web interface Other digital information, system structure is simple, and the flowing of data stream is clear, constructs the redundancy scheme of numeral identification, improves data Accuracy, decreases workload and the protocol conversion of on-the-spot end identification.
The long-distance meter-reading system of the present invention, combines computer technology, image procossing, modern communication technology, energy The most in time, accurately and comprehensively reflect resident's service condition to aqueous vapor electric resources, existing meter reading method can be made up very well and exist Shortcoming.The design have employed the meter register method of machine vision, and IP Camera is fixed on just going up of table tool LCD display Side, according to request shooting photo, while shooting, the flash lamp being fixed on photographic head both sides carries out light filling, then by this article Part is compressed into jpeg format, utilizes two Socked resources within popular Ethernet chip, and one is used for creating Web Socket Server, webpage sets up communication link, for transmission network camera image data;Another is used for creating Http Server, inputs the IP address of configuration the most on a web browser, and browser just can remotely access the photo of shooting as client; And picture is reached under the setting catalogue of server, then with Matlab image processing system under server to image at Reason, and Matlab image processing program is compiled into java class, as long as these classes can be deployed to any service being mounted with MCR On device, finally, by web interface to user's publishing table tool information and photo site information.This system is based on server end Matlab image recognition improves the reliability and accuracy checked meter, and with on-the-spot picture as reference, it is provided that a kind of superfluous Remaining mechanism, decreases a lot of on-the-spot end image procossing based on image procossing kilowatt meter reading-out system and the trouble of protocol conversion, and hardware is pacified Assembling.
Above example is only the exemplary embodiment of the present invention, is not used in the restriction present invention, protection scope of the present invention It is defined by the claims.The present invention can be made respectively in the essence of the present invention and protection domain by those skilled in the art Planting amendment or equivalent, this amendment or equivalent also should be regarded as being within the scope of the present invention.

Claims (5)

1. a long-distance meter-reading system based on machine vision, it is characterised in that including: IP Camera, processor MCU, with Too web-roll core sheet, server;Described IP Camera, for shooting table is had photo site, and reaches MCU by view data;Institute State processor MCU, be used for receiving image data, and the view data of relief area is sent to Ethernet chip;Described server Comprise: browser, Matlab image processing module and display module, wherein,
The IP of described browser timer access Ethernet chip, sends Http request to Ethernet chip, and Ethernet chip is being received The web page program of Html5 is sent to after request browser, and browser actively sets up WebSocket even with Ethernet chip Connecing, after completing handshake operation, the data channel of image transmitting i.e. establishes, whenever being polled to after new image is ready to, just By WebSocket, view data can be sent to browser;
Matlab image processing module, for view data being carried out Image semantic classification, gradient correct and Character segmentation and With identification, the view data after being identified;
Display module, for showing data and the table tool of each observation station based on the view data after identifying with web interface form Picture.
Long-distance meter-reading system based on machine vision the most according to claim 1, it is characterised in that Ethernet chip is passed through WebSocket and HttpServer set up by two depositors of Socket, by described WebSocket, can set up and server End communication link, with transmission network camera image data, by described Http Server, can input configuration on a web browser IP address, with realize remote access network photographic head shooting view data.
Long-distance meter-reading system based on machine vision the most according to claim 1, it is characterised in that Matlab image procossing The described pretreatment of module comprises: image enhaucament, image denoising and binaryzation;Described gradient correction process comprises: frame is fixed Position, extraction parallel lines and gradient correction;Described Character segmentation and comprising with identifying processing: normalized, Character segmentation, mould Plate mates.
Long-distance meter-reading system based on machine vision the most according to claim 1, it is characterised in that also include: described benefit Electro-optical device, for, while IP Camera shooting table tool LCD photo, carrying out light filling process.
Long-distance meter-reading system based on machine vision the most according to claim 1, it is characterised in that also include: solar energy Electric supply installation, described solar power supply apparatus include too can tabula rasa, current controller, accumulator, solar energy tabula rasa and electric current Controller be connected, current controller is connected with accumulator, current controller respectively with IP Camera, light compensating apparatus, processor MCU, Ethernet chip connect.
CN201610567825.0A 2016-07-19 2016-07-19 A kind of long-distance meter-reading system based on machine vision Pending CN106101642A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610567825.0A CN106101642A (en) 2016-07-19 2016-07-19 A kind of long-distance meter-reading system based on machine vision

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610567825.0A CN106101642A (en) 2016-07-19 2016-07-19 A kind of long-distance meter-reading system based on machine vision

Publications (1)

Publication Number Publication Date
CN106101642A true CN106101642A (en) 2016-11-09

Family

ID=57221117

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610567825.0A Pending CN106101642A (en) 2016-07-19 2016-07-19 A kind of long-distance meter-reading system based on machine vision

Country Status (1)

Country Link
CN (1) CN106101642A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108063924A (en) * 2018-01-26 2018-05-22 江苏轩博电子科技有限公司 A kind of intelligent meter data recording system of Household mechanical table
CN108460387A (en) * 2018-03-26 2018-08-28 国网安徽省电力有限公司检修分公司 Intelligent electric power meter makes a copy of computing system and method
CN109288637A (en) * 2018-09-14 2019-02-01 山东建筑大学 A kind of healing robot managing and control system and its communication means
CN110631661A (en) * 2018-06-21 2019-12-31 江苏金钰铭电子有限公司 Water meter verification system capable of being remotely monitored and controlled based on Internet
CN111272257A (en) * 2020-02-20 2020-06-12 上海电机学院 Transformer oil level monitoring system based on machine vision
CN111641656A (en) * 2020-06-04 2020-09-08 上海图丽信息技术有限公司 Hospital data real-time screen projection system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101236693A (en) * 2007-02-01 2008-08-06 上海久隆电力(集团)有限公司 Intelligent meter reading system
CN102857737A (en) * 2012-07-30 2013-01-02 浙江新能量科技有限公司 Remote electric energy information collection system and method based on image recognition
CN203165184U (en) * 2013-03-15 2013-08-28 成都中远信电子科技有限公司 Remote meter reading data collecting system based on WiFi (wireless fidelity)
CN104751187A (en) * 2015-04-14 2015-07-01 山西科达自控股份有限公司 Automatic meter-reading image recognition method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101236693A (en) * 2007-02-01 2008-08-06 上海久隆电力(集团)有限公司 Intelligent meter reading system
CN102857737A (en) * 2012-07-30 2013-01-02 浙江新能量科技有限公司 Remote electric energy information collection system and method based on image recognition
CN203165184U (en) * 2013-03-15 2013-08-28 成都中远信电子科技有限公司 Remote meter reading data collecting system based on WiFi (wireless fidelity)
CN104751187A (en) * 2015-04-14 2015-07-01 山西科达自控股份有限公司 Automatic meter-reading image recognition method

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
庞林斌: "基于以太网的智能小区远程抄表系统的研究", 《中国优秀硕士学位论文全文数据库》 *
李龙云: "基于Web的远程抄表系统的研究", 《中国优秀硕士学位论文全文数据库》 *
马婷: "基于图像处理技术的远程抄表系统的设计", 《中国优秀硕士学位论文全文数据库》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108063924A (en) * 2018-01-26 2018-05-22 江苏轩博电子科技有限公司 A kind of intelligent meter data recording system of Household mechanical table
CN108460387A (en) * 2018-03-26 2018-08-28 国网安徽省电力有限公司检修分公司 Intelligent electric power meter makes a copy of computing system and method
CN110631661A (en) * 2018-06-21 2019-12-31 江苏金钰铭电子有限公司 Water meter verification system capable of being remotely monitored and controlled based on Internet
CN109288637A (en) * 2018-09-14 2019-02-01 山东建筑大学 A kind of healing robot managing and control system and its communication means
CN109288637B (en) * 2018-09-14 2020-09-08 山东建筑大学 Rehabilitation robot management and control system and communication method thereof
CN111272257A (en) * 2020-02-20 2020-06-12 上海电机学院 Transformer oil level monitoring system based on machine vision
CN111641656A (en) * 2020-06-04 2020-09-08 上海图丽信息技术有限公司 Hospital data real-time screen projection system
CN111641656B (en) * 2020-06-04 2022-12-16 上海图丽信息技术有限公司 Hospital data real-time screen projection system

Similar Documents

Publication Publication Date Title
CN106101642A (en) A kind of long-distance meter-reading system based on machine vision
CN102902771A (en) Method, device and server for searching pictures
CN103679147A (en) Method and device for identifying model of mobile phone
CN105117624A (en) Recognition system and method of user system based on face recognition
CN106878685A (en) A kind of energy consumption data acquisition device and method based on image recognition
CN105118262A (en) Community-oriented high-efficiency remote meter reading method and system
CN103559781A (en) Distributive real-time energy consumption monitoring and analyzing system based on camera
CN108881821A (en) It is a kind of to utilize the self-powered subway carriage degree of crowding display system of subway station wind-force and its method
CN103077561A (en) School office fingerprint access control management system
CN202257917U (en) Industrial monitoring system based on general packet radio service (GPRS) wireless network
CN106373279B (en) The communication means of intelligent IC card water meter for multilist centralized meter-reading system
CN101877012A (en) Method for searching picture and local similar picture on Internet
CN105046546A (en) Automatic ticket collecting control system for ticket collecting terminal
CN204631956U (en) Enterprise staff fingerprint terminal Work attendance device in a kind of enterprise management system
CN205880631U (en) Workshop appliance daily test system based on thing networking
CN103617718B (en) Water meter reading is entered an item of expenditure in the accounts method and apparatus
CN102891781B (en) Network shares detection system and network shares detection method
CN106446332B (en) A kind of method that channel topology automatically generates between safety and stability emergence control
CN206058360U (en) A kind of banknote identification module
CN207074557U (en) A kind of medical service information system based on cloud computing
CN205594645U (en) Long -range image device of checking meter
CN105390982B (en) Transmission facility bus-type evaluation system based on bionical visual analysis
CN206039561U (en) Developments person image acquisition compares system
CN205486755U (en) Electricity force information gather and management platform
CN105355025B (en) A method of electric energy meter is quickly accessed into metering automation system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20161109

RJ01 Rejection of invention patent application after publication