Comments (8)
Hello. Could you give me size of scan window of cascade that you use to.
from simd.
my train isSize(64,16) ,is it? Scan window cv::Size(80,20) to cv::Size(520,130));
from simd.
It is exactly that the square window is very fast such as 5050 。but i use it for some detection such as for pedestrian or license plate , which windows size is not square (e.g 6416 )is not so fast。
from simd.
If you use minimal size = cv::Size(60,60) and cascade window size = cv::Size(20,20) then the algorithm can reduce input image in 3 times (from 640x480 to 213x160) and process this small image. In second case the algorithm can reduce image only 1.25 times (relation between minimal size cv::Size(80,20) and cascade window size cv::Size(64,16)). So the algorithm need to process image of 512x384. The relation of areas (512x384)/(213x160) = 5.7. So it is not surprising that second case is slow.
P.S. OpenCV algorithm has the same behavior.
from simd.
oh i see,the training size(20,20) and my training Size(64,16) is important. is it?
it added the minimum scan size to determine the processing speed .thank you very much,and to trouble you
from simd.
The algorithm builds pyramid of scaled images with step which is setted by paramemter scaleFactor. Algorithm can skip the level, if window size is lesser or greater then minimal or maximal searched size (scaled to corresponding level). The main time is used to process low levels of the pyramid. So the parameter of minimal object size, cacade window size and scaleFactor have predominant influence to performance of the algorithm.
from simd.
oh ,ye scaleFactor 1.2; I understand thoroughly that the road far away is far away . thanks very much.
from simd.
Both rectangular and square, the speed is 2-3 times higher than the opencv ,your are great.
from simd.
Related Issues (20)
- feature request: optical flow HOT 1
- Helper function for cv::invertAffineTransform() HOT 4
- Question about shift detector HOT 5
- question about cascade facedetect HOT 2
- SimdBaseUyvyToBgr.cpp compile error VS 2022 HOT 7
- Simd::Resize confusing results HOT 4
- Build error AdvancedVectorExtensions512 HOT 1
- [Feature Request] full TGA version 2 palette loading and 16 bit bitfield Rgb565/Argb1555 support HOT 1
- some question warp_perspective?
- AVX2 Resize assertion HOT 1
- Build error on windows with clang HOT 5
- armV8 gcc compiler auto-vectorization faster than Neon Intrinsics
- Assessment of the difficulty in porting CPU architecture for Simd HOT 1
- InitLevels in SimdDetection seems inefficient HOT 1
- LNK2038 and LNK2005 Error when trying to link a dynamic library that was compiled statically HOT 3
- ARMv7 linking issue HOT 5
- Documentation missing HOT 1
- SimdYuva420pToBgraV2 HOT 2
- Can not compile the SIMD project in Windows for ARM64, using Cmake. HOT 2
- UYVY422 to YUV420p conversation HOT 2
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 simd.