Jump to content
  • Advertisement
mahamohy

Visual tracking using webcam in unreal engine 4

Recommended Posts

Hello everybody ,i am making a game using unreal 4 i need to track the player using a camera to control the virtual objects in the game by his/her movement .. i was deciding to use kinect v1 as it is available in my college ,but i read it is not compatible with unreal ,any suggestions if using a webcam will go right ,or any other device for tracking but not cost alot?
Thanks alot.

Share this post


Link to post
Share on other sites
Advertisement
1 hour ago, mahamohy said:

i was deciding to use kinect v1 as it is available in my college ,but i read it is not compatible with unreal

No matter what you use you will have to do the tracking manually. The kenetic camera's are programmed to follow humans not objects, so you will have to do that part yourself. You are free to use any camera.

 

I used the Leap Motion camera a while back to try and create 3D objects from the feedback in Unreal 4, only managed to make it track to position of my pen.

Edited by Scouting Ninja

Share this post


Link to post
Share on other sites
3 hours ago, mahamohy said:

using a camera to control the virtual objects in the game by his/her movement

As Scouting Ninja wrote, this is something you'll be coding up yourself. You'll need to connect to the device and do the programming.

As for control, the difficulty comes from the gestures or motions you want to support in your timeframe.

You mention a webcam. Back in the late 1990s I had a school assignment to detect simple gestures with a webcam, find which direction a hand is pointing (up/down/left/right). That is enough for a few weeks of effort by a college student. 

You also mention Kinect. The Kinect SDK does quite a lot for you. The SDK is freely available and anyone with an XBox can pull theirs off and plug it in to the PC.   It creates a tree of joints that it detects --- which is occasionally incomplete or inaccurate --- and you can recognize simple gestures with it.  If you attempt more complex gestures you'll need to do more work, so start with simple things like arms raised or an arm pointing in a direction.  Again, for a college student a single up/down/left/right is probably a few weeks of effort.

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!