Ten  
                
                  
                    May 27, 2019,  9:26am
                   
                  1 
               
             
            
              Hi everyone i’m new in processing so i don’t know how to fix this problem. At the moment im working on a project which take a photo via webcam. The trigger for the photo is the detection of a smiling person. I tried to work with this “psmile.psmile” library, but i can’t start the sketch. Whenever i try i get the error:
             
            
              
            
           
          
            
            
              Were you able to resolve this issue?
Where did you get the PSmile library, and how did you install it? What specific version of Processing are you using it with?
             
            
              
            
           
          
            
              
                Ten  
              
                  
                    June 4, 2019, 11:56pm
                   
                  3 
               
             
            
              I couldn’t resolve this problem and I got the library here: http://www.magicandlove.com/blog/research/smile-detection-library-for-processing/ .
             
            
              
            
           
          
            
            
              Well, if that is PSmile 1.1.0, then it looks like it was compiled for Processing 2.0b3.
  
  
    
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>PSmile</title>
<meta name="description" content="a library for the programming environment processing" />
<meta name="keywords" content="processing.org, library" />
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Language" content="en-us" />
<meta name="ROBOTS" content="index,follow,archive" />
<meta http-equiv="imagetoolbar" content="false" />
<meta name="MSSmartTagsPreventParsing" content="true" />
<meta name="author" content="##author##" />
<meta name="Rating" content="General" />
<meta name="revisit-after" content="7 Days" />
<meta name="doc-class" content="Living Document" />
<link rel="stylesheet" type="text/css" href="./stylesheet.css">
</head>
<body>
	<div id="container">
show original 
   
  
    
    
  
  
 
You could try building the library yourself on your platform from source:
You will probably (?) need to update it to get it working with Processing 3.
  
  
    
/**
 * Smile detection library for Processing 2.0.
 *
 * ##copyright##
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 * 
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 * 
 * You should have received a copy of the GNU Lesser General
 * Public License along with this library; if not, write to the
 * Free Software Foundation, Inc., 59 Temple Place, Suite 330,
 * Boston, MA  02111-1307  USA
 * 
show original 
   
  
    
    
  
  
 
             
            
              
            
           
          
            
              
                solub  
              
                  
                    June 5, 2019,  8:00am
                   
                  5 
               
             
            
              Hi @Ten ,
Another solution could be to train  your camera to detect a smile.That  thread  could probably be of interest  to you.