profile
viewpoint

Garvys/rustfst 60

Rust re-implementation of OpenFST - library for constructing, combining, optimizing, and searching weighted finite-state transducers (FSTs).

kali/dazone 20

BigData/Rust experimentation. http://www.poumeyrol.fr/2016/01/15/Awkward-zone/

kali/chef-deploy 7

Chef Resources and Providers for deploying ruby web apps without capistrano

kali/hue.rs 7

Rust library for Philips Hue lights

kali/lackr 5

Fotonauts high speed front-side HTTP proxy server

kali/blis-rs 4

Rust bindings for Blis BLAS

kali/leafheap 2

Logstash compatible feeder (multi-redis to Elasticsearch). Tailored for our usage at fotopedia

kali/extropy 1

painless denormalization for MongoDB

push eventphsym/prettytable-rs

travis-ci

commit sha 967ce0272c6b47b33348db489e1e77967c54d354

Updated documentation on master for cf7dca33e2e2131c20e4bbc34ad222c5e6edc29a

view details

push time in 7 hours

issue commentsonos/tract

Support for aarch64-apple-darwin target?

@kali that's awesome! and mighty impressive performance :)

repi

comment created time in 2 days

issue openednbigaouette/onnxruntime-rs

Session thread safety

Thanks for the handy library, first of all.

My read of https://github.com/microsoft/onnxruntime/blob/master/docs/InferenceHighLevelDesign.md#key-design-decisions is that a session is thread safe. Should onnxruntime::session::Session therefore be Send and Sync?

created time in 3 days

pull request commentsonos/tract

Add generic multiplication for i8 u8

Sorry for the delay. Is working thanks! Is this already using the optimized assembly code?

acrrd

comment created time in 3 days

push eventsonos/tract

Mathieu Poumeyrol

commit sha e13972f71f8afb754600da96aa25484b4edf0fa9

stop relying on mmm for m, k and n in core

view details

Mathieu Poumeyrol

commit sha f9963a7db4b009c2a7450e4c8a5b4ad00d2c2638

simplify packer code

view details

Mathieu Poumeyrol

commit sha 0f6ae7be5c8b9d0bd2cf455b371c7a680aacb123

merge two packers

view details

Mathieu Poumeyrol

commit sha 0cd3745b5d5b83ac446350f826361b8a5ec0e525

remove invalid test

view details

Mathieu Poumeyrol

commit sha 0a5f47f3ed2b523de97d60308d5e586118e89ca6

fix perf reg on mobilenet

view details

Mathieu Poumeyrol

commit sha a4851df9a188f297fc379f234f6790ec2736826f

faster pack for A

view details

Mathieu Poumeyrol

commit sha 5456d66b9a6a690407d925739989d1a24b93d332

logs in packer

view details

Mathieu Poumeyrol

commit sha 17af82346ad2da556cebf77bc9448dcfc1a2c680

armv7 and aarch64

view details

Mathieu Poumeyrol

commit sha e8356468c1501a5988e49db8beae5ea41e324ab5

setup as a release upload

view details

tbluche

commit sha 00d31c0fff64498119591a79b64aa6bc3109e01f

refacto hardmax

view details

tbluche

commit sha 0da6553dde7935c2b4aca343c7380b7c39905f50

change LayerHardMax into expansion

view details

tbluche

commit sha e8fe993ceca7e9b51ae70aee1343fbd1843c7254

Merge branch 'hardmax-into-expansion' of github.com:sonos/tract into hardmax-into-expansion

view details

push time in 3 days

push eventfrankmcsherry/blog

Frank McSherry

commit sha b9436dd235f546ca3bd303c9a8152ec56e0b0a06

crop figures

view details

push time in 4 days

push eventTimelyDataflow/timely-dataflow

Travis CI User

commit sha 51cc578fb083b2613b3c80df1076c598c6b1ad64

Update documentation

view details

push time in 4 days

push eventTimelyDataflow/timely-dataflow

Petros Angelatos

commit sha 6d1cca4c41b10bbcc727572990f68c40d95fa7a5

