Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
5eec3be8
Commit
5eec3be8
authored
Feb 10, 2020
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #16531 from paroj:featlinepy
parents
236e3868
e13a73d0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
utility.hpp
modules/core/include/opencv2/core/utility.hpp
+1
-1
cv2.cpp
modules/python/src2/cv2.cpp
+8
-0
No files found.
modules/core/include/opencv2/core/utility.hpp
View file @
5eec3be8
...
...
@@ -447,7 +447,7 @@ Returned value is a string containing space separated list of CPU features with
Example: `SSE SSE2 SSE3 *SSE4.1 *SSE4.2 *FP16 *AVX *AVX2 *AVX512-SKX?`
*/
CV_EXPORTS
std
::
string
getCPUFeaturesLine
();
CV_EXPORTS
_W
std
::
string
getCPUFeaturesLine
();
/** @brief Returns the number of logical CPUs available for the process.
*/
...
...
modules/python/src2/cv2.cpp
View file @
5eec3be8
...
...
@@ -952,6 +952,14 @@ PyObject* pyopencv_from(const String& value)
return
PyString_FromString
(
value
.
empty
()
?
""
:
value
.
c_str
());
}
#if CV_VERSION_MAJOR == 3
template
<>
PyObject
*
pyopencv_from
(
const
std
::
string
&
value
)
{
return
PyString_FromString
(
value
.
empty
()
?
""
:
value
.
c_str
());
}
#endif
template
<>
bool
pyopencv_to
(
PyObject
*
obj
,
String
&
value
,
const
ArgInfo
&
info
)
{
...
...
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