Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » Taking a picture with a microscope
Re: Taking a picture with a microscope [message #49618 is a reply to message #49617] Wed, 14 March 2018 20:31 Go to previous messageGo to previous message
Zbych is currently offline  Zbych
Messages: 326
Registered: July 2009
Senior Member
Did you try some existing applications like cheese? https://wiki.gnome.org/Apps/Cheese

The problem is that Upp has no hardware accelerated surface/canvas support.
Event if you get image from camera, you have to use external libraries to show it or you will be limited to very low resolutions and low frame rates.

To get image from camera you can try high level libraries like ZBar, OpenCV.
To show it you can use SDL (SDLCtrl from bazaar), OpenCV, but since DHCtrl is not supported on Gtk backend, you will have to use X11 (NOGTK mode).

Here are some links:
https://github.com/kryali/SmileTime/blob/master/SDL-capture- example.cpp
https://docs.opencv.org/3.0-beta/modules/videoio/doc/reading _and_writing_video.html

[Updated on: Wed, 14 March 2018 20:31]

Report message to a moderator

 
Read Message
Read Message
Read Message
Previous Topic: How to install on raspberry
Next Topic: Simple progress bar example
Goto Forum:
  


Current Time: Mon May 13 06:43:29 CEST 2024

Total time taken to generate the page: 0.02627 seconds