Include headers to support binary linking?
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 20/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Necesita aclaración
- Estado de actividad
- Estancado
- Área
- build-system
Línea de trabajo
El issue no menciona archivos del repositorio ni pruebas. Empieza inspeccionando el contenido de los archivos .so de Linux en un wheel instalado y comparando la interfaz propuesta cv2.distutils con el descubrimiento de includes y libraries de NumPy; una solución terminada necesitaría un alcance acordado y compatibilidad reproducible para los consumidores que enlacen contra el wheel, incluida la cuestión de Windows.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
First off, thanks for this project, it saves a ton of time and I'm really happy that it exists. It makes it a lot easier to get OpenCV installed for the high school students I work with.
I'd like to take a C++ library that uses OpenCV, wrap it with cython, and link it to the OpenCV bits in the binary provided by the installed wheel. This would allow users to just install the wheel of the other library + the opencv-python wheel, as opposed to having to compile their own version.
Has anyone tried this yet? A cursory look at the linux .so files indicate that it exports all of the normal OpenCV symbols, so in theory if you just include the right headers and link to it then it should just work (though maybe not for Windows)... I think that one would add an additional cv2 module (cv2.distutils?) that could provide a list of includes/libraries, similar to how numpy works.
If there's no opposition to this, I might try this out in a week or three to see how it goes.
- Lenguaje dominante
- Python
- Estrellas
- 5.4k
- Forks
- 1k
- Merge medio
- 22 h 17 min
- PR fusionados (30 d)
- 3
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de opencv/opencv-python
-
[DOC] README file Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
opencv/opencv-python#1217 · 3 comentarios ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
opencv/opencv-python#1165 · 2 comentarios · 1 reacción ·
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
opencv/opencv-python#1273 · 1 comentario ·
-
FFMPEG v8.1.1 vulnerabilities Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
opencv/opencv-python#1272 · 1 comentario ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 70/100
opencv/opencv-python#1268 · 1 comentario ·
Todos los issues de opencv/opencv-python
Issues similares
-
essnmx good first issue
Dificultad 1/5 Menos de una hora Aptitud para principiantes 95/100
-
[Feature] 奇物选择添加优先级 Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
syfoud/Simulated_Scepter#174 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Giskard-AI/giskard-oss#2840 · 1 comentario ·
-
A claim comment carrying the issue number is silently declined while the workflow reports success Abiertoarea: repo bug perceived difficulty: 2
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
yeti-platform/yeti#1380 ·