Qt Camera Example - changing settings does not work - c++

I have built and run the Camera Example project from the examples in Qt (QtCreator -> examples).
All went correctly.
I can run the program and display video stream from my laptops camera (Lenovo X220) and from my android phone (using DroidCam Client in the background).
The example has many options, that you can change.
I can use the sliders to adjust Exposure Compensation or Quality. But they do not appear to work.
Nothing except form image capture does not appear to work. The same goes for the QML example.
Has anyone tried those examples?
Is there a way to make the functions provided by the example work?
Is there another way to make those changes?
I am using Window 10 with the latest updates, but I have tried the example a couple moths ago, and the results were the same.

Related

How do you open a windows application as a source for OpenCV?

I would like to recognize objects of windows applications, mainly computer games. I would like to accomplish this by opening the window in OpenCV and applying all kinds of effects to the game application under execution and recognize objects such as UI elements, messages and even characters that are on the screen.
Since OpenCV only allows video and webcam as input, is there a way to open a running application as a source for OpenCV?
There maybe some testing applications used in game development that use similar methods for testing, but I couldn't find any.
I also don't know the right terms that that are used when discussing the recognition of virtual objects of a computer program or computer game, but that is exactly what I would like to do.
I tried to look up forums, articles or anything written about this, but found nothing. Any help would be appreciated.
I used OpenCV for a year and I am not sure if you can pass the running application to it.
As an alternative, you might like to have a function which gives you the current screenshot of the desktop. So you can get it and pass to OpenCV.
This way you can periodically do screenshots and use your recognition.
If you are working under Windows you might need this discussion.
Hope this will somehow help you.
I've been trying all method using desktop as source in opencv few months ago as my experiment project and i success, but there's a trail inside the windows, as maybe the speed or processor depends on it. It using your own function to use desktop as source not from opencv libraries. And from there i continued custom things and got stuck in some bug that has something from memory, as it use lots of memory. I did post on stackoverflow. Hope this information helps.

Switching between ad networks in cocos2d v3.0 and spritebuilder

as the title would suggest i'm trying to make a system that automatically will prioritize my ad networks and display the next in line when one fails to load. I currently have iAd implemented and working following this example: How to add iad in cocos2d? and I plan on using the example provided by the same person, Guru, to implement AdMob. Example found here: AdMob with Cocos2d v3. Now preferably I would like to just add on/change the working code as it is very well built and organized. Along with prioritizing iAd followed by AdMob, I would like to also have revmob as well. I was thinking of just doing revmob as the fullscreen ad when launched, but I would still like to know how I would go about adding the revmob banners to the rotation just as good measure. If any of my code is needed I'll gladly post it :)

Getting d3.js to work with raphael.js

I have recently implemented some data visualisation using d3.js, I'm now trying to get this to work for Internet Explorer browser versions 7 and above. The common suggestion to get this to work, is to combine d3.js with raphael.js, which is a cross browser graphics library.
There already seem to be some implementations of such libraries such as
r2d3.js :
d34raphael.js :
I'm trying to understand if these existing implementation already have d3's capability of data binding and the physics implementation of the force layout to implement something as simple as this d3 example : http://bl.ocks.org/1095795
I have been looking into this too and a number of options came up.
Chrome Frame - A browser plug-in that actually uses chrome underneath, meaning SVG just works. This is great if you're able to deploy plugins to the browser, for a real commercial environment however this may not be possible.
SVG Web - The aim is it bring SVG to all browsers. It looks like a fairly large project, one that's had Google's input. This doesn't however work out of the box with D3 though I don't know much about the issues.
D34Raphael - You've mentioned this one, I found again it doesn't work out of the box. Check the project out on GitHub, there hasn't been any commit activity in months and there's some pull requests "first pass on trying to get support for .on() required for event binding". If it doesn't support events, is that an issue to you? I'd generally keep away from this one.
R2D3 - Again another one you mentioned. I took the Sankey example from the D3 website and had to make a few changes to get it working. The main things I couldn't get working (Drag Events, Groups - though can use an alternative). It took about a day of effort to get the example working in IE8 and I believe is in a useable state. The project on GitHub is also much more active, the developer is committing, pulling work in and is very active on discussions etc. This gets my vote.

my first Qt application, c++ (little opencv)

I am to make a little demo app to learn some Qt and c++ and if anyone know some guides that might be good for this project i am happy to hear about it.
What i wanna do:
I want to make an app where i can open a folder location of training data(images). Then i want to show the images one by one and mark ROI (rects, cirles, polygons) or bounding boxes of objects. The reason is to mark objects in pictures and then same this regions to a file for later use for image processing in matlab or similar apps.
Thanks.
Qt has lots of very good official tutorials
Try playing with example projects. You can start by changing an example projects to suite your needs.

Creating a user interface that accepts sketch input

I would like to create a simple application asks the user to draw an image they have been shown. Once the user has completed the image the program would score the drawing. Are there any existing libraries for creating interfaces that accept sketches/drawing from users? I need a sketch object (maybe as a vector graph) which can be processed.
The program should run on tablets and touch screen laptops, preferably on windows however multi-platform would be ideal. I am open to using what ever programming language is best for this project.
Currently I am looking at the SATIN library (http://dub.washington.edu:2007/projects/satin/) but it is rather old, the last change was in 2001.
Maybe you can try Pencil. It's a add-ons for firefox and you can easily draw some sketch schema (or mockup).
Download Pencil for Firefox