# \#rust

**URL:** https://forum.opencv.org/tag/rust/267.md

[Latest](https://forum.opencv.org/latest.md) · [Categories](https://forum.opencv.org/categories.md) · [Tags](https://forum.opencv.org/tags.md)

---

## [Introducing PureCV: A Pure Rust Port of OpenCV](https://forum.opencv.org/t/introducing-purecv-a-pure-rust-port-of-opencv/24409)

<div class="topic-metadata">

**Author:** [@kalwalt](https://forum.opencv.org/u/kalwalt)\
**Replies:** 5\
**Last updated:** [July 6, 2026, 4:51pm UTC](https://forum.opencv.org/t/introducing-purecv-a-pure-rust-port-of-opencv/24409 "2026-07-06T16:51:24Z")

</div>

Introducing PureCV: A Pure Rust Port of OpenCV :warning: Experimental Phase: PureCV is currently in an experimental stage. There is no stable release or LTS version yet, and the API is subject to change. We recommend usi…

---

## [How to setup project with both c++ and python dependencies of cv2?](https://forum.opencv.org/t/how-to-setup-project-with-both-c-and-python-dependencies-of-cv2/20983)

<div class="topic-metadata">

**Author:** [@clouds56](https://forum.opencv.org/u/clouds56)\
**Replies:** 0\
**Last updated:** [May 9, 2025, 5:08am UTC](https://forum.opencv.org/t/how-to-setup-project-with-both-c-and-python-dependencies-of-cv2/20983 "2025-05-09T05:08:45Z")

</div>

Now I’m creating a app that using some cv2 algorithms, the main part is in rust linked with cv2 built by vcpkg. But I’d like to also including a python interpreter with opencv-python so that we could do some quick protot…

---

## [Having trouble using GPU for detection](https://forum.opencv.org/t/having-trouble-using-gpu-for-detection/19850)

<div class="topic-metadata">

**Author:** [@erickulcyk](https://forum.opencv.org/u/erickulcyk)\
**Replies:** 3\
**Last updated:** [January 23, 2025, 4:46am UTC](https://forum.opencv.org/t/having-trouble-using-gpu-for-detection/19850 "2025-01-23T04:46:51Z")

</div>

I am using the rust bindings for opencv, and I set the preferred backend and target and run detection like so: match model.set\_preferable\_target(dnn::Target::DNN\_TARGET\_CUDA) { …

---

## [Error loading ONNX model](https://forum.opencv.org/t/error-loading-onnx-model/15530)

<div class="topic-metadata">

**Author:** [@Nawin\_Raj\_Kumar\_S](https://forum.opencv.org/u/Nawin_Raj_Kumar_S)\
**Replies:** 5\
**Last updated:** [November 15, 2023, 7:58pm UTC](https://forum.opencv.org/t/error-loading-onnx-model/15530 "2023-11-15T19:58:57Z")

</div>

I tried loading onnx model using dnn on Rust and I get the following error what does this error mean Error { code: -204, message: “OpenCV(4.2.0) …/modules/dnn/include/opencv2/dnn/dnn.inl.hpp:349: error: (-204:Requested …

---

## [What build do the official Opencv builds use?](https://forum.opencv.org/t/what-build-do-the-official-opencv-builds-use/4969)

<div class="topic-metadata">

**Author:** [@Hpmason](https://forum.opencv.org/u/Hpmason)\
**Replies:** 4\
**Last updated:** [August 30, 2021, 6:35pm UTC](https://forum.opencv.org/t/what-build-do-the-official-opencv-builds-use/4969 "2021-08-30T18:35:07Z")

</div>

Hi, I’m trying to use OpenCV with rust using the opencv-rust crate. Problem is I want to use the aruco lib so I have to manually build OpenCV with contrib. I keep running into linker errors and believe it’s because I’m n…

---

## [Unable to set up the system environment variable paths for opencv](https://forum.opencv.org/t/unable-to-set-up-the-system-environment-variable-paths-for-opencv/1364)

<div class="topic-metadata">

**Author:** [@sam](https://forum.opencv.org/u/sam)\
**Replies:** 6\
**Last updated:** [February 5, 2021, 3:18pm UTC](https://forum.opencv.org/t/unable-to-set-up-the-system-environment-variable-paths-for-opencv/1364 "2021-02-05T15:18:01Z")

</div>

I am using the Rust programming language with OpenCV. I have installed Rust and I have downloaded the latest version 4.5.1. So I did download it and I did try to set it up in my system environment paths. I have setted u…
