GithubHelp home page GithubHelp logo

semaine / semaine-3.1 Goto Github PK

View Code? Open in Web Editor NEW
12.0 11.0 7.0 339.79 MB

SEMAINE code 3.1, final version created during the EU FP7 project lifetime

Objective-C 0.22% Java 9.98% Shell 0.76% C++ 71.74% C 17.28% Perl 0.04%

semaine-3.1's Introduction

The latest documentation on building, installing and running 
the SEMAINE-3.1 system can be found at 
http://semaine.opendfki.de/wiki/SEMAINE-3.1. We will soon move this content to the new GitHub space.

The GitHub project location is https://github.com/organizations/SEMAINE/

Quickstart guide for Windows:
1. If you have a camera and a fast PC, install the SEMAINE video components from http://ibug.doc.ic.ac.uk/resources
2a. To run the full system on one machine (you should have 8 or more cores  @ >2GHz), just run "start.bat"
2b. To run a speech2speech (no 3D agent, and no video input analysis) system, run bin/semaine-speech2speech.bat  and after a few seconds start Opensmile/start_openSMILE.bat
3. Wait for the system monitor GUI to display the status "ready", then say Hi.


semaine-3.1's People

Contributors

mauman avatar psibre avatar mvalstar avatar andrychowanda avatar

Stargazers

Aaron Keesing avatar liangym avatar jeffhuang avatar  avatar twisted avatar Pawel Cyrta avatar Danilo De Sousa Barbosa avatar Doru Cioclea avatar  avatar  avatar Sathish Pammi avatar  avatar

Watchers

James Cloos avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar twisted avatar Danilo De Sousa Barbosa avatar  avatar

semaine-3.1's Issues

Java errors in Eclipse 4.2

It seems that the SEMAINE Java components make use of autoboxing in a way that Eclipse 4.2 Juno considers Errors:

Description Resource    Path    Location    Type
The method error(Object[]) is ambiguous for the type JMSLogger  Component.java  /SEMAINE-Java/src/eu/semaine/components line 261    Java Problem
The method debug(Object[]) is ambiguous for the type JMSLogger  QueuingAudioPlayer.java /SEMAINE-Java/src/eu/semaine/components/mary    line 242    Java Problem
The method info(Object[]) is ambiguous for the type JMSLogger   Component.java  /SEMAINE-Java/src/eu/semaine/components line 206    Java Problem
The method debug(Object[]) is ambiguous for the type JMSLogger  QueuingAudioPlayer.java /SEMAINE-Java/src/eu/semaine/components/mary    line 207    Java Problem
The method info(Object[]) is ambiguous for the type JMSLogger   Component.java  /SEMAINE-Java/src/eu/semaine/components line 198    Java Problem
The method debug(Object[]) is ambiguous for the type JMSLogger  QueuingAudioPlayer.java /SEMAINE-Java/src/eu/semaine/components/mary    line 216    Java Problem
The method warn(Object[]) is ambiguous for the type JMSLogger   QueuingAudioPlayer.java /SEMAINE-Java/src/eu/semaine/components/mary    line 93 Java Problem
The method error(Object[]) is ambiguous for the type JMSLogger  QueuingAudioPlayer.java /SEMAINE-Java/src/eu/semaine/components/mary    line 130    Java Problem
The method debug(Object[]) is ambiguous for the type JMSLogger  Component.java  /SEMAINE-Java/src/eu/semaine/components line 255    Java Problem
The method error(Object[]) is ambiguous for the type JMSLogger  Component.java  /SEMAINE-Java/src/eu/semaine/components line 254    Java Problem
The method error(Object[]) is ambiguous for the type JMSLogger  Component.java  /SEMAINE-Java/src/eu/semaine/components line 223    Java Problem
The method error(Object[]) is ambiguous for the type JMSLogger  Component.java  /SEMAINE-Java/src/eu/semaine/components line 218    Java Problem

See https://bugs.eclipse.org/bugs/show_bug.cgi?id=383780

CMSLogger and IOBase

Both of these classes open ActiveMQ connections to local host only. We should provide the possibility to connect to remote hosts.

Issues with components instantiation and deletion in C++

I would like to instantiate and delete SEMAINE components. However I get memory problems every time I try to do it.

For example, consider the following code:

void main()
{
//initialize activemq and xmltool
activemq::library::ActiveMQCPP::initializeLibrary();
XMLTool::startupXMLTools();

// instantiate one component
component=new MyComponent();

//push the component into a list
componentsList.push_back(component);

//instantiate the component runner and start it
cr=new semaine::system::ComponentRunner(componentsList);
cr->go();

//do whatever here

//delete the component runner (the destructor also deletes the components in the list)
delete cr;

//shut down activemq and xmltool
XMLTool::shutdownXMLTools();
activemq::library::ActiveMQCPP::shutdownLibrary();

}

If I run the above code I get an error in apr, usually in the apr_pools.c file, in the following function:

APR_DECLARE(char *) apr_pvsprintf(apr_pool_t *pool, const char *fmt, va_list ap)
{
struct psprintf_data ps;
char *strp;
apr_size_t size;
apr_memnode_t *active, *node;
apr_size_t free_index;

ps.node = active = pool->active; /// <<--------------------

It seems to me that there are some threads that are not correctly closed before shutting down activemq, so they continue running after the component is deleted.

If I repeat the test but instead of the Semaine component I instantiate activemq objects I get no errors, like in the following:

void main()
{
HelloWorldProducer producer( brokerURI, numMessages, true );
Thread producerThread( &producer );
producerThread.start();
producerThread.join();
producer.close();
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.