Unreal c++ AddControllerYawInput() function working - c++

Can someone explain the AddControllerYawInput() function to me, What it does and How it is supposed to move the camera. Here is the link to the function on unreal docs. It doesn't explain the function that much and i am unable to find a satisfactory explanation too.
I am actually trying to move the camera attached to a pawn that i am controlling. According to unreal HERE on this page, "AddControllerYawInput" should move my camera attached to my pawn (or i'm as usual mistaking it) but the camera doesn't move. I'm not completely noob at unreal. Anyone answering this question please first explain this function before telling me how to move that camera.(I can do this with other methods, i just want to know why the method on unreal docs isn't working and i also want to know about the function.)
Thank You.

Related

UE4 Blueprint Cast failing without reason

I am having a problem with casting in Unreal Blueprints. I am trying to cast from a widget blueprint to my game state to get the number of players remaining in a game to show on the HUD. I found out that the cast to MyGameState was failing, but I had casted to it the exact same way from multiple other blueprints with success, so I had no idea what the problem was. I was wondering if anyone could help me with this, and if so, I really appreciate it. Here is my blueprint:
Note: I know that this question has been asked before but I have not been able to find an answer that has worked for me. I would really appretiate not marking this question a duplicate unless an answer to another question actually works to solve my problem. Thank you for the help!
Create a variable for gameState object and set it in your event construct of your widget event graph , use the variable here in your shown code using if valid node .

Python OpenCv Homography

I am new to opencv and after an extensive search I have not found any detailed explanation to how one can implement a homograph. For example if I wanted to say... have a side shot of a chess board or a book and wanted to make a new image look as if the original were shot head on. I would try providing some code to show I attempted a solution but outside of knowing some of the functions I would need I am not sure how to implement them to solve my problem.
I am using python 2.7
thank you,

Image (Numbers/Letters) recognition

I'm learning C++ for half a year now (so programming in general) and this site always had the answers I was looking for. But now I came to the point where I need to ask as I couldn't find anything related to my question.
So I want to write a program that takes a screenshot of a particular area of the screen. This screenshot will ONLY contain playcards (so for example Hearth, Seven). What it should do now is return me which card it is, so the symbol and the number/letter.
I already made some researches and the most mentioned thing was the library "OpenCV".
So my question now: First is it even possible with my experience to write something like that?
If so, is this library the way to go? It seems really strong, maybe too strong for just the recognition of numbers/letters and four symbols? So could there be something easier?
And the last question, how could I get a screenshot of a particular area of the screen and not the whole screen and save it somewhere?
I hope you guys have a clue what I really want to know and it was understandable.
Greetings
Definitely use OpenCV. It is not too hard to get into, and once you do you will find it does basically everything you'd want. It makes image processing relatively straightforward and it can solve your problem in a lot of ways.
Here is a good place to start.

Global Movement Estimation of squence of images in C++

I need to find a C++ library to find the global movement estimation for a project of super resolution of medical images. But I'm not aware of any of them. Does anyone know a library that could help me do this? I've heard of OpenCV but haven't found anything, maybe I wasn't looking at the right thing.
Thank you.
This looks like a good starting point:
http://www.cvpapers.com/rr.html
although I'm surprised to not see VXL on the list:
http://vxl.sourceforge.net
Have fun!

How can i use double buffering with graphics.h

So i have never worked with double buffering before but i know that the basic idea is to draw an invisible layer for the next frame and leaving the old frame on until the new one is done and then replacing them. But how can i accomplish this?
Im rather new to the whole graphics thing and my teacher said that i need to use graphics.h for now. So im kinda stuck on it.
I dont think my code matters in this case so i wont post it.
Really all im trying to accomplish is a flickerless refresh ;D
Please give me a step by step explanation ;D
All the explanation on google were very vague only describing how it works rather than how to do it with the given commands.
Im using win10 and visual studio 2015 community.
EDIT: Im using the package from http://winbgim.codecutter.org/ .
Thanks in advance!
Yes you can. Simply use setactivepage() and setvisualpage().