Results 348 comments of Dustin Spicuzza
trafficstars

Historically `cmake -DBUILD_SHARED_LIBS=ON ...` has built a cv2 python module that utilizes the libopencv*.so/dll libraries.

Just tried it on my mac: ``` [100%] Linking CXX shared module ../../lib/python3/cv2.cpython-36m-darwin.so [100%] Built target opencv_python3 user@host ~/dev/ext/opencv/build $ otool -L lib/python3/cv2.cpython-36m-darwin.so lib/python3/cv2.cpython-36m-darwin.so: @rpath/libopencv_ml.3.4.dylib (compatibility version 3.4.0, current version...

Looks like someone already filed a bug for creating a capsule: https://github.com/opencv/opencv/issues/8872

Haven't done anything in particular towards this, but recently we've done something similar that is relevant. Our new robot libraries now wrap existing C++ libraries, consisting of lots of different...

FWIW, I have some (arm only, for my specific platform) wheels that allow this sort of thing at https://www.tortall.net/~robotpy/wheels/2022/roborio/ (see robotpy-opencv, robotpy-opencv-core, robotpy-opencv-core-dev, which are all used by robotpy-cscore). They...

@dmp42 you're right, you can use squid to do this, I haven't tested it extensively but it seems to work at first blush. @llamahunter see https://github.com/virtuald/docker-registry-cache for a HTTP cache...

I was able to launch a remote debugger using a patched version of pydevd (https://github.com/fabioz/PyDev.Debugger/pull/39). It works pretty nicely. The way I envision this to work is the user will...

I think the easiest way to go about this has two pieces: * Create a new remote debug entry point to hal-base for robot programs, and execute that code there...

That does look pretty straightforward, thanks for pointing it out :+1: