Comments (8)
Th investigation on Python API is based on OpenVINO 2020.3.
I investigate the Python APIs by viewing the file at path <openvino_dir>inference engine\ie_bridges\python\src\openvino\ inference_engine\ie_api_impl.hpp
. And I ingvestigate the Node.js API by viewing files at path <inference_engine_node_dir>\src\
.
Python API (struct IECore ) |
Node.js API (class Core ) |
---|---|
getVersions( ) | getVersions( ) |
readNetwork( ) ( From path ) | readNetwork( ) |
readNetwork( ) ( From Data) | readNetworkFromData( ) |
loadNetwork( ) | loadNetwork( ) |
getAvailableDevices( ) | getAvailableDevices( ) |
setConfig( ) | setConfig( ) (On the way) |
addExtension( ) | addExtension( ) (On the way) |
importNetwork( ) | - |
queryNetwork( ) | - |
registerPlugin( ) | - |
unregisterPlugin( ) | - |
registerPlugins( ) | - |
getMetric( ) | - |
getConfig( ) | - |
from inference-engine-node.
Python API (struct IENetwork ) |
Node.js API class Network |
---|---|
setBatch( ) | - |
getBatch( ) | - |
addOutput( ) | - |
getLayers( ) | - |
getInputs( ) | getInputsInfo( ) |
getOutputs( ) | getgetOutputsInfo( ) |
- | getName( ) |
reshape( ) | - |
serialize( ) | - |
setStats( ) | - |
getStats( ) | - |
load_from_buffer( ) | - |
from inference-engine-node.
Python API (struct IEExecNetwork ) |
Node.js API (class ExecutableNetwork ) |
---|---|
createInferRequests( ) | createInferRequest( ) |
GetExecGraphInfo( ) | - |
infer( ) | - |
exportNetwork( ) | - |
getInputs( ) | - |
getOutputs( ) | - |
getMetric( ) | - |
getConfig( ) | - |
wait( ) | - |
getIdleRequestId( ) | - |
from inference-engine-node.
Python API (struct InferRequestWrap ) |
Node.js API (class InferRequest ) |
---|---|
infer( ) | infer( ) |
infer_async( ) | startAsync( ) |
wait( ) | - |
setCyCallback( ) | - |
getBlobPtr( ) | getBlob( ) |
setBatch( ) | - |
getPerformanceCounts() | - |
from inference-engine-node.
Python API (struct IEPlugin ) |
Node.js API (- ) |
---|---|
load( ) | - |
setConfig( ) | - |
addCpuExtension( ) | - |
setInitialAffinity( ) | - |
queryNetwork( ) | - |
I do not find corresponding class in Node.js API for the struct IEPlugin
.
from inference-engine-node.
There are some classes in Node.js API that do not have corresponding API in Python.
The class Blob
is used to help user operate the class Blob in OpenVINO.
Node.js API (class Blob ) |
---|
ByteSize( ) |
Size( ) |
Rwmap( ) |
Rmap( ) |
Wmap( ) |
Unmap( ) |
Memmap( ) |
The class InputInfo
and class OutputInfo
are used to support operations of the Inputinfo and Outputinfo respectively.
Node.js API (class InputInfo ) |
Node.js API (class OutputInfo ) |
---|---|
name( ) | name( ) |
getPrecision( ) | getPrecision( ) |
setPrecision( ) | setPrecision( ) |
getLayout( ) | getLayout( ) |
setLayout( ) | - |
getDims( ) | getDims( ) |
getPreProcess( ) | - |
The class PreProcessInfo
is developing. It is used to support PreProcessInfo
in OpenVINO.
Node.js API (class PreProcessInfo ) |
---|
getColorFormat( ) |
setColorFormat( ) |
getResizeAlgorithm( ) |
setResizeAlgorithm( ) |
getMeanVariant( ) |
setVariant( ) |
getPreProcessChannel( ) (On the way) |
setPreProcessChannel( ) (On the way) |
That is all at this time.
from inference-engine-node.
@artyomtugaryov please help review the comparison table.
from inference-engine-node.
The comparison is done, let's close this issue.
from inference-engine-node.
Related Issues (20)
- What is the license of hello_classification_electron/main.js HOT 2
- Use getAvailableDevices in Electron.js example HOT 1
- Add an Electron.js example for SSD object detection
- [Example] use preprocess to optimize hello_classification_node example HOT 14
- Support PreProcessChannel in PreProcessInfo interface HOT 9
- node.js crash when call InferRequest.getBlob with invalid argument HOT 1
- A test bug on Core.getVersions('GPU') HOT 4
- Update inference-engine-node in npmjs.com HOT 1
- Support loading extension HOT 29
- Inference Engine can not make full use of logic CPUs. HOT 1
- Fix tests, doc and electron example after removing createCore API
- Update inference-engine-node 0.5 in npmjs HOT 1
- `npm i inference-engine-node` meets error for version 0.1.5 HOT 2
- Add getAvailableDevices into Core interface HOT 2
- Add PreProcessInfo interface and preProcess property into InputInfo interface HOT 2
- Multiple Async Models for MYRIAD HOT 9
- Transition to the OpenVINO 2.0 API
- Run webml-polyfill/examples/image_classification in Electron.js with inference-engine-node HOT 1
- Add GitHub icon into the Electron.js example
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from inference-engine-node.