twistedfall

Results 262 comments of twistedfall

Well, one (simpler) solution would be to change the return type of `increase` function to `Result`. If this is not realistic in your actual code, then you would need to...

Ah, got it, the error in this case is coming from the fact that a Err return type of `from_row` is not what `query_one` expects. You can either do some...

I'm going to close this issue because of the lack of feedback, please feel free to reopen if you have an update

I’ll check it out, but in the meanwhile can you please share the corresponding working C++ code too?

Not yet, unfortunately, I'll try to find time this week

I ran those functions on a CUDA enabled laptop and I can confirm that for me both functions (`hwc_to_chw` and `hwc_to_chw_cpu`) produce identical `image_out` with the latest crate version. Judging...

Hi, I was not aware of such OpenCV mod before, I'll take a look. > Respect missing headers in minimal OpenCV builds without failing? Can you please check crate v0.95,...

You should try adding path that contains `cuda_runtime.h` header to the `OPENCV_INCLUDE_PATHS`

These are the error message important for `vcpkg` detection: ``` === Probing OpenCV library using vcpkg_cmake === Discovered vcpkg root: C:\vcpkg === Probing OpenCV library using cmake with toolchain: C:\vcpkg\scripts/buildsystems/vcpkg.cmake...

I've just noticed that you used `;` to separate the custom include paths. Please use `,` for that: ``` OPENCV_INCLUDE_PATHS='C:\opencv\build\include,C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.5\include' ``` Let's hope it works