fix: correct garbled characters in C++ comments and standardize punctuation in documentation.
This commit is contained in:
parent
16ed7c8b5a
commit
868a593693
3 changed files with 7 additions and 6 deletions
|
|
@ -1,6 +1,6 @@
|
|||
|
||||
|
||||
# 1、Android Platform
|
||||
# 1. Android Platform
|
||||
|
||||
**Android compilation** depends on the NDK toolchain. Currently, version r25c is recommended. Download link: https://github.com/android/ndk/wiki/Unsupported-Downloads
|
||||
|
||||
|
|
@ -34,7 +34,7 @@
|
|||
|
||||
|
||||
|
||||
# 2、Linux Platform
|
||||
# 2. Linux Platform
|
||||
|
||||
**Linux compilation** toolchain dependency: **gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf**, download link: https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-a/downloads/
|
||||
|
||||
|
|
|
|||
|
|
@ -4109,9 +4109,10 @@ inline double DistanceSqrd(const IntPoint &pt1, const IntPoint &pt2) {
|
|||
double DistanceFromLineSqrd(const IntPoint &pt, const IntPoint &ln1,
|
||||
const IntPoint &ln2) {
|
||||
// The equation of a line in general form (Ax + By + C = 0)
|
||||
// given 2 points (x锟?y锟? & (x锟?y锟? is ...
|
||||
//(y锟?- y锟?x + (x锟?- x锟?y + (y锟?- y锟?x锟?- (x锟?- x锟?y锟?= 0
|
||||
// A = (y锟?- y锟?; B = (x锟?- x锟?; C = (y锟?- y锟?x锟?- (x锟?- x锟?y锟? // perpendicular distance of point (x锟?y锟? = (Ax锟?+ By锟?+ C)/Sqrt(A锟?+ B锟?
|
||||
// given 2 points (x1,y1) & (x2,y2) is ...
|
||||
//(y1 - y2)x + (x2 - x1)y + (y1 - y2)x2 - (x2 - x1)y2 = 0
|
||||
// A = (y1 - y2); B = (x2 - x1); C = (y1 - y2)x2 - (x2 - x1)y2
|
||||
// perpendicular distance of point (x0,y0) = (Ax0 + By0 + C)/Sqrt(A^2 + B^2)
|
||||
// see http://en.wikipedia.org/wiki/Perpendicular_distance
|
||||
double A = double(ln1.Y - ln2.Y);
|
||||
double B = double(ln2.X - ln1.X);
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ example
|
|||
| ----------------- | ------------------------------------------------------------ |
|
||||
| model_path | onnx model path |
|
||||
| adla_tookkit_path | path to adla_toolkit |
|
||||
| target_platform | Specify target platform. for A311D2 : PRODUCT_PID0XA003。for S905X5: PRODUCT_PID0XA005 |
|
||||
| target_platform | Specify target platform. for A311D2 : PRODUCT_PID0XA003. for S905X5: PRODUCT_PID0XA005 |
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue