Skip to content

dromer/PriMol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 

Repository files navigation

This project focuses on controlling the Pymol UI using kinect gestures.

Software Used

  • libfreenect (library for accessing the Microsoft Kinect USB camera)
  • OpenNI (Natural Interface library that interprets the kinect data)
  • PyOpenNI (python bindings for OpenNI)
  • Pymol (molecular viewer with python scripting)

Make sure to use the unstable branch of OpenNI.

Usage

Make sure your kinect is working. Try running freenect-glview to see if the kinect can fully see you.

Start pymol, load a molecule of your choosing and set the view as you like.

Run the script inside pymol ( '''pymol> run primol.py''' ) and calibrate with the 'Psi' position. Which looks something like this:

 | O |
  \|/  
   |  
  / \  
  | |  

When the calibration is done you can turn the molecule along the z and y axis by moving your hands.

Moving your hands apart will zoom the molecule.

More Info

http://wiki.techinc.nl/index.php/PriMol

About

Controlling Pymol with Hand Gestures

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages