Update install.md
"linux_ffmpeg" needs to be changed as well as "linux_opencv" for OpenCV 4
This commit is contained in:
parent
d144e564d8
commit
b61f5aaf21
|
@ -70,8 +70,8 @@ To build and run iOS apps:
|
|||
|
||||
Note: You may need to modify [`WORKSPACE`] and [`opencv_linux.BUILD`] to
|
||||
point MediaPipe to your own OpenCV libraries, e.g., if OpenCV 4 is installed
|
||||
in "/usr/local/", you need to update the "linux_opencv" new_local_repository
|
||||
rule in [`WORKSPACE`] and "opencv" cc_library rule in [`opencv_linux.BUILD`]
|
||||
in "/usr/local/", you need to update the "linux_opencv" and "linux_ffmpeg" new_local_repository
|
||||
rules in [`WORKSPACE`] and "opencv" cc_library rule in [`opencv_linux.BUILD`]
|
||||
like the following:
|
||||
|
||||
```bash
|
||||
|
@ -80,6 +80,12 @@ To build and run iOS apps:
|
|||
build_file = "@//third_party:opencv_linux.BUILD",
|
||||
path = "/usr/local",
|
||||
)
|
||||
|
||||
new_local_repository(
|
||||
name = "linux_ffmpeg",
|
||||
build_file = "@//third_party:ffmpeg_linux.BUILD",
|
||||
path = "/usr/local"
|
||||
)
|
||||
|
||||
cc_library(
|
||||
name = "opencv",
|
||||
|
|
Loading…
Reference in New Issue
Block a user