docs: fix typos in Android development tutorial

This commit is contained in:
Laiba Irfan
2026-10-26 17:45:06 +05:00
parent 9171eaf2fa
commit 91ca181f19

View File

@@ -107,8 +107,8 @@ In addition to this instruction you can use some video guide, for example [this
![](images/add_module_3.png) ![](images/add_module_3.png)
8. Before using any OpenCV function you have to load the library first. If you application includes other OpenCV-dependent native libraries you should load them ***after*** OpenCV initialization. 8. Before using any OpenCV function you have to load the library first. If your application includes other OpenCV-dependent native libraries you should load them ***after*** OpenCV initialization.
Add the folowing code to load the library at app start: Add the following code to load the library at app start:
@snippet samples/android/tutorial-1-camerapreview/src/org/opencv/samples/tutorial1/Tutorial1Activity.java ocv_loader_init @snippet samples/android/tutorial-1-camerapreview/src/org/opencv/samples/tutorial1/Tutorial1Activity.java ocv_loader_init
Like this: Like this:
![](images/sample_code.png) ![](images/sample_code.png)
@@ -143,8 +143,8 @@ but OpenCV loading with Maven Central.
@endcode @endcode
`4.9.0` may be replaced by any version available as [official release](https://central.sonatype.com/artifact/org.opencv/opencv). `4.9.0` may be replaced by any version available as [official release](https://central.sonatype.com/artifact/org.opencv/opencv).
4. Before using any OpenCV function you have to load the library first. If you application includes other 4. Before using any OpenCV function you have to load the library first. If your application includes other
OpenCV-dependent native libraries you should load them ***after*** OpenCV initialization. Add the folowing OpenCV-dependent native libraries you should load them ***after*** OpenCV initialization. Add the following
code to load the library at app start: code to load the library at app start:
@snippet samples/android/tutorial-1-camerapreview/src/org/opencv/samples/tutorial1/Tutorial1Activity.java ocv_loader_init @snippet samples/android/tutorial-1-camerapreview/src/org/opencv/samples/tutorial1/Tutorial1Activity.java ocv_loader_init
Like this: Like this: