the-machine-project / the-machine Goto Github PK
View Code? Open in Web Editor NEWWelcome to the machine...
Home Page: http://www.themachineproject.org
Welcome to the machine...
Home Page: http://www.themachineproject.org
Hi. Today I connected a second camera to my computer. Everything works well, except than that camera is unable to recognize my face. So I tried a retrain (changing permissions), so I trained my face in Camera 2. And it works. But now my face is not getting recognized in Camera 1. (Build from GitHub) Tried to modify source code but nothing. Help please!
In Maven projects, resources should be placed in "src/main/resources/". So you can produce your app with one fat jar file. This gives to user more flexibility: The app becomes portable, and easily shareable. And also, denies user's access to resources.
It is not big issue but it is best practice.
I'm working on this. I can't give an estimate for when at this time, but it should be done 'soon'.
The wiki is now out-of-date due to the sudden influx of new project members and the shifting of our aims. I'll update it over the next couple of days.
Setting as Day 1 milestone as we ought to have a solid aim set out before the next big release.
I aim to fix this as soon as I have been provided with rough plans from other group members.
@kodbilenadam and @devloop0 to plan project layout and discuss via group chat.
Note: I'm developing a local machine based on this one. In mine I developed a Question UI.
Basically, it analyzes for keywords (e.g. "Show me the profile of Reese, John" - keywords are PROFILE, OF and the next word(s) (Reese, John).
Maybe I can do a pull request.
And please, use Futura as the interface font, and make rectangles like the one @ the-machine-project/the-machine-project in Surveillance Test.
How about using Eigenfaces for face recognition?
Currently, the library we are using is CMU Sphinx: http://cmusphinx.sourceforge.net/
The problem is the unlimited vocabulary recognition is extremely difficult locally. Even Google sends speech to their servers for more accurate speech recognition.
http://9to5google.com/2016/03/11/google-accurate-offline-voice-recognition/
The good news is that it is probably possible to get highly accurate speech recognition locally, the bad news is that it will take significant processing power and memory. If we choose to use our own speech recognition system, then we may have to stop using CMU Sphinx or modify their code.
As the release of the first build approaches, there are some kinks to be worked out. Of course the source code will lie here on Github, but there is the issue of executable size. Currently, the application relies on Emgu CV and might rely on NAudio too (as of now, it is bundled, but is not used, but its contribution to the executable size is minor). Currently, the executable size is around 800 MBs with all of the dll dependencies. Compressed with 7z, that goes down to 120 MB.
There are a few options on how to go about this:
1) We can bundle the executable in the source repository compressed with 7z. However, the downside would be that it would significantly increase the "git clone" download size and bundles the source and the executable together.
2) We can create a separate repository for all of the executables, but this raises the other problem that executables are generally not on Git.
3) A hosting site (Mega)? This would probably be the best would require more work. Maybe a Github.io site could be used as well.
Of course, these are my opinions on how we should proceed. If there are any other options or opinions, I would love to hear them. Any help is greatly appreciated. The good news is that this should be the extent of the executable size until speech processing is added.
TL;DR Help with executable size.
Most other github repositories leave their github.io websites in a different repo. I feel that anything not directly related to the machine development should be in a different repository. If it's okay with everyone, I can move it to a different repository.
Hi,
I was looking through the code and I felt that the cross platform aspects of the app weren't being addressed.
I was wondering why something like http://electron.atom.io/ wasn't considered. Especially when a lot of awesome apps are being built using it see Slack and Popcorn-Time.
It tells me that I need an android sdk in order to run it. Where is it? I cannot find it
How do i compile the machine manually?
What should i do for them? There will be lots of videos on the main screen. What should I use to show them in one page without lagging?
For our next build, it should take advantage of the official build mechanism to serve the executable from Github itself.
Hi there,
I just wanted to let you know that the x64 link seems to be down.
Was it intentional ?
Thanks in advance.
I submitted an issue earlier about the developer version having an error because the openCv file does not exist. I am not an expert at Github, how can push changes to a branch to show a fix that might work?
Facial detection is almost done and will be coming in the first commit for the windows app.
A script which updates a json file with the current number of days the system has been running. I should have this done by sometime later today hopefully.
Currently, our machine supports Windows (only platform I could test on as of now), but porting everything to Linux and Mac should be easy. I would definitely appreciate some community support on this. Basically, the only platform-dependent line of code is in MainPage.java with the System.loadLibrary.
When starting up the machine i get 8 Errors and i dont know how to fix them. The Error message is as follows.
Information:Using javac 1.8.0_91 to compile java sources
Information:java: Errors occurred while compiling module 'machine'
Information:6/15/2016 5:28 PM - Compilation completed with 8 errors and 1 warning in 2s 19ms
C:\Users\Richard\Desktop\the-machine-master (1)\the-machine-master\src\main\java\org\themachineproject\machine\MicrophoneHandler.java
Error:Error:line (3)java: package edu.cmu.sphinx.api does not exist
Error:Error:line (4)java: package edu.cmu.sphinx.api does not exist
Error:Error:line (5)java: package edu.cmu.sphinx.api does not exist
Error:Error:line (24)java: cannot find symbol
symbol: class LiveSpeechRecognizer
location: class org.themachineproject.machine.MicrophoneHandler
Error:Error:line (43)java: cannot find symbol
symbol: class Configuration
location: class org.themachineproject.machine.MicrophoneHandler
Error:Error:line (43)java: cannot find symbol
symbol: class Configuration
location: class org.themachineproject.machine.MicrophoneHandler
Error:Error:line (48)java: cannot find symbol
symbol: class LiveSpeechRecognizer
location: class org.themachineproject.machine.MicrophoneHandler
Error:Error:line (62)java: cannot find symbol
symbol: class SpeechResult
location: class org.themachineproject.machine.MicrophoneHandler
C:\Users\Richard\Desktop\the-machine-master (1)\the-machine-master\src\main\java\org\themachineproject\machine\FacialRecognition.java
Warning:Warning:line (132)java: getIntBuffer() in org.bytedeco.javacpp.helper.opencv_core.AbstractArray has been deprecated
Alright, soooooo..... One of main things that I was expecting to see when I've found this project is a GUI matching the one in the show. Machine 1.0 sort of accomplished this (aside from camera being in a separate window). Machine 2.0 is (no offense to creators, great job anyway) a joke in this aspect. So after thinking about this for quite some time I came up with a list of ideas/suggestions how to make the GUI more matching to the real (well, original) one. Sadly my java skills are very low (I'm a web dev, work with PHP, HTML, CSS, JS) thus I cannot attempt to implement my ideas myself.
What do I mean by "Main screen":
This is a "replica" of what we see most of time in the show (not the full screen camera feed). Examples:
(without the "contextualizing" text)
This is a rough draft of my ideas which I'm putting here up for a discussion. I know some people might disagree, some might say that they are too hard to code or something similar. I'm just interested to see if there are other people out there who share my opinion.
Also if this is accepted this is probably gonna be another long-term issue as such gigantic redesign will obviously take time. Maybe use another branch for it?
If we want to make our machine just like the one in the show, one of important things should be adding the ability to accept multiple audio and video inputs. An idea on how to display them to user I've mentioned in #35. These inputs can be
I know this raises issues with hardware requirements thus this has to be optionally (obviously) for those who have a good enough rig to provide such processing power. A solution for this can be an option to disable facial recognition for certain inputs (eg, If I have an IP cam watching my backyard where it won't ever recognize a single face)
Screenshots of both Samaritan and the Machine's UI when they are looking at people as well as when Samaritan takes input from people would be helpful.
This will probably be a long open-issue, the plan is to add a bunch of AI features to the Machine and allow the user to choose when to apply them. If the machine can automatically do this, then that would be great as well.
The title says it all. It is impossible to open the terminal. Tried clicking around, smashing keyboard and no results. Running last code version downloaded from github (that is e971c2b), compiled manually
I was able to correct the code on my computer, but was wondering if there was a general fix for the people playing with the code.
The system load requires uses the user directory to load the opencv_java***.dll file, however, the code looks for the file in the directory the project is in, not the C: file like the tutorial said. Is there a way to automatically fix this for people playing with the code or should we just deal with it?
Also, is there a way to generalize the open_java***.java to allow any version?
Since our next milestone is day zero, and everything in the testing branch is geared towards the day zero software, I'm wondering whether or not we should change the name of the testing branch to day-zero. I'm simply asking because the desktop application is nearing completion of that milestone and I would like to start working on heavy UI improvements towards day one (another branch). Suggestions are welcome...
I tried to download this program but have been having some issues. I've downloaded both the x86 and x64 versions. I am on Windows x64 but that version doesn't open at all. I've tried the x86 version but I get to the point where it asks my name then just goes black and nothing happens. I've updated my java as well. I am on Windows 10
edit: After closing and opening it a few times I eventually saw my face. It said training and once it got to 200 it froze and I had to force close it.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.