Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
Ftt_Common
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Ftt_Common
Commits
16d4ed76
Commit
16d4ed76
authored
Dec 29, 2020
by
tr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1、图片搜索:本地测试路径调整
parent
93679137
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
wImageSearch.cs
Tools/UI/wImageSearch.cs
+3
-5
No files found.
Tools/UI/wImageSearch.cs
View file @
16d4ed76
...
@@ -130,7 +130,7 @@ namespace Tools.UI
...
@@ -130,7 +130,7 @@ namespace Tools.UI
string
original_dhash
=
""
;
string
original_dhash
=
""
;
string
original_phash
=
""
;
string
original_phash
=
""
;
//图片库路径
//图片库路径
string
imgPath
=
$@"F:\
图片查询\ImageSearch-master
\images"
;
string
imgPath
=
$@"F:\
ImageSearch
\images"
;
//预处理缓存
//预处理缓存
DataTable
dtHash
=
null
;
DataTable
dtHash
=
null
;
...
@@ -319,7 +319,7 @@ namespace Tools.UI
...
@@ -319,7 +319,7 @@ namespace Tools.UI
}
}
/// <summary>
/// <summary>
///
///
图片查询-工具类
/// </summary>
/// </summary>
public
static
class
ImageSearchUtil
public
static
class
ImageSearchUtil
{
{
...
@@ -430,8 +430,6 @@ namespace Tools.UI
...
@@ -430,8 +430,6 @@ namespace Tools.UI
}
}
}
}
/// <summary>
/// <summary>
/// 图片指纹生成
/// 图片指纹生成
/// </summary>
/// </summary>
...
@@ -481,7 +479,7 @@ namespace Tools.UI
...
@@ -481,7 +479,7 @@ namespace Tools.UI
{
{
for
(
int
j
=
0
;
j
<
size
;
j
++)
for
(
int
j
=
0
;
j
<
size
;
j
++)
{
{
feature
+=
matrix
[
i
,
j
]
>
matrix
[
i
+
1
,
j
]
?
"1"
:
"0"
;
feature
+=
matrix
[
i
,
j
]
<
matrix
[
i
+
1
,
j
]
?
"1"
:
"0"
;
}
}
}
}
return
feature
;
return
feature
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment