You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just want to point out that it might be interesting to get the opinion of the community into new subjects for GSoC 2017 and collect them somewhere central. We could use this issue for a growing list of suggestions.
Let me start by adding one
Fixing the terribly broken down video backend (both writer and reader). There is simply no guarantee that stuff works on different systems for now, codecs are poorly supported and the huge amount of issues on the Q&A clearly show we need some fixing in this part of the library.
Another common question on the Q&A is about GUI. In addiction most of Windows user is moving to From Win32 MFC to .NET/WPF or Managed code. More in general the HighGui module is just to play and some wrapper is always needed to get a minimal usable interface, even if Qt, wxWin,...
Sure GUI is not the core task for OpenCV but GUI is terribly useful or needed. In addiction I think that a comfortable way to use OpenCV with GUI from C#, VB, Delphi,...should exists.
A crude idea on the fly: instead to open OpenCV to others, encapsulate it and user calling code code into any standard process provided with common interface.
Thinking at user application = (opencv + user vision code) + user GUI code , we could have:
a context (interface, .a/.dll ,...) where user can encapsulate his/her pure C++ code that calls/uses OpenCV
any easy/standard way (pipe, shared mem, memfile, socket,...) to exchange informations as params or images with user GUI.
To second @PkLab, I have used multiple processes and shared memory to workaround webcam video issues. I start up one child process which grabs frame from webcam, copy that into shared memory, and use Win32 event to communicate to the parent process that a frame is ready for processing.
With some modest logic, it should be able to implement double buffering, page flipping, and swap chain, etc.
However, I doubt that beginning users will be able to implement or use such mechanisms on their own. There is a minimum level of required knowledge just to use it. In order to make a dedicated helper process, there needs to be a separate executable file (exe) which needs to be bundled with OpenCV and/or the executable that the OpenCV user is developing. This may be too complicated or not acceptable to some users though.
Finally, whenever using blocking synchronization, remember to implement it in a way that abandonment (e.g. the helper process was killed by user or crashed on its own) results in an exception thrown at the waiter, so that it will not become a zombie thread.
It is possible to make a step-by-step tutorial to implement such a webcam grabber helper process.
I just noticed that there is no "official" skeletonization algorithm implementations in OpenCV. There are many competing mathematical definitions for skeletonization, therefore it may be useful if a cv::Algorithm approach can be adopted for all skeletonization algorithms.
About GUI
Sure needed model behind a proper GUI usage with OpenCV is complex and vary as is the IPC subject. From (local)sockets, shared mem, mapped files is not easy to define a standard way. In addiction client platform/language, performance, priority and/or real-time needs, application architecture would require different choices.
Last but not least, technologies change and interfaces should kept up to date. This would require additional effort that is out of scope for OpenCV. Some dedicated library might be a way. For example YAMI4 or ZeroQM look interesting for features and performance even if oversized to the scope.
A simpler approach could be to prepare different tutorials e.g how to show video from OpenCV using .NET, ...using Delphi, ...using...
Just looking for some clarification here. When you talk about GUI, does you mean the highgui module that is used for displaying images, videos, etc? Or does you mean a new user interface for users to play around, such as that in Matlab, where a lot of the tasks are done through the GUI?
@PkLab : Would it be better to use maybe Qt with C++? As far as I know C# and VB use mainly WPF for GUI and there is little support for that in linux or other operating systems.
Would it be possible for me to also get some guidance as to how I must approach this problem and maybe start working on it as soon as possible?
What about python + tkinter? Most of the opencv functionality has python wrappers around them.
It shouldn't be a problem to create a good GUI without compromising on functionality right?
Correct me if I'm mistaken, I feel that using WPF would constrict the user base to only people who use Windows.
I'm thinking to something different. Computer vision code would be completely separated from the GUI by the way of a well defined communication interface.
In other words I'm talking about the interface: "vision core" from/to any graphical framework or languages.
Maybe the "vision core" (cpp) and GUI (others lang) should runs different processes, (and why not on different machines e.g. like plc vs supervisor).
The interface should transmit/receive data like structs and images.
Some tutorial should explain hot to use it with common frameworks like WPF, Gtk, WxWin...
I see. Do you have something else that you want this interface to do? Exchanging information would be good, but handling/invoking processes would still largely be dependent on the GUI right?
I think he made a great contribution to documentation. why not we expect every year such a good contribitions
Agreed but then again, the framework backend for multi language tutorials will help us more in the long run. And keep in mind that GSoC has only limited slots, so we need to get the best students in first. If they do not select documentation as topic, then we should respect that. Thats how the spirit of open-source works.
Ah well, many of those students focus on GSoC as some sort of project for adding to their curriculum. Then stating you actually contributed functionality, instead of telling, I made code samples and documentation, is prolly a bit better :D
...so the match are tutorials. We might organize a list of tutorials&mentor to be done. Maybe students can easily select them.
Some of this tutorial can be basic or really advanced opencv how to, or any implementation form papers, or any solution to a real machine/computer vision issue,
@sukhad-app I would be delighted to work together on SLAM module, but to kick-start our work we first need to lock down some requirements from OpenCV's side or we can decide those amongst ourselves and initiate the work. What do u suggest?
@sakshamgupta006 , I think we can add the functionality to the SFM module OpenCV. I think we should first work on monocular SLAM and try implementing ORB SLAM.
I would like to know what you and OpenCV developers think about it. I would also like to know what dependencies can we use for the development of the project, as it would require libraries like G2o, PBA etc. @StevenPuttemans , @garybradski what do you suggest?
@sukhad-app I think we should ask @edgarriba for some advice on SLAM as he implemented the SFM and Scene reconstruction modules. @edgarriba can you please help us with some issue's related to SLAM?
@sukhad-app You could create pull request to opencv_contrib with your implementation. This PR could initially contain small piece of the code you going to implement(e.g. detector class interface and/or partial implementation of functionality or particular algorithm implemented as a standalone app) that could be iteratively improved later. Please note that if you're going to participate in GSoC you have to perform some formal actions requested by GSoC Program Rules (participating in GSoC isn't necessary to contribute, but since this thread related to GSoC I think it would be right to mention GSoC rules here)
It would be great if final version of PR will contain well documented implementation of detection algorithm(or algorithms), some tests that ensure correctness of the implementation and a sample application that shows basic usage scheme. You could refer to already implemented Face Landmark detector
i think working on the documentation is always a good idea for GSOC
Modernizing Content: Updating outdated tutorials, improving explanations, and enhancing navigation. Unifying Tutorials: Merging OpenCV (C++), OpenCV-Python, and OpenCV.js tutorials into a single structured section. Multi-Language Support: Providing equivalent code examples in C++, Python, and JavaScript where applicable. AI-Assisted Review: Reviewing all tutorials with ChatGPT’s assistance to improve clarity, consistency, and completeness.
Activity
PkLab commentedon Sep 12, 2016
👍 @StevenPuttemans (did you see the new doc ?)
Another common question on the Q&A is about GUI. In addiction most of Windows user is moving to From Win32 MFC to .NET/WPF or Managed code. More in general the HighGui module is just to play and some wrapper is always needed to get a minimal usable interface, even if Qt, wxWin,...
Sure GUI is not the core task for OpenCV but GUI is terribly useful or needed. In addiction I think that a comfortable way to use OpenCV with GUI from C#, VB, Delphi,...should exists.
A crude idea on the fly: instead to open OpenCV to others, encapsulate it and user calling code code into any standard process provided with common interface.
Thinking at
user application = (opencv + user vision code) + user GUI code, we could have:kinchungwong commentedon Sep 13, 2016
To second @PkLab, I have used multiple processes and shared memory to workaround webcam video issues. I start up one child process which grabs frame from webcam, copy that into shared memory, and use Win32 event to communicate to the parent process that a frame is ready for processing.
With some modest logic, it should be able to implement double buffering, page flipping, and swap chain, etc.
However, I doubt that beginning users will be able to implement or use such mechanisms on their own. There is a minimum level of required knowledge just to use it. In order to make a dedicated helper process, there needs to be a separate executable file (exe) which needs to be bundled with OpenCV and/or the executable that the OpenCV user is developing. This may be too complicated or not acceptable to some users though.
Finally, whenever using blocking synchronization, remember to implement it in a way that abandonment (e.g. the helper process was killed by user or crashed on its own) results in an exception thrown at the waiter, so that it will not become a zombie thread.
It is possible to make a step-by-step tutorial to implement such a webcam grabber helper process.
kinchungwong commentedon Nov 12, 2016
I just noticed that there is no "official" skeletonization algorithm implementations in OpenCV. There are many competing mathematical definitions for skeletonization, therefore it may be useful if a
cv::Algorithmapproach can be adopted for all skeletonization algorithms.StevenPuttemans commentedon Nov 14, 2016
Actually that is not true. About a month or two ago, I added the following thinning algorithm that can be used for skeletization.
PkLab commentedon Jan 4, 2017
About GUI
Sure needed model behind a proper GUI usage with OpenCV is complex and vary as is the IPC subject. From (local)sockets, shared mem, mapped files is not easy to define a standard way. In addiction client platform/language, performance, priority and/or real-time needs, application architecture would require different choices.
Last but not least, technologies change and interfaces should kept up to date. This would require additional effort that is out of scope for OpenCV. Some dedicated library might be a way. For example YAMI4 or ZeroQM look interesting for features and performance even if oversized to the scope.
A simpler approach could be to prepare different tutorials e.g how to show video from OpenCV using .NET, ...using Delphi, ...using...
at the end I quote @mshabunin RFC label
chrizandr commentedon Jan 20, 2017
Just looking for some clarification here. When you talk about GUI, does you mean the highgui module that is used for displaying images, videos, etc? Or does you mean a new user interface for users to play around, such as that in Matlab, where a lot of the tasks are done through the GUI?
PkLab commentedon Jan 20, 2017
My idea is
It could be a tutorial, or interface, or module to offer
I mean... between OpenCV + vision user code (C++) and user application GUI (maybe C#, Delphi, ...)
chrizandr commentedon Jan 31, 2017
@PkLab : Would it be better to use maybe Qt with C++? As far as I know C# and VB use mainly WPF for GUI and there is little support for that in linux or other operating systems.
Would it be possible for me to also get some guidance as to how I must approach this problem and maybe start working on it as soon as possible?
PkLab commentedon Jan 31, 2017
@chrizandr It would be better but C# and WPF are widely used and it would be nice to have a short way to use OpenCV with them.
chrizandr commentedon Feb 6, 2017
What about python + tkinter? Most of the opencv functionality has python wrappers around them.
It shouldn't be a problem to create a good GUI without compromising on functionality right?
Correct me if I'm mistaken, I feel that using WPF would constrict the user base to only people who use Windows.
StevenPuttemans commentedon Feb 6, 2017
I feel your pain, I suggest to use a universal framework also!
PkLab commentedon Feb 6, 2017
I'm thinking to something different. Computer vision code would be completely separated from the GUI by the way of a well defined communication interface.
In other words I'm talking about the interface: "vision core" from/to any graphical framework or languages.
Maybe the "vision core" (cpp) and GUI (others lang) should runs different processes, (and why not on different machines e.g. like plc vs supervisor).
The interface should transmit/receive data like structs and images.
Some tutorial should explain hot to use it with common frameworks like WPF, Gtk, WxWin...
chrizandr commentedon Feb 6, 2017
I see. Do you have something else that you want this interface to do? Exchanging information would be good, but handling/invoking processes would still largely be dependent on the GUI right?
16 remaining items
StevenPuttemans commentedon Aug 14, 2017
Agreed but then again, the framework backend for multi language tutorials will help us more in the long run. And keep in mind that GSoC has only limited slots, so we need to get the best students in first. If they do not select documentation as topic, then we should respect that. Thats how the spirit of open-source works.
sturkmen72 commentedon Aug 14, 2017
We ( OpenCV community ) should think of ways to convince them :)
StevenPuttemans commentedon Aug 14, 2017
Ah well, many of those students focus on GSoC as some sort of project for adding to their curriculum. Then stating you actually contributed functionality, instead of telling, I made code samples and documentation, is prolly a bit better :D
PkLab commentedon Aug 14, 2017
I agree
...so the match are tutorials. We might organize a list of tutorials&mentor to be done. Maybe students can easily select them.
Some of this tutorial can be basic or really advanced opencv how to, or any implementation form papers, or any solution to a real machine/computer vision issue,
IAmUnbounded commentedon Aug 29, 2017
@sakshamgupta006 I would also like to work on SLAM. Hope we can get in touch to bring SLAM to OpenCV.
sakshamgupta006 commentedon Sep 7, 2017
@sukhad-app I would be delighted to work together on SLAM module, but to kick-start our work we first need to lock down some requirements from OpenCV's side or we can decide those amongst ourselves and initiate the work. What do u suggest?
IAmUnbounded commentedon Sep 9, 2017
@sakshamgupta006 , I think we can add the functionality to the SFM module OpenCV. I think we should first work on monocular SLAM and try implementing ORB SLAM.
I would like to know what you and OpenCV developers think about it. I would also like to know what dependencies can we use for the development of the project, as it would require libraries like G2o, PBA etc. @StevenPuttemans , @garybradski what do you suggest?
StevenPuttemans commentedon Sep 9, 2017
I am not the one who can decide on depencies and way to move forward.
Maybe @mshabunin @vpisarev or @alalek can tell us what OpenCV would prefer as SLAM implementation?
sakshamgupta006 commentedon Sep 9, 2017
@sukhad-app I think we should ask @edgarriba for some advice on SLAM as he implemented the SFM and Scene reconstruction modules.
@edgarriba can you please help us with some issue's related to SLAM?
catree commentedon Dec 19, 2017
@HagegeR Maybe a Python sample like this can be used to mimic the Matlab
showExtrinsicsfunction?terfendail commentedon Jan 22, 2018
There is a request for fingertips detection
IAmUnbounded commentedon Jan 22, 2018
@terfendail I would be happy to build the requested module. How can we take this forward ?
terfendail commentedon Jan 22, 2018
@sukhad-app You could create pull request to opencv_contrib with your implementation. This PR could initially contain small piece of the code you going to implement(e.g. detector class interface and/or partial implementation of functionality or particular algorithm implemented as a standalone app) that could be iteratively improved later.
Please note that if you're going to participate in GSoC you have to perform some formal actions requested by GSoC Program Rules (participating in GSoC isn't necessary to contribute, but since this thread related to GSoC I think it would be right to mention GSoC rules here)
It would be great if final version of PR will contain well documented implementation of detection algorithm(or algorithms), some tests that ensure correctness of the implementation and a sample application that shows basic usage scheme. You could refer to already implemented Face Landmark detector
kallaballa commentedon Apr 15, 2023
Since GUI often is a topic in this issue check this out: #22923
A new approach to GUI and (high performance) visualization: docs
sturkmen72 commentedon Mar 8, 2025
i think working on the documentation is always a good idea for GSOC
Modernizing Content: Updating outdated tutorials, improving explanations, and enhancing navigation.
Unifying Tutorials: Merging OpenCV (C++), OpenCV-Python, and OpenCV.js tutorials into a single structured section.
Multi-Language Support: Providing equivalent code examples in C++, Python, and JavaScript where applicable.
AI-Assisted Review: Reviewing all tutorials with ChatGPT’s assistance to improve clarity, consistency, and completeness.