Documentation improvements (#343) * doc: fix various spelling and grammar errors Signed-off-by: Petros Angelatos <petrosagg@gmail.com> * doc: use new link-to-item markdown syntax Signed-off-by: Petros Angelatos <petrosagg@gmail.com> * doc: fix broken crate links Signed-off-by: Petros Angelatos <petrosagg@gmail.com> * doc: timely_communication::Serialize no longer exists Signed-off-by: Petros Angelatos <petrosagg@gmail.com> * doc: correct API description for InputHandle Signed-off-by: Petros Angelatos <petrosagg@gmail.com>

view details

push time in 4 days

PR merged TimelyDataflow/timely-dataflow

Documentation improvements

Did a few spelling and grammar fixes while going through the docs and also updated all links to use the new link-to-item markdown syntax.

+46 -46

3 comments

24 changed files

petrosagg

pr closed time in 4 days

pull request commentTimelyDataflow/timely-dataflow

Documentation improvements

Thanks very much (and thanks for checking the actual type; oops!).

petrosagg

comment created time in 4 days

pull request commentTimelyDataflow/timely-dataflow

Documentation improvements

@frankmcsherry you're right, I missed that. I just pushed a fix for that

petrosagg

comment created time in 4 days

pull request commentTimelyDataflow/timely-dataflow

Documentation improvements

Seems good, thanks! I left one comment that you can take/leave (I'll patch it up afterwards if you'd rather not).

petrosagg

comment created time in 4 days

Pull request review commentTimelyDataflow/timely-dataflow

Documentation improvements

 Most of what is interesting lies in the closure, so let's first tidy up some loo  The heart of the logic lies in the closure that binds `input` and `output`. These two are handles respectively to the operator's input (from which it can read records) and the operator's output (to which it can send records). -The input handle `input` has one primary method, `next`, which may return a pair of timestamp and batch of data. Rust really likes you to demonstrate a commitment to only looking at valid data, and our `while` loop does what is called deconstruction: we acknowledge the optional structure and only execute in the case the `Option` variant is `Some`, containing data. The `next` method could also return `None`, indicating that there is no more data available at the moment. It is strongly recommended that you take the hint and stop trying to read inputs at that point; timely gives you the courtesy of executing whatever code you want in this closure, but if you never release control back to the system you'll break things (timely employs ["cooperative multitasking"](https://en.wikipedia.org/wiki/Cooperative_multitasking)).+The input handle `input` has one primary method, `next`, which may return a pair of timestamps and a batch of data. Rust really likes you to demonstrate a commitment to only looking at valid data, and our `while` loop does what is called deconstruction: we acknowledge the optional structure and only execute in the case the `Option` variant is `Some`, containing data. The `next` method could also return `None`, indicating that there is no more data available at the moment. It is strongly recommended that you take the hint and stop trying to read inputs at that point; timely gives you the courtesy of executing whatever code you want in this closure, but if you never release control back to the system you'll break things (timely employs ["cooperative multitasking"](https://en.wikipedia.org/wiki/Cooperative_multitasking)).

I think is this is not correct. It is a pair of a timestamp and a batch of data. Strictly speaking, it is a pair of a capability (a Capability<Timestamp>, for linking purposes) and a batch of data. None of this is on you, though. I can clean it up in post if you prefer!

petrosagg

comment created time in 4 days

PR opened TimelyDataflow/timely-dataflow

Documentation improvements

Did a few spelling and grammar fixes while going through the docs and also updated all links to use the new link-to-item markdown syntax.

+46 -46

0 comment

24 changed files

pr created time in 5 days

pull request commentphsym/prettytable-rs

Add markdown table formatting

I'd love to see this feature implemented! Just being curious, what has been blocking the merge? ๐Ÿค”

marcelbuesing

comment created time in 6 days

push eventfrankmcsherry/blog

Frank McSherry

commit sha cecc1d05f8482b60b921f14dd5784420c2ae1c2b

joins draft

view details

push time in 7 days

push eventfrankmcsherry/blog

Frank McSherry

commit sha 34aa7dc0475cc8b7903a38c6379dc8b50bbf0928

joins draft

view details

push time in 7 days

PR closed twistedfall/opencv-rust

Update DYLD_FALLBACK_LIBRARY_PATH

Update README.md with new path for DYLD_FALLBACK_LIBRARY_PATH.

On MacOS catalin 10.15.7 , the command line tools folder has changed. It no longer contains the Toolchains directory

+1 -1

4 comments

1 changed file

Lxrd-AJ

pr closed time in 8 days

push eventfrankmcsherry/blog

Frank McSherry

commit sha 6d26cc9dc678dbb1988b846214d299beccf02267

crop images to size

view details

push time in 8 days

push eventfrankmcsherry/blog

Frank McSherry

commit sha fdb5aa76d20e0fe2a9f8c0f397d37df20d8c349f

joins draft

view details

push time in 8 days

push eventfrankmcsherry/blog

Frank McSherry

commit sha debf803d78378fecddf2121b67f5db01ba69efe7

join drafts

view details

push time in 8 days

issue closedtwistedfall/opencv-rust

Using OpenCV bundled with OpenVino SDK.

Before reporting an issue please first check the troubleshooting guide. If the issue you're encountering is not solved thereby please state the following in your bugreport:

0. Background

Hi, I am trying to use this nice package with a pre-built OpenCV, which is bundled with Intel's OpenVino. The SDK works fine with its Cpp/Python demos so that I wanted to try Rust + opencv-rust + OpenVino. I tried to make it work with some variables but I couldn't get a successful result yet so that I would like to share what's going on.

1. Operating system

$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.1 LTS"

2. The way you installed OpenCV: package, official binary distribution, manual compilation, etc.

I used OpenVino bundled OpcnCV. It is located under /opt/intel/openvino_2021/opencv and has some files as attached:

$ pwd
/opt/intel/openvino_2021/opencv

$ tree -L 2
.
โ”œโ”€โ”€ bin
โ”‚ย ย  โ””โ”€โ”€ opencv_version
โ”œโ”€โ”€ build_params.txt
โ”œโ”€โ”€ cmake
โ”‚ย ย  โ”œโ”€โ”€ OpenCVConfig.cmake
โ”‚ย ย  โ”œโ”€โ”€ OpenCVConfig-version.cmake
โ”‚ย ย  โ”œโ”€โ”€ OpenCVModules.cmake
โ”‚ย ย  โ””โ”€โ”€ OpenCVModules-release.cmake
โ”œโ”€โ”€ etc
โ”‚ย ย  โ””โ”€โ”€ licenses
โ”œโ”€โ”€ include
โ”‚ย ย  โ””โ”€โ”€ opencv2
โ”œโ”€โ”€ lib
โ”‚ย ย  โ”œโ”€โ”€ libopencv_calib3d.so -> libopencv_calib3d.so.4.5
โ”‚ย ย  โ”œโ”€โ”€ ...
โ”‚ย ย  โ””โ”€โ”€ libopencv_video.so.4.5.0
โ”œโ”€โ”€ setupvars.sh
โ”œโ”€โ”€ third-party-programs.txt
โ””โ”€โ”€ version.txt

7 directories, 57 files

For the variables:

$ echo $PKG_CONFIG_PATH 
/opt/intel/openvino_2021/data_processing/dl_streamer/lib/pkgconfig:/opt/intel/openvino_2021/data_processing/gstreamer/lib/pkgconfig:

$  echo $OpenCV_DIR 
/opt/intel/openvino_2021/opencv/cmake

$ echo $LD_LIBRARY_PATH
/opt/intel/openvino_2021/data_processing/dl_streamer/lib:/opt/intel/openvino_2021/data_processing/gstreamer/lib:/opt/intel/openvino_2021/opencv/lib:/opt/intel/openvino_2021/deployment_tools/ngraph/lib:/opt/intel/openvino_2021/deployment_tools/inference_engine/external/hddl_unite/lib:/opt/intel/openvino_2021/deployment_tools/inference_engine/external/hddl/lib:/opt/intel/openvino_2021/deployment_tools/inference_engine/external/gna/lib:/opt/intel/openvino_2021/deployment_tools/inference_engine/external/mkltiny_lnx/lib:/opt/intel/openvino_2021/deployment_tools/inference_engine/external/tbb/lib:/opt/intel/openvino_2021/deployment_tools/inference_engine/lib/intel64

3. OpenCV version

It seems like 0.45.0 or 0.45.1.

$ cat /opt/intel/openvino_2021/opencv/version.txt
4.5.0-65-g464efeb7b (OpenVINO/2021.1)
65
releases/openvino/2021.1
464efeb7b07211706d0f2615e16c8d144447d362

General configuration for OpenCV 4.5.0-openvino =====================================
  Version control:               464efeb7b07211706d0f2615e16c8d144447d362

  Platform:
    Timestamp:                   2020-09-29T02:20:56Z
    Host:                        Linux 4.15.0-29-generic x86_64
    CMake:                       3.14.5
    CMake generator:             Ninja
    CMake build tool:            /opt/miniconda/envs/build/bin/ninja
    Configuration:               Release

4. rustc version (rustc --version)

rustc 1.47.0 (18bf6b4f0 2020-10-07)

5. Attach the full output of the following command from your project directory:

$ RUST_BACKTRACE=full cargo build -vv 

...

     Running `/home/bus710/repo/tmp/projects/rust_opencv/target/debug/build/opencv-16807245944feb34/build-script-build`
[opencv 0.43.3] === Crate version: Some("0.43.3")
[opencv 0.43.3] === Environment configuration:
[opencv 0.43.3] ===   OPENCV_HEADER_DIR = None
[opencv 0.43.3] ===   OPENCV_PACKAGE_NAME = None
[opencv 0.43.3] ===   OPENCV_PKGCONFIG_NAME = None
[opencv 0.43.3] ===   OPENCV_CMAKE_NAME = None
[opencv 0.43.3] ===   OPENCV_CMAKE_BIN = None
[opencv 0.43.3] ===   OPENCV_VCPKG_NAME = None
[opencv 0.43.3] ===   OPENCV_LINK_LIBS = Some("/opt/intel/openvino_2021/opencv/lib")
[opencv 0.43.3] ===   OPENCV_LINK_PATHS = Some("/opt/intel/openvino_2021/opencv/lib")
[opencv 0.43.3] ===   OPENCV_INCLUDE_PATHS = Some("/opt/intel/openvino_2021/opencv/include")
[opencv 0.43.3] ===   OPENCV_DISABLE_PROBES = None
[opencv 0.43.3] ===   OPENCV_CLANG_STDLIB_PATH = None
[opencv 0.43.3] ===   CMAKE_PREFIX_PATH = None
[opencv 0.43.3] ===   OpenCV_DIR = Some("/opt/intel/openvino_2021/opencv/cmake")
[opencv 0.43.3] ===   PKG_CONFIG_PATH = Some("/opt/intel/openvino_2021/data_processing/dl_streamer/lib/pkgconfig:/opt/intel/openvino_2021/data_processing/gstreamer/lib/pkgconfig:")
[opencv 0.43.3] ===   VCPKG_ROOT = None
[opencv 0.43.3] === Enabled features:
[opencv 0.43.3] ===   BINDING_GENERATOR
[opencv 0.43.3] ===   BUILDTIME_BINDGEN
[opencv 0.43.3] ===   CLANG
[opencv 0.43.3] ===   DEFAULT
[opencv 0.43.3] ===   JOBSERVER
[opencv 0.43.3] ===   OPENCV_4
[opencv 0.43.3] === Configuring OpenCV library from the environment:
[opencv 0.43.3] ===   include_paths: /opt/intel/openvino_2021/opencv/include
[opencv 0.43.3] ===   link_paths: /opt/intel/openvino_2021/opencv/lib
[opencv 0.43.3] ===   link_libs: /opt/intel/openvino_2021/opencv/lib
[opencv 0.43.3] === OpenCV library configuration: Library {
[opencv 0.43.3]     include_paths: [
[opencv 0.43.3]         "/opt/intel/openvino_2021/opencv/include",
[opencv 0.43.3]     ],
[opencv 0.43.3]     version: "4.5.0",
[opencv 0.43.3]     cargo_metadata: [
[opencv 0.43.3]         "cargo:rustc-link-search=/opt/intel/openvino_2021/opencv/lib",
[opencv 0.43.3]         "cargo:rustc-link-lib=opencv",
[opencv 0.43.3]     ],
[opencv 0.43.3] }
[opencv 0.43.3] === Found OpenCV library version: 4.5.0 in headers located at: /opt/intel/openvino_2021/opencv/include
[opencv 0.43.3] === Using OpenCV headers from: /opt/intel/openvino_2021/opencv/include/opencv2
[opencv 0.43.3] === Generating code in: /home/bus710/repo/tmp/projects/rust_opencv/target/debug/build/opencv-3c59b05332037a20/out
[opencv 0.43.3] === Placing generated bindings into: /home/bus710/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.43.3/bindings/rust/opencv_4
[opencv 0.43.3] === Clang: clang version 10.0.0-4ubuntu1 
[opencv 0.43.3] thread 'main' panicked at 'Can't find clang binary', /home/bus710/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-binding-generator-0.16.2/src/generator.rs:339:68
[opencv 0.43.3] stack backtrace:
[opencv 0.43.3]    0:     0x55c42423ebd0 - std::backtrace_rs::backtrace::libunwind::trace::h577ea05e9ca4629a
[opencv 0.43.3]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/../../backtrace/src/backtrace/libunwind.rs:96
[opencv 0.43.3]    1:     0x55c42423ebd0 - std::backtrace_rs::backtrace::trace_unsynchronized::h50b9b72b84c7dd56
[opencv 0.43.3]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/../../backtrace/src/backtrace/mod.rs:66
[opencv 0.43.3]    2:     0x55c42423ebd0 - std::sys_common::backtrace::_print_fmt::h6541cf9823837fac
[opencv 0.43.3]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/sys_common/backtrace.rs:79
[opencv 0.43.3]    3:     0x55c42423ebd0 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hf64fbff071026df5
[opencv 0.43.3]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/sys_common/backtrace.rs:58
[opencv 0.43.3]    4:     0x55c424264bbc - core::fmt::write::h9ddafa4860d8adff
[opencv 0.43.3]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/core/src/fmt/mod.rs:1082
[opencv 0.43.3]    5:     0x55c42423a5b7 - std::io::Write::write_fmt::h1d2ee292d2b65481
[opencv 0.43.3]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/io/mod.rs:1514
[opencv 0.43.3]    6:     0x55c424241100 - std::sys_common::backtrace::_print::ha25f9ff5080d886d
[opencv 0.43.3]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/sys_common/backtrace.rs:61
[opencv 0.43.3]    7:     0x55c424241100 - std::sys_common::backtrace::print::h213e8aa8dc5405c0
[opencv 0.43.3]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/sys_common/backtrace.rs:48
[opencv 0.43.3]    8:     0x55c424241100 - std::panicking::default_hook::{{closure}}::h6482fae49ef9d963
[opencv 0.43.3]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/panicking.rs:200
[opencv 0.43.3]    9:     0x55c424240e4c - std::panicking::default_hook::he30ad7589e0970f9
[opencv 0.43.3]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/panicking.rs:219
[opencv 0.43.3]   10:     0x55c424241763 - std::panicking::rust_panic_with_hook::haa1ed36ada4ffb03
[opencv 0.43.3]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/panicking.rs:569
[opencv 0.43.3]   11:     0x55c424241339 - std::panicking::begin_panic_handler::{{closure}}::h7001af1bb21aeaeb
[opencv 0.43.3]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/panicking.rs:476
[opencv 0.43.3]   12:     0x55c42423f05c - std::sys_common::backtrace::__rust_end_short_backtrace::h39910f557f5f2367
[opencv 0.43.3]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/sys_common/backtrace.rs:153
[opencv 0.43.3]   13:     0x55c4242412f9 - rust_begin_unwind
[opencv 0.43.3]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/panicking.rs:475
[opencv 0.43.3]   14:     0x55c4242631c1 - core::panicking::panic_fmt::h4e2659771ebc78eb
[opencv 0.43.3]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/core/src/panicking.rs:85
[opencv 0.43.3]   15:     0x55c424262f53 - core::option::expect_failed::hd5a1da3a6b6bbb34
[opencv 0.43.3]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/core/src/option.rs:1213
[opencv 0.43.3]   16:     0x55c423f0dbf0 - core::option::Option<T>::expect::h3dd7ed627352ea25
[opencv 0.43.3]                                at /home/bus710/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/option.rs:333
[opencv 0.43.3]   17:     0x55c423f16b21 - opencv_binding_generator::generator::Generator::new::h9fec1910bd14c3c7
[opencv 0.43.3]                                at /home/bus710/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-binding-generator-0.16.2/src/generator.rs:339
[opencv 0.43.3]   18:     0x55c423d0468e - build_script_build::generator::gen_wrapper::h9ff0000e082a3a1e
[opencv 0.43.3]                                at /home/bus710/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.43.3/build.rs:166
[opencv 0.43.3]   19:     0x55c423d01add - build_script_build::main::h106629cfeeb55255
[opencv 0.43.3]                                at /home/bus710/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.43.3/build.rs:1137
[opencv 0.43.3]   20:     0x55c423d43d4b - core::ops::function::FnOnce::call_once::h7c5c19cc5741e3ff
[opencv 0.43.3]                                at /home/bus710/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:227
[opencv 0.43.3]   21:     0x55c423d3b2fe - std::sys_common::backtrace::__rust_begin_short_backtrace::h8fb3181da121a73c
[opencv 0.43.3]                                at /home/bus710/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys_common/backtrace.rs:137
[opencv 0.43.3]   22:     0x55c423d1ad71 - std::rt::lang_start::{{closure}}::ha37597204c586ff7
[opencv 0.43.3]                                at /home/bus710/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/rt.rs:66
[opencv 0.43.3]   23:     0x55c424241b61 - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::h6a3209f124be2235
[opencv 0.43.3]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/core/src/ops/function.rs:259
[opencv 0.43.3]   24:     0x55c424241b61 - std::panicking::try::do_call::h88ce358792b64df0
[opencv 0.43.3]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/panicking.rs:373
[opencv 0.43.3]   25:     0x55c424241b61 - std::panicking::try::h6311c259678e50fc
[opencv 0.43.3]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/panicking.rs:337
[opencv 0.43.3]   26:     0x55c424241b61 - std::panic::catch_unwind::h56c5716807d659a1
[opencv 0.43.3]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/panic.rs:379
[opencv 0.43.3]   27:     0x55c424241b61 - std::rt::lang_start_internal::h73711f37ecfcb277
[opencv 0.43.3]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/rt.rs:51
[opencv 0.43.3]   28:     0x55c423d1ad47 - std::rt::lang_start::ha37942e742db5fd0
[opencv 0.43.3]                                at /home/bus710/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/rt.rs:65
[opencv 0.43.3]   29:     0x55c423d02b9a - main
[opencv 0.43.3]   30:     0x7ff9172e80b3 - __libc_start_main
[opencv 0.43.3]   31:     0x55c423cf20ce - _start
[opencv 0.43.3]   32:                0x0 - <unknown>
error: failed to run custom build command for `opencv v0.43.3`

Caused by:
  process didn't exit successfully: `/home/bus710/repo/tmp/projects/rust_opencv/target/debug/build/opencv-16807245944feb34/build-script-build` (exit code: 101)
  --- stdout
  === Clang: clang version 10.0.0-4ubuntu1 

  --- stderr
  === Crate version: Some("0.43.3")
  === Environment configuration:
  ===   OPENCV_HEADER_DIR = None
  ===   OPENCV_PACKAGE_NAME = None
  ===   OPENCV_PKGCONFIG_NAME = None
  ===   OPENCV_CMAKE_NAME = None
  ===   OPENCV_CMAKE_BIN = None
  ===   OPENCV_VCPKG_NAME = None
  ===   OPENCV_LINK_LIBS = Some("/opt/intel/openvino_2021/opencv/lib")
  ===   OPENCV_LINK_PATHS = Some("/opt/intel/openvino_2021/opencv/lib")
  ===   OPENCV_INCLUDE_PATHS = Some("/opt/intel/openvino_2021/opencv/include")
  ===   OPENCV_DISABLE_PROBES = None
  ===   OPENCV_CLANG_STDLIB_PATH = None
  ===   CMAKE_PREFIX_PATH = None
  ===   OpenCV_DIR = Some("/opt/intel/openvino_2021/opencv/cmake")
  ===   PKG_CONFIG_PATH = Some("/opt/intel/openvino_2021/data_processing/dl_streamer/lib/pkgconfig:/opt/intel/openvino_2021/data_processing/gstreamer/lib/pkgconfig:")
  ===   VCPKG_ROOT = None
  === Enabled features:
  ===   BINDING_GENERATOR
  ===   BUILDTIME_BINDGEN
  ===   CLANG
  ===   DEFAULT
  ===   JOBSERVER
  ===   OPENCV_4
  === Configuring OpenCV library from the environment:
  ===   include_paths: /opt/intel/openvino_2021/opencv/include
  ===   link_paths: /opt/intel/openvino_2021/opencv/lib
  ===   link_libs: /opt/intel/openvino_2021/opencv/lib
  === OpenCV library configuration: Library {
      include_paths: [
          "/opt/intel/openvino_2021/opencv/include",
      ],
      version: "4.5.0",
      cargo_metadata: [
          "cargo:rustc-link-search=/opt/intel/openvino_2021/opencv/lib",
          "cargo:rustc-link-lib=opencv",
      ],
  }
  === Found OpenCV library version: 4.5.0 in headers located at: /opt/intel/openvino_2021/opencv/include
  === Using OpenCV headers from: /opt/intel/openvino_2021/opencv/include/opencv2
  === Generating code in: /home/bus710/repo/tmp/projects/rust_opencv/target/debug/build/opencv-3c59b05332037a20/out
  === Placing generated bindings into: /home/bus710/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.43.3/bindings/rust/opencv_4
  thread 'main' panicked at 'Can't find clang binary', /home/bus710/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-binding-generator-0.16.2/src/generator.rs:339:68
  stack backtrace:
     0:     0x55c42423ebd0 - std::backtrace_rs::backtrace::libunwind::trace::h577ea05e9ca4629a
                                 at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/../../backtrace/src/backtrace/libunwind.rs:96
     1:     0x55c42423ebd0 - std::backtrace_rs::backtrace::trace_unsynchronized::h50b9b72b84c7dd56
                                 at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/../../backtrace/src/backtrace/mod.rs:66
     2:     0x55c42423ebd0 - std::sys_common::backtrace::_print_fmt::h6541cf9823837fac
                                 at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/sys_common/backtrace.rs:79
     3:     0x55c42423ebd0 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hf64fbff071026df5
                                 at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/sys_common/backtrace.rs:58
     4:     0x55c424264bbc - core::fmt::write::h9ddafa4860d8adff
                                 at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/core/src/fmt/mod.rs:1082
     5:     0x55c42423a5b7 - std::io::Write::write_fmt::h1d2ee292d2b65481
                                 at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/io/mod.rs:1514
     6:     0x55c424241100 - std::sys_common::backtrace::_print::ha25f9ff5080d886d
                                 at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/sys_common/backtrace.rs:61
     7:     0x55c424241100 - std::sys_common::backtrace::print::h213e8aa8dc5405c0
                                 at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/sys_common/backtrace.rs:48
     8:     0x55c424241100 - std::panicking::default_hook::{{closure}}::h6482fae49ef9d963
                                 at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/panicking.rs:200
     9:     0x55c424240e4c - std::panicking::default_hook::he30ad7589e0970f9
                                 at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/panicking.rs:219
    10:     0x55c424241763 - std::panicking::rust_panic_with_hook::haa1ed36ada4ffb03
                                 at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/panicking.rs:569
    11:     0x55c424241339 - std::panicking::begin_panic_handler::{{closure}}::h7001af1bb21aeaeb
                                 at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/panicking.rs:476
    12:     0x55c42423f05c - std::sys_common::backtrace::__rust_end_short_backtrace::h39910f557f5f2367
                                 at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/sys_common/backtrace.rs:153
    13:     0x55c4242412f9 - rust_begin_unwind
                                 at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/panicking.rs:475
    14:     0x55c4242631c1 - core::panicking::panic_fmt::h4e2659771ebc78eb
                                 at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/core/src/panicking.rs:85
    15:     0x55c424262f53 - core::option::expect_failed::hd5a1da3a6b6bbb34
                                 at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/core/src/option.rs:1213
    16:     0x55c423f0dbf0 - core::option::Option<T>::expect::h3dd7ed627352ea25
                                 at /home/bus710/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/option.rs:333
    17:     0x55c423f16b21 - opencv_binding_generator::generator::Generator::new::h9fec1910bd14c3c7
                                 at /home/bus710/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-binding-generator-0.16.2/src/generator.rs:339
    18:     0x55c423d0468e - build_script_build::generator::gen_wrapper::h9ff0000e082a3a1e
                                 at /home/bus710/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.43.3/build.rs:166
    19:     0x55c423d01add - build_script_build::main::h106629cfeeb55255
                                 at /home/bus710/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.43.3/build.rs:1137
    20:     0x55c423d43d4b - core::ops::function::FnOnce::call_once::h7c5c19cc5741e3ff
                                 at /home/bus710/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:227
    21:     0x55c423d3b2fe - std::sys_common::backtrace::__rust_begin_short_backtrace::h8fb3181da121a73c
                                 at /home/bus710/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys_common/backtrace.rs:137
    22:     0x55c423d1ad71 - std::rt::lang_start::{{closure}}::ha37597204c586ff7
                                 at /home/bus710/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/rt.rs:66
    23:     0x55c424241b61 - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::h6a3209f124be2235
                                 at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/core/src/ops/function.rs:259
    24:     0x55c424241b61 - std::panicking::try::do_call::h88ce358792b64df0
                                 at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/panicking.rs:373
    25:     0x55c424241b61 - std::panicking::try::h6311c259678e50fc
                                 at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/panicking.rs:337
    26:     0x55c424241b61 - std::panic::catch_unwind::h56c5716807d659a1
                                 at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/panic.rs:379
    27:     0x55c424241b61 - std::rt::lang_start_internal::h73711f37ecfcb277
                                 at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/rt.rs:51
    28:     0x55c423d1ad47 - std::rt::lang_start::ha37942e742db5fd0
                                 at /home/bus710/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/rt.rs:65
    29:     0x55c423d02b9a - main
    30:     0x7ff9172e80b3 - __libc_start_main
    31:     0x55c423cf20ce - _start
    32:                0x0 - <unknown>

Please let me know if there is anything else I can add more! Thanks,

closed time in 9 days

bus710

issue commenttwistedfall/opencv-rust

Using OpenCV bundled with OpenVino SDK.

That is my fault. Previously I only installed libclang-dev because I thought the dev package might come with clang bin.

So I installed both for a new system with Ubuntu 20.04 and OpenVino 2021_1:

$ sudo apt install clang libclang-dev
$ sudo apt install cmake ninja-build # if needed

Thanks for your help!

bus710

comment created time in 9 days

issue closedtwistedfall/opencv-rust

How to use moments

Hi!

I am trying to convert a vector of points, a contour, into moments, but the documentation seems rather unclear as to how to do this.

I am referring to the core::Moments struct (moments docs) (find countours docs)

closed time in 9 days

famattsson

issue commenttwistedfall/opencv-rust

How to use moments

We worked around it by calculating it on our own. Thanks for the help anyway!

famattsson

comment created time in 9 days

issue commenttwistedfall/opencv-rust

Using OpenCV bundled with OpenVino SDK.

Hi, you appear to have some problem with llvm/clang installation, how did you install it? The problem seems to be that libclang.so is available, but the clang binary for some reason is not.

bus710

comment created time in 9 days

issue openedtwistedfall/opencv-rust

Using OpenCV bundled with OpenVino SDK.

Before reporting an issue please first check the troubleshooting guide. If the issue you're encountering is not solved thereby please state the following in your bugreport:

0. Background

Hi, I am trying to use this nice package with a pre-built OpenCV, which is bundled with Intel's OpenVino. The SDK works fine with its Cpp/Python demos so that I wanted to try Rust + opencv-rust + OpenVino. I tried to make it work with some variables but I couldn't get a successful result yet so that I would like to share what's going on.

1. Operating system

$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.1 LTS"

2. The way you installed OpenCV: package, official binary distribution, manual compilation, etc.

I used OpenVino bundled OpcnCV. It is located under /opt/intel/openvino_2021/opencv and has some files as attached:

$ pwd
/opt/intel/openvino_2021/opencv

$ tree -L 2
.
โ”œโ”€โ”€ bin
โ”‚ย ย  โ””โ”€โ”€ opencv_version
โ”œโ”€โ”€ build_params.txt
โ”œโ”€โ”€ cmake
โ”‚ย ย  โ”œโ”€โ”€ OpenCVConfig.cmake
โ”‚ย ย  โ”œโ”€โ”€ OpenCVConfig-version.cmake
โ”‚ย ย  โ”œโ”€โ”€ OpenCVModules.cmake
โ”‚ย ย  โ””โ”€โ”€ OpenCVModules-release.cmake
โ”œโ”€โ”€ etc
โ”‚ย ย  โ””โ”€โ”€ licenses
โ”œโ”€โ”€ include
โ”‚ย ย  โ””โ”€โ”€ opencv2
โ”œโ”€โ”€ lib
โ”‚ย ย  โ”œโ”€โ”€ libopencv_calib3d.so -> libopencv_calib3d.so.4.5
โ”‚ย ย  โ”œโ”€โ”€ ...
โ”‚ย ย  โ””โ”€โ”€ libopencv_video.so.4.5.0
โ”œโ”€โ”€ setupvars.sh
โ”œโ”€โ”€ third-party-programs.txt
โ””โ”€โ”€ version.txt

7 directories, 57 files

For the variables:

$ echo $PKG_CONFIG_PATH 
/opt/intel/openvino_2021/data_processing/dl_streamer/lib/pkgconfig:/opt/intel/openvino_2021/data_processing/gstreamer/lib/pkgconfig:

$  echo $OpenCV_DIR 
/opt/intel/openvino_2021/opencv/cmake

$ echo $LD_LIBRARY_PATH
/opt/intel/openvino_2021/data_processing/dl_streamer/lib:/opt/intel/openvino_2021/data_processing/gstreamer/lib:/opt/intel/openvino_2021/opencv/lib:/opt/intel/openvino_2021/deployment_tools/ngraph/lib:/opt/intel/openvino_2021/deployment_tools/inference_engine/external/hddl_unite/lib:/opt/intel/openvino_2021/deployment_tools/inference_engine/external/hddl/lib:/opt/intel/openvino_2021/deployment_tools/inference_engine/external/gna/lib:/opt/intel/openvino_2021/deployment_tools/inference_engine/external/mkltiny_lnx/lib:/opt/intel/openvino_2021/deployment_tools/inference_engine/external/tbb/lib:/opt/intel/openvino_2021/deployment_tools/inference_engine/lib/intel64

3. OpenCV version

It seems like 0.45.0 or 0.45.1.

$ cat /opt/intel/openvino_2021/opencv/version.txt
4.5.0-65-g464efeb7b (OpenVINO/2021.1)
65
releases/openvino/2021.1
464efeb7b07211706d0f2615e16c8d144447d362

General configuration for OpenCV 4.5.0-openvino =====================================
  Version control:               464efeb7b07211706d0f2615e16c8d144447d362

  Platform:
    Timestamp:                   2020-09-29T02:20:56Z
    Host:                        Linux 4.15.0-29-generic x86_64
    CMake:                       3.14.5
    CMake generator:             Ninja
    CMake build tool:            /opt/miniconda/envs/build/bin/ninja
    Configuration:               Release

4. rustc version (rustc --version)

rustc 1.47.0 (18bf6b4f0 2020-10-07)

5. Attach the full output of the following command from your project directory:

$ RUST_BACKTRACE=full cargo build -vv 

...

     Running `/home/bus710/repo/tmp/projects/rust_opencv/target/debug/build/opencv-16807245944feb34/build-script-build`
[opencv 0.43.3] === Crate version: Some("0.43.3")
[opencv 0.43.3] === Environment configuration:
[opencv 0.43.3] ===   OPENCV_HEADER_DIR = None
[opencv 0.43.3] ===   OPENCV_PACKAGE_NAME = None
[opencv 0.43.3] ===   OPENCV_PKGCONFIG_NAME = None
[opencv 0.43.3] ===   OPENCV_CMAKE_NAME = None
[opencv 0.43.3] ===   OPENCV_CMAKE_BIN = None
[opencv 0.43.3] ===   OPENCV_VCPKG_NAME = None
[opencv 0.43.3] ===   OPENCV_LINK_LIBS = Some("/opt/intel/openvino_2021/opencv/lib")
[opencv 0.43.3] ===   OPENCV_LINK_PATHS = Some("/opt/intel/openvino_2021/opencv/lib")
[opencv 0.43.3] ===   OPENCV_INCLUDE_PATHS = Some("/opt/intel/openvino_2021/opencv/include")
[opencv 0.43.3] ===   OPENCV_DISABLE_PROBES = None
[opencv 0.43.3] ===   OPENCV_CLANG_STDLIB_PATH = None
[opencv 0.43.3] ===   CMAKE_PREFIX_PATH = None
[opencv 0.43.3] ===   OpenCV_DIR = Some("/opt/intel/openvino_2021/opencv/cmake")
[opencv 0.43.3] ===   PKG_CONFIG_PATH = Some("/opt/intel/openvino_2021/data_processing/dl_streamer/lib/pkgconfig:/opt/intel/openvino_2021/data_processing/gstreamer/lib/pkgconfig:")
[opencv 0.43.3] ===   VCPKG_ROOT = None
[opencv 0.43.3] === Enabled features:
[opencv 0.43.3] ===   BINDING_GENERATOR
[opencv 0.43.3] ===   BUILDTIME_BINDGEN
[opencv 0.43.3] ===   CLANG
[opencv 0.43.3] ===   DEFAULT
[opencv 0.43.3] ===   JOBSERVER
[opencv 0.43.3] ===   OPENCV_4
[opencv 0.43.3] === Configuring OpenCV library from the environment:
[opencv 0.43.3] ===   include_paths: /opt/intel/openvino_2021/opencv/include
[opencv 0.43.3] ===   link_paths: /opt/intel/openvino_2021/opencv/lib
[opencv 0.43.3] ===   link_libs: /opt/intel/openvino_2021/opencv/lib
[opencv 0.43.3] === OpenCV library configuration: Library {
[opencv 0.43.3]     include_paths: [
[opencv 0.43.3]         "/opt/intel/openvino_2021/opencv/include",
[opencv 0.43.3]     ],
[opencv 0.43.3]     version: "4.5.0",
[opencv 0.43.3]     cargo_metadata: [
[opencv 0.43.3]         "cargo:rustc-link-search=/opt/intel/openvino_2021/opencv/lib",
[opencv 0.43.3]         "cargo:rustc-link-lib=opencv",
[opencv 0.43.3]     ],
[opencv 0.43.3] }
[opencv 0.43.3] === Found OpenCV library version: 4.5.0 in headers located at: /opt/intel/openvino_2021/opencv/include
[opencv 0.43.3] === Using OpenCV headers from: /opt/intel/openvino_2021/opencv/include/opencv2
[opencv 0.43.3] === Generating code in: /home/bus710/repo/tmp/projects/rust_opencv/target/debug/build/opencv-3c59b05332037a20/out
[opencv 0.43.3] === Placing generated bindings into: /home/bus710/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.43.3/bindings/rust/opencv_4
[opencv 0.43.3] === Clang: clang version 10.0.0-4ubuntu1 
[opencv 0.43.3] thread 'main' panicked at 'Can't find clang binary', /home/bus710/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-binding-generator-0.16.2/src/generator.rs:339:68
[opencv 0.43.3] stack backtrace:
[opencv 0.43.3]    0:     0x55c42423ebd0 - std::backtrace_rs::backtrace::libunwind::trace::h577ea05e9ca4629a
[opencv 0.43.3]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/../../backtrace/src/backtrace/libunwind.rs:96
[opencv 0.43.3]    1:     0x55c42423ebd0 - std::backtrace_rs::backtrace::trace_unsynchronized::h50b9b72b84c7dd56
[opencv 0.43.3]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/../../backtrace/src/backtrace/mod.rs:66
[opencv 0.43.3]    2:     0x55c42423ebd0 - std::sys_common::backtrace::_print_fmt::h6541cf9823837fac
[opencv 0.43.3]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/sys_common/backtrace.rs:79
[opencv 0.43.3]    3:     0x55c42423ebd0 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hf64fbff071026df5
[opencv 0.43.3]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/sys_common/backtrace.rs:58
[opencv 0.43.3]    4:     0x55c424264bbc - core::fmt::write::h9ddafa4860d8adff
[opencv 0.43.3]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/core/src/fmt/mod.rs:1082
[opencv 0.43.3]    5:     0x55c42423a5b7 - std::io::Write::write_fmt::h1d2ee292d2b65481
[opencv 0.43.3]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/io/mod.rs:1514
[opencv 0.43.3]    6:     0x55c424241100 - std::sys_common::backtrace::_print::ha25f9ff5080d886d
[opencv 0.43.3]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/sys_common/backtrace.rs:61
[opencv 0.43.3]    7:     0x55c424241100 - std::sys_common::backtrace::print::h213e8aa8dc5405c0
[opencv 0.43.3]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/sys_common/backtrace.rs:48
[opencv 0.43.3]    8:     0x55c424241100 - std::panicking::default_hook::{{closure}}::h6482fae49ef9d963
[opencv 0.43.3]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/panicking.rs:200
[opencv 0.43.3]    9:     0x55c424240e4c - std::panicking::default_hook::he30ad7589e0970f9
[opencv 0.43.3]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/panicking.rs:219
[opencv 0.43.3]   10:     0x55c424241763 - std::panicking::rust_panic_with_hook::haa1ed36ada4ffb03
[opencv 0.43.3]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/panicking.rs:569
[opencv 0.43.3]   11:     0x55c424241339 - std::panicking::begin_panic_handler::{{closure}}::h7001af1bb21aeaeb
[opencv 0.43.3]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/panicking.rs:476
[opencv 0.43.3]   12:     0x55c42423f05c - std::sys_common::backtrace::__rust_end_short_backtrace::h39910f557f5f2367
[opencv 0.43.3]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/sys_common/backtrace.rs:153
[opencv 0.43.3]   13:     0x55c4242412f9 - rust_begin_unwind
[opencv 0.43.3]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/panicking.rs:475
[opencv 0.43.3]   14:     0x55c4242631c1 - core::panicking::panic_fmt::h4e2659771ebc78eb
[opencv 0.43.3]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/core/src/panicking.rs:85
[opencv 0.43.3]   15:     0x55c424262f53 - core::option::expect_failed::hd5a1da3a6b6bbb34
[opencv 0.43.3]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/core/src/option.rs:1213
[opencv 0.43.3]   16:     0x55c423f0dbf0 - core::option::Option<T>::expect::h3dd7ed627352ea25
[opencv 0.43.3]                                at /home/bus710/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/option.rs:333
[opencv 0.43.3]   17:     0x55c423f16b21 - opencv_binding_generator::generator::Generator::new::h9fec1910bd14c3c7
[opencv 0.43.3]                                at /home/bus710/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-binding-generator-0.16.2/src/generator.rs:339
[opencv 0.43.3]   18:     0x55c423d0468e - build_script_build::generator::gen_wrapper::h9ff0000e082a3a1e
[opencv 0.43.3]                                at /home/bus710/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.43.3/build.rs:166
[opencv 0.43.3]   19:     0x55c423d01add - build_script_build::main::h106629cfeeb55255
[opencv 0.43.3]                                at /home/bus710/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.43.3/build.rs:1137
[opencv 0.43.3]   20:     0x55c423d43d4b - core::ops::function::FnOnce::call_once::h7c5c19cc5741e3ff
[opencv 0.43.3]                                at /home/bus710/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:227
[opencv 0.43.3]   21:     0x55c423d3b2fe - std::sys_common::backtrace::__rust_begin_short_backtrace::h8fb3181da121a73c
[opencv 0.43.3]                                at /home/bus710/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys_common/backtrace.rs:137
[opencv 0.43.3]   22:     0x55c423d1ad71 - std::rt::lang_start::{{closure}}::ha37597204c586ff7
[opencv 0.43.3]                                at /home/bus710/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/rt.rs:66
[opencv 0.43.3]   23:     0x55c424241b61 - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::h6a3209f124be2235
[opencv 0.43.3]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/core/src/ops/function.rs:259
[opencv 0.43.3]   24:     0x55c424241b61 - std::panicking::try::do_call::h88ce358792b64df0
[opencv 0.43.3]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/panicking.rs:373
[opencv 0.43.3]   25:     0x55c424241b61 - std::panicking::try::h6311c259678e50fc
[opencv 0.43.3]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/panicking.rs:337
[opencv 0.43.3]   26:     0x55c424241b61 - std::panic::catch_unwind::h56c5716807d659a1
[opencv 0.43.3]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/panic.rs:379
[opencv 0.43.3]   27:     0x55c424241b61 - std::rt::lang_start_internal::h73711f37ecfcb277
[opencv 0.43.3]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/rt.rs:51
[opencv 0.43.3]   28:     0x55c423d1ad47 - std::rt::lang_start::ha37942e742db5fd0
[opencv 0.43.3]                                at /home/bus710/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/rt.rs:65
[opencv 0.43.3]   29:     0x55c423d02b9a - main
[opencv 0.43.3]   30:     0x7ff9172e80b3 - __libc_start_main
[opencv 0.43.3]   31:     0x55c423cf20ce - _start
[opencv 0.43.3]   32:                0x0 - <unknown>
error: failed to run custom build command for `opencv v0.43.3`

Caused by:
  process didn't exit successfully: `/home/bus710/repo/tmp/projects/rust_opencv/target/debug/build/opencv-16807245944feb34/build-script-build` (exit code: 101)
  --- stdout
  === Clang: clang version 10.0.0-4ubuntu1 

  --- stderr
  === Crate version: Some("0.43.3")
  === Environment configuration:
  ===   OPENCV_HEADER_DIR = None
  ===   OPENCV_PACKAGE_NAME = None
  ===   OPENCV_PKGCONFIG_NAME = None
  ===   OPENCV_CMAKE_NAME = None
  ===   OPENCV_CMAKE_BIN = None
  ===   OPENCV_VCPKG_NAME = None
  ===   OPENCV_LINK_LIBS = Some("/opt/intel/openvino_2021/opencv/lib")
  ===   OPENCV_LINK_PATHS = Some("/opt/intel/openvino_2021/opencv/lib")
  ===   OPENCV_INCLUDE_PATHS = Some("/opt/intel/openvino_2021/opencv/include")
  ===   OPENCV_DISABLE_PROBES = None
  ===   OPENCV_CLANG_STDLIB_PATH = None
  ===   CMAKE_PREFIX_PATH = None
  ===   OpenCV_DIR = Some("/opt/intel/openvino_2021/opencv/cmake")
  ===   PKG_CONFIG_PATH = Some("/opt/intel/openvino_2021/data_processing/dl_streamer/lib/pkgconfig:/opt/intel/openvino_2021/data_processing/gstreamer/lib/pkgconfig:")
  ===   VCPKG_ROOT = None
  === Enabled features:
  ===   BINDING_GENERATOR
  ===   BUILDTIME_BINDGEN
  ===   CLANG
  ===   DEFAULT
  ===   JOBSERVER
  ===   OPENCV_4
  === Configuring OpenCV library from the environment:
  ===   include_paths: /opt/intel/openvino_2021/opencv/include
  ===   link_paths: /opt/intel/openvino_2021/opencv/lib
  ===   link_libs: /opt/intel/openvino_2021/opencv/lib
  === OpenCV library configuration: Library {
      include_paths: [
          "/opt/intel/openvino_2021/opencv/include",
      ],
      version: "4.5.0",
      cargo_metadata: [
          "cargo:rustc-link-search=/opt/intel/openvino_2021/opencv/lib",
          "cargo:rustc-link-lib=opencv",
      ],
  }
  === Found OpenCV library version: 4.5.0 in headers located at: /opt/intel/openvino_2021/opencv/include
  === Using OpenCV headers from: /opt/intel/openvino_2021/opencv/include/opencv2
  === Generating code in: /home/bus710/repo/tmp/projects/rust_opencv/target/debug/build/opencv-3c59b05332037a20/out
  === Placing generated bindings into: /home/bus710/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.43.3/bindings/rust/opencv_4
  thread 'main' panicked at 'Can't find clang binary', /home/bus710/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-binding-generator-0.16.2/src/generator.rs:339:68
  stack backtrace:
     0:     0x55c42423ebd0 - std::backtrace_rs::backtrace::libunwind::trace::h577ea05e9ca4629a
                                 at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/../../backtrace/src/backtrace/libunwind.rs:96
     1:     0x55c42423ebd0 - std::backtrace_rs::backtrace::trace_unsynchronized::h50b9b72b84c7dd56
                                 at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/../../backtrace/src/backtrace/mod.rs:66
     2:     0x55c42423ebd0 - std::sys_common::backtrace::_print_fmt::h6541cf9823837fac
                                 at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/sys_common/backtrace.rs:79
     3:     0x55c42423ebd0 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hf64fbff071026df5
                                 at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/sys_common/backtrace.rs:58
     4:     0x55c424264bbc - core::fmt::write::h9ddafa4860d8adff
                                 at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/core/src/fmt/mod.rs:1082
     5:     0x55c42423a5b7 - std::io::Write::write_fmt::h1d2ee292d2b65481
                                 at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/io/mod.rs:1514
     6:     0x55c424241100 - std::sys_common::backtrace::_print::ha25f9ff5080d886d
                                 at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/sys_common/backtrace.rs:61
     7:     0x55c424241100 - std::sys_common::backtrace::print::h213e8aa8dc5405c0
                                 at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/sys_common/backtrace.rs:48
     8:     0x55c424241100 - std::panicking::default_hook::{{closure}}::h6482fae49ef9d963
                                 at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/panicking.rs:200
     9:     0x55c424240e4c - std::panicking::default_hook::he30ad7589e0970f9
                                 at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/panicking.rs:219
    10:     0x55c424241763 - std::panicking::rust_panic_with_hook::haa1ed36ada4ffb03
                                 at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/panicking.rs:569
    11:     0x55c424241339 - std::panicking::begin_panic_handler::{{closure}}::h7001af1bb21aeaeb
                                 at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/panicking.rs:476
    12:     0x55c42423f05c - std::sys_common::backtrace::__rust_end_short_backtrace::h39910f557f5f2367
                                 at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/sys_common/backtrace.rs:153
    13:     0x55c4242412f9 - rust_begin_unwind
                                 at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/panicking.rs:475
    14:     0x55c4242631c1 - core::panicking::panic_fmt::h4e2659771ebc78eb
                                 at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/core/src/panicking.rs:85
    15:     0x55c424262f53 - core::option::expect_failed::hd5a1da3a6b6bbb34
                                 at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/core/src/option.rs:1213
    16:     0x55c423f0dbf0 - core::option::Option<T>::expect::h3dd7ed627352ea25
                                 at /home/bus710/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/option.rs:333
    17:     0x55c423f16b21 - opencv_binding_generator::generator::Generator::new::h9fec1910bd14c3c7
                                 at /home/bus710/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-binding-generator-0.16.2/src/generator.rs:339
    18:     0x55c423d0468e - build_script_build::generator::gen_wrapper::h9ff0000e082a3a1e
                                 at /home/bus710/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.43.3/build.rs:166
    19:     0x55c423d01add - build_script_build::main::h106629cfeeb55255
                                 at /home/bus710/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.43.3/build.rs:1137
    20:     0x55c423d43d4b - core::ops::function::FnOnce::call_once::h7c5c19cc5741e3ff
                                 at /home/bus710/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:227
    21:     0x55c423d3b2fe - std::sys_common::backtrace::__rust_begin_short_backtrace::h8fb3181da121a73c
                                 at /home/bus710/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys_common/backtrace.rs:137
    22:     0x55c423d1ad71 - std::rt::lang_start::{{closure}}::ha37597204c586ff7
                                 at /home/bus710/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/rt.rs:66
    23:     0x55c424241b61 - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::h6a3209f124be2235
                                 at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/core/src/ops/function.rs:259
    24:     0x55c424241b61 - std::panicking::try::do_call::h88ce358792b64df0
                                 at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/panicking.rs:373
    25:     0x55c424241b61 - std::panicking::try::h6311c259678e50fc
                                 at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/panicking.rs:337
    26:     0x55c424241b61 - std::panic::catch_unwind::h56c5716807d659a1
                                 at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/panic.rs:379
    27:     0x55c424241b61 - std::rt::lang_start_internal::h73711f37ecfcb277
                                 at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/rt.rs:51
    28:     0x55c423d1ad47 - std::rt::lang_start::ha37942e742db5fd0
                                 at /home/bus710/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/rt.rs:65
    29:     0x55c423d02b9a - main
    30:     0x7ff9172e80b3 - __libc_start_main
    31:     0x55c423cf20ce - _start
    32:                0x0 - <unknown>

Please let me know if there is anything else I can add more! Thanks,

created time in 9 days

push eventsonos/tract

Mathieu Poumeyrol

commit sha 3d9954f5c9c8d6df6fa4b181892ee47e8b7f0bca

hash back in core

view details

Mathieu Poumeyrol

commit sha 20f8af0984a95d90e01955d0b530d2f978839612

merge mmm and qmmm

view details

Mathieu Poumeyrol

commit sha 19cf21d1fdeb96905954ccb262c68c12fe104798

fix arm archs

view details

Mathieu Poumeyrol

commit sha 8e8a63f32a8943914cd584c13150324a0853b49a

wip

view details

Mathieu Poumeyrol

commit sha a3d707c6ec4cf5d55cade26f57a527fabdd5ca0d

less explicit types

view details

Mathieu Poumeyrol

commit sha c8ae9db576f66aadbea4568b8063a1e4259130d2

fix arm targets

view details

Mathieu Poumeyrol

commit sha 42f3bc274767ad39470a7976a187b4b22e9b8548

fused is now dynamically types

view details

Mathieu Poumeyrol

commit sha 557293da5df4cf27e74c6be14f444f23392a5627

refactoring mmm types

view details

Mathieu Poumeyrol

commit sha f1e899f106bbfb27300dbc4f48032033ea2a1f97

introduce TensorView and TensorViewMut

view details

Mathieu Poumeyrol

commit sha 7f1b8ae86d0c1fcb47cba0493f8072bdf31c742b

pack A now operates on tensor views

view details

Mathieu Poumeyrol

commit sha a1a70d5e12d962ba683030866f96cc98b0f62130

qualify ptr for win32 assembly

view details

Mathieu Poumeyrol

commit sha a77511b48b5261a9170d0ecb92527a2acb07d36b

pack_b on Tensor

view details

Mathieu Poumeyrol

commit sha 668a0feaaa1b09fb598c7e0593a802cd0e9e963c

broken test

view details

Mathieu Poumeyrol

commit sha 43e2a7b9ea7fb29675142347a2d0095e91447d4d

borken

view details

Mathieu Poumeyrol

commit sha 7ddb673d3cbc97927975955c976ab766ce84cc24

fix C acces with groups

view details

Mathieu Poumeyrol

commit sha 56f42f38dda4cf94c02d85f815b69e086c1e57f6

no need for TensorViewMut

view details

Mathieu Poumeyrol

commit sha 42ceb375129c2c60e2328ebee12b03a9f1923060

poc direct access to tensor view

view details

Mathieu Poumeyrol

commit sha 332b172a95e36bbd45974bce5d9b57dfd2973c6b

use genric multiplier interface

view details

Mathieu Poumeyrol

commit sha 437063df55601bffd50ea696a539171e7274e833

fix bench

view details

Mathieu Poumeyrol

commit sha 269b192c8acbf96fa538d2f8814a0e9f520f65cf

move matmul implementation around a bit

view details

push time in 10 days

fork jakubclark/hue.rs

Rust library for Philips Hue lights

fork in 10 days

issue commenttwistedfall/opencv-rust

How to use moments

Did you get it to work?

famattsson

comment created time in 11 days

more