Comments (6)
Non-square NN resolutions are supported. There must be some confusion in communication on Discord here; sorry about that.
Examples of a variety of non-square models are used here via the API: https://docs.luxonis.com/en/latest/pages/tutorials/pretrained_openvino/#trying-other-models
For example
face-detection-adas-0001
there is384x672
resolution.
He is referring to parsing for non-square yolo output is not supported on-device.
from depthai-core.
I built the new library off develop. Can confirm this resolves the issue on my end! Non-square yolov4-tiny NN no longer produces the error!
Note, that you will need to adjust the anchor masks depending on the NN resolution, in the case of 640x352:
detectionNetwork->setAnchorMasks({ {"side40", {0, 1, 2}}, {"side20", {3, 4, 5}} });
For other resolutions, the formula is as follows:
- width = inputWidth/16
- width = inputWidth/32
e.g.
640/16 = 40 --> "side40"
640/32 = 20 --> "side20"
This applies to tiny yolo. For full yolo, there will be a third:
3. width = inputWidth/8
These notes were provided by @szabi-luxonis. Thank you!
from depthai-core.
Non-square NN resolutions are supported. There must be some confusion in communication on Discord here; sorry about that.
Examples of a variety of non-square models are used here via the API: https://docs.luxonis.com/en/latest/pages/tutorials/pretrained_openvino/#trying-other-models
For example
face-detection-adas-0001
there is384x672
resolution.
My apologies for the ambiguity.
I've edited this issue with more details and to reflect @szabi-luxonis's clarification.
from depthai-core.
Non-square NN resolutions are supported. There must be some confusion in communication on Discord here; sorry about that.
Examples of a variety of non-square models are used here via the API: https://docs.luxonis.com/en/latest/pages/tutorials/pretrained_openvino/#trying-other-models
For exampleface-detection-adas-0001
there is384x672
resolution.My apologies for the ambiguity.
I've edited this issue with more details and to reflect @szabi-luxonis's clarification.
Is it possible to share the model? Would help validating parsing support for non-squared model.
If not, sharing the parsing code on host is equally helpful.
from depthai-core.
Tested w/ network/dataset provided by @OmarALFA
640x352 YOLO network.
from depthai-core.
Non-square NN resolutions are supported. There must be some confusion in communication on Discord here; sorry about that.
Examples of a variety of non-square models are used here via the API:
https://docs.luxonis.com/en/latest/pages/tutorials/pretrained_openvino/#trying-other-models
For example face-detection-adas-0001
there is 384x672
resolution.
from depthai-core.
Related Issues (20)
- [BUG] Will not generate ninja compile files with external compiled xlink directory HOT 1
- [BUG] depthai-core.dll will not link HOT 9
- [BUG] host get wrong message from outputQueue HOT 2
- [BUG] {Segfault using the same camera stream for two different xlink outs} HOT 1
- [BUG] Pipeline crash when undistorting color image using Camera Node HOT 8
- [BUG] Not able to get video when using stereo pipeline HOT 2
- device->addLogCallback() doesn't work for bootloader warnings
- can't get factory bootloader version when running user bootloader
- [BUG] Noisy point clouds near the bottom-right corner of OAK-D PRO camera HOT 2
- [BUG] Can't compile on windows : error related to libnop HOT 1
- oak-d-pro-poe shutdown after a while HOT 1
- New xlink version HOT 3
- Libnop C++20 Bug HOT 5
- [BUG] Alternate between dot projector and illumination LED when adjust the image frame rate to 60Hz
- `isUserBootloader()` fails to check conditions correctly
- [BUG] OAK-D-POE intermittent failure - INTERNAL_ERROR_CORE HOT 5
- CLOCK_REALTIME should be CLOCK_MONOTONIC
- depthai-core deadlocked in semaphores with OAK-D-Pro-PoE after 100+ connections, HOT 3
- Depthai-core dependencies not built with -fPIC HOT 11
- Undistortion of ColorCamera node HOT 1
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 depthai-core.