久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

如何從錄制的監控攝像頭視頻中讀取時間?

How to read time from recorded surveillance camera video?(如何從錄制的監控攝像頭視頻中讀取時間?)
本文介紹了如何從錄制的監控攝像頭視頻中讀取時間?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

問題描述

我有一個問題,我必須從監控攝像頭錄制的視頻中讀取錄制時間.

I have a problem where I have to read the time of recording from the video recorded by a surveillance camera.

時間顯示在視頻的左上角.下面是顯示時間的區域的屏幕抓取鏈接.此外,數字顏色(白色/黑色)在視頻播放期間不斷變化.

The time shows up on the top-left area of the video. Below is a link to screen grab of the area which shows the time. Also, the digit color(white/black) keeps changing during the duration of the video.

http://i55.tinypic.com/2j5gca8.png

請指導我解決這個問題的方向.我是一名 Java 程序員,所以更喜歡通過 Java 的方法.

Please guide me in the direction to approach this problem. I am a Java programmer so would prefer an approach through Java.

感謝 unhillbilly 的評論.我看過 Ron Cemer OCR 庫,它的性能遠低于我們的要求.

Thanks unhillbilly for the comment. I had looked at the Ron Cemer OCR library and its performance is much below our requirement.

由于 ocr 性能不如預期,我計劃使用屏幕抓取所有數字來構建一個字符集,并使用一些圖像/像素比較庫將幀時間與將顯示的字符集進行比較比較后的概率結果.

Since the ocr performance is less than desired, I was planning to build a character set using the screen grabs for all the digits, and using some image/pixel comparison library to compare the frame time with the character-set which will show a probabilistic result after comparison.

所以我一直在尋找一個好的圖像比較庫(我可以使用可以使用命令行運行的非 java 庫).此外,關于上述方法的任何建議都會非常有幫助.

So I was looking for a good image comparison library(I would be OK with a non-java library which I can run using the command-line). Also any advice on the above approach would be really helpful.

推薦答案

這里似乎不需要完整的 OCR.
我假設數字總是在圖像中的相同位置.您只希望每個已知位置的數字為 0-9(黑色或白色).
在每個位置與每個數字匹配的簡單模板(每種顏色的 10 位數字都有 20 個模板)非常快(實時),應該會給你非常準確的結果.

It doesn't seem like you need a full blown OCR here.
I presume that the numbers are always in the same position in the image. You only expect digits 0-9 at each of the know positions (in either black or white).
A simple template matching at each position with each of the digits (you'll have 20 templates for the 10 digits at each color) is very fast (real-time) and should give you very accurate results.

這篇關于如何從錄制的監控攝像頭視頻中讀取時間?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

相關文檔推薦

How to wrap text around components in a JTextPane?(如何在 JTextPane 中的組件周圍環繞文本?)
MyBatis, how to get the auto generated key of an insert? [MySql](MyBatis,如何獲取插入的自動生成密鑰?[MySql])
Inserting to Oracle Nested Table in Java(在 Java 中插入 Oracle 嵌套表)
Java: How to insert CLOB into oracle database(Java:如何將 CLOB 插入 oracle 數據庫)
Why does Spring-data-jdbc not save my Car object?(為什么 Spring-data-jdbc 不保存我的 Car 對象?)
Use threading to process file chunk by chunk(使用線程逐塊處理文件)
主站蜘蛛池模板: 亚洲福利一区二区 | 久久精品99国产精品 | 在线观看国产视频 | 中文字幕亚洲视频 | 中文字幕成人在线 | va在线| 日韩一区二区三区在线 | 精品1区 | 久久亚洲视频网 | 国产精品成av人在线视午夜片 | 欧美一级片a | 国产在线中文字幕 | 国产精品久久久久久久久久免费看 | 超碰97人人人人人蜜桃 | 国产精品久久国产愉拍 | 欧美黑人一级爽快片淫片高清 | 国产视频久久 | 亚洲入口 | 亚洲欧美激情国产综合久久久 | 99re视频在线免费观看 | 婷婷久久网 | www.4567 | 日韩欧美第一页 | 亚洲一区国产精品 | 午夜在线视频一区二区三区 | 天天拍天天插 | 亚洲色图综合 | 亚洲性视频在线 | 我我色综合 | 国产视频一区二区在线观看 | 欧美成人aaa级毛片在线视频 | 欧美色人| 91久久国产综合久久 | 久久综合九色综合欧美狠狠 | 国产一区二区久久 | 国产精品久久毛片av大全日韩 | 日韩中文字幕在线不卡 | 欧美日本久久 | 国产精品日产欧美久久久久 | 日日干夜夜操天天操 | 国产成人精品久久二区二区91 |