Skip to content

Suggestions for future GSoCs #7263

Open

Description

@StevenPuttemans

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.

Activity

  1. PkLab commented on Sep 12, 2016

    @PkLab
    Contributor

    👍 @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:

      • 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.
  2. kinchungwong commented on Sep 13, 2016

    @kinchungwong
    Contributor

    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.

  3. kinchungwong commented on Nov 12, 2016

    @kinchungwong
    Contributor

    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.

  4. StevenPuttemans commented on Nov 14, 2016

    @StevenPuttemans
    Author

    I just noticed that there is no "official" skeletonization algorithm implementations in OpenCV.

    Actually that is not true. About a month or two ago, I added the following thinning algorithm that can be used for skeletization.

  5. PkLab commented on Jan 4, 2017

    @PkLab
    Contributor

    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

  6. chrizandr commented on Jan 20, 2017

    @chrizandr
    Contributor

    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?

  7. PkLab commented on Jan 20, 2017

    @PkLab
    Contributor

    My idea is

    I think that a comfortable way to use OpenCV with GUI from C#, VB, Delphi,...should exists.

    It could be a tutorial, or interface, or module to offer

    any easy/standard way (pipe, shared mem, memfile, socket,...) to exchange information such as params or images with user GUI.

    I mean... between OpenCV + vision user code (C++) and user application GUI (maybe C#, Delphi, ...)

  8. chrizandr commented on Jan 31, 2017

    @chrizandr
    Contributor

    @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?

  9. PkLab commented on Jan 31, 2017

    @PkLab
    Contributor

    @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.

  10. chrizandr commented on Feb 6, 2017

    @chrizandr
    Contributor

    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.

  11. StevenPuttemans commented on Feb 6, 2017

    @StevenPuttemans
    Author

    I feel that using WPF would constrict the user base to only people who use Windows

    I feel your pain, I suggest to use a universal framework also!

  12. PkLab commented on Feb 6, 2017

    @PkLab
    Contributor

    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...

  13. chrizandr commented on Feb 6, 2017

    @chrizandr
    Contributor

    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?

  14. 16 remaining items

  15. StevenPuttemans commented on Aug 14, 2017

    @StevenPuttemans
    Author

    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.

  16. sturkmen72 commented on Aug 14, 2017

    @sturkmen72
    Contributor

    If they do not select documentation as topic, then we should respect that

    We ( OpenCV community ) should think of ways to convince them :)

  17. StevenPuttemans commented on Aug 14, 2017

    @StevenPuttemans
    Author

    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

  18. PkLab commented on Aug 14, 2017

    @PkLab
    Contributor

    I agree

    project for adding to their curriculum

    ...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,

  19. IAmUnbounded commented on Aug 29, 2017

    @IAmUnbounded

    @sakshamgupta006 I would also like to work on SLAM. Hope we can get in touch to bring SLAM to OpenCV.

  20. sakshamgupta006 commented on Sep 7, 2017

    @sakshamgupta006

    @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?

  21. IAmUnbounded commented on Sep 9, 2017

    @IAmUnbounded

    @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?

  22. StevenPuttemans commented on Sep 9, 2017

    @StevenPuttemans
    Author

    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?

  23. sakshamgupta006 commented on Sep 9, 2017

    @sakshamgupta006

    @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?

  24. catree commented on Dec 19, 2017

    @catree
    Contributor

    @HagegeR Maybe a Python sample like this can be used to mimic the Matlab showExtrinsics function?

  25. terfendail commented on Jan 22, 2018

    @terfendail
    Contributor

    There is a request for fingertips detection

  26. IAmUnbounded commented on Jan 22, 2018

    @IAmUnbounded

    @terfendail I would be happy to build the requested module. How can we take this forward ?

  27. terfendail commented on Jan 22, 2018

    @terfendail
    Contributor

    @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

  28. kallaballa commented on Apr 15, 2023

    @kallaballa
    Contributor

    Since GUI often is a topic in this issue check this out: #22923
    A new approach to GUI and (high performance) visualization: docs

  29. sturkmen72 commented on Mar 8, 2025

    @sturkmen72
    Contributor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions