C++ virtualcam #55
Replies: 2 comments 2 replies
-
Hello, I have been using pyvirtualcam to prototype some OpenCV filters for a webcam overlay on Windows and it is working great. Thank you @letmaik for all of your hard work on this! I would also like to migrate that to C++ for several reasons. Unfortunately, I am unable to find anything for doing this in C++ that is as easy to use as pyvirtualcam. There are some C++ examples out there for Windows, but they seem to require a lot of DirectShow/Graph knowledge. How hard would it be to implement this directly in C++ without the pybind? In my searches, it seems like there are quite a few people looking for this. Any examples or links to existing code would be greatly appreciated. Thanks |
Beta Was this translation helpful? Give feedback.
-
Hello, In order to use the software in C++, I created the following Cmakelist in native_mac_os folder. However, I get the following error: error: ARC forbids explicit message send of 'dealloc' can someone help? cmake_minimum_required(VERSION 3.19) set(CMAKE_CXX_STANDARD 17) set(CMAKE_C_FLAGS "-x objective-c") set(CMAKE_EXE_LINKER_FLAGS "-framework Cocoa -framework AppKit -framework CoreData -framework Foundation -framework AVFoundation -framework CoreVideo -framework CoreMedia -w") IF (APPLE) add_executable(vircam ${OBJC_SRC}) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello
It seems that the code uses pybind for the python. I was wondering if it is possible to use this software directly within c++ codes? I do not know how to combine c++ codes with *.mm codes.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions