Go to advanced search

by mr_indoj
Wed Jan 06, 2016 2:53 pm
Forum: Assistive technology and accessibility
Topic: Sight for the Blind for <100$
Replies: 718
Views: 182086

Re: Sight for the Blind for <100$

Sound from multiple processes is not a problem anymore it seems. I just did a test: I modified the raspivoice so that it looks for existence of an empty raspi_frame file. If that exists it reads an image from opencv.jpg, plays the soundscape and removes the rasp_frame file and then waits for it to a...
by mr_indoj
Wed Jan 06, 2016 8:05 am
Forum: Assistive technology and accessibility
Topic: Sight for the Blind for <100$
Replies: 718
Views: 182086

Re: Sight for the Blind for <100$

I can take a look at that when i get the new image. I'm planning to take a look in raspiVoice anyway, to see if i can do something about the image processing from the camera.
by mr_indoj
Tue Jan 05, 2016 8:08 pm
Forum: Assistive technology and accessibility
Topic: Sight for the Blind for <100$
Replies: 718
Views: 182086

Re: Sight for the Blind for <100$

Got it working, apparently it didn't like my image. testprogram takes about 20 sec to run, the results is displayed as a series of float numbers, so doesn't make much sense right now until better understood..
by mr_indoj
Tue Jan 05, 2016 4:13 pm
Forum: Assistive technology and accessibility
Topic: Sight for the Blind for <100$
Replies: 718
Views: 182086

Re: Sight for the Blind for <100$

I have begun tests with the thnets lib, so far i get it to compile and it seems to load the network. However, note that you have to use the original teradeep files from dropbox, (model.net and stat.t7). The one's shipped with the image had to be modified to work on the pi with torch. I'm currently u...
by mr_indoj
Mon Jan 04, 2016 6:12 pm
Forum: Assistive technology and accessibility
Topic: Sight for the Blind for <100$
Replies: 718
Views: 182086

Re: Sight for the Blind for <100$

while the image was downloading, I also got a message from the creators of teradeep: Eugenio Culurciello: You can also try to use this lib: The interesting part as i see it is that by using such a lib could open up the possibility to create python bindings with the required functions, so that data ...
by mr_indoj
Mon Jan 04, 2016 12:59 pm
Forum: Assistive technology and accessibility
Topic: Sight for the Blind for <100$
Replies: 718
Views: 182086

Re: Sight for the Blind for <100$

So, i have created a new image. It's based on the last image + latest code that we have posted here + a very first version of working Teradeep. I added teradeep to the menu, besides RaspiVoice and Jetpac. There are however no settings yet. The url to the image (about 3.5 GB): https://onedrive.live.c...
by mr_indoj
Sun Jan 03, 2016 3:36 pm
Forum: Assistive technology and accessibility
Topic: Sight for the Blind for <100$
Replies: 718
Views: 182086

Re: Sight for the Blind for <100$

I have it working on the current image that you uploaded a few days ago. However, i cheated a bit, i took the torch binaries from another older image, and then only had to make sure that all dependencies were installed (OPENBLAS had to be compiled etc). So i don't remember how i solved that back the...
by mr_indoj
Sun Jan 03, 2016 2:29 pm
Forum: Assistive technology and accessibility
Topic: Sight for the Blind for <100$
Replies: 718
Views: 182086

Re: Sight for the Blind for <100$

In order to be able to set the resolution of the video capture, i copied the imutils threading code into a file in the /home/pi folder that we instead can import. Here's that code, with the possibility to set resolution when we init the class # import the necessary packages from threading import Thr...
by mr_indoj
Sat Jan 02, 2016 4:34 pm
Forum: Assistive technology and accessibility
Topic: Sight for the Blind for <100$
Replies: 718
Views: 182086

Re: Sight for the Blind for <100$

This is a modification that uses a background thread to read the frames. You will need to use pip to get the imutils package first: $ sudo pip install imutils Also, i moved the temp files to /dev/shm for ramdisk access import setproctitle #Set process name to something easily killable import cv2 #Co...
by mr_indoj
Sat Sep 12, 2015 3:15 pm
Forum: Assistive technology and accessibility
Topic: Sight for the Blind for <100$
Replies: 718
Views: 182086

Re: Sight for the Blind for <100$

@mikey11 I never use 'patch' myself, but would suspect that the version of raspivoice code that you try to apply the patch to is different from the one that Mikael used to generate the diff. The patch is made against the git version of the files, just tried my original patch file and it works. So i...
by mr_indoj
Tue Sep 08, 2015 7:59 pm
Forum: Assistive technology and accessibility
Topic: Sight for the Blind for <100$
Replies: 718
Views: 182086

Re: Sight for the Blind for <100$

@mikey11: I will have to go to a fresh version of your image, and reproduce a working teradeep setup so that i can document the process. Then i guess the easiest solution is to pack up the needed files/install scripts and post a link here. At the time i did the torch7 install, the install scripts ha...
by mr_indoj
Mon Sep 07, 2015 9:30 pm
Forum: Assistive technology and accessibility
Topic: Sight for the Blind for <100$
Replies: 718
Views: 182086

Re: Sight for the Blind for <100$

All this sounds good. I consider my current design as testing. I have now a working teradeep/cloudsightapi combination as i wrote about before. I have modified teradeep so that it reads image from file, analyze and speaks with espeak, then exit. I have created a script that is spawned from raspivoic...
by mr_indoj
Sun Sep 06, 2015 9:48 pm
Forum: Assistive technology and accessibility
Topic: Sight for the Blind for <100$
Replies: 718
Views: 182086

Re: Sight for the Blind for <100$

@mikey11: That sounds good, we need a repository for all the project-related stuff. @vortex1024: Thanks for the conversion tip, should have thought about that.. I have made progress, with the ascii to binary conversion done on the pi, loading isn't a problem. Linuxcamera segfaulted with my camera-gl...
by mr_indoj
Sat Sep 05, 2015 10:55 pm
Forum: Assistive technology and accessibility
Topic: Sight for the Blind for <100$
Replies: 718
Views: 182086

Re: Sight for the Blind for <100$

Thanks for this, i got it to load the converted model. However, it takes minutes to load the ascii model (that became over 500 mb, instead of the binary 270 mb). Now i can load the model and stat even if that takes long time. Currently i'm stuck at an unspecified segmentation fault, i don't know whe...
by mr_indoj
Sat Sep 05, 2015 8:34 am
Forum: Assistive technology and accessibility
Topic: Sight for the Blind for <100$
Replies: 718
Views: 182086

Re: Sight for the Blind for <100$

I've also had a try with the teradeep. I've done that on the pi 2, on the odroid c1 and a normal X86 ubuntu. I got the ubuntu to work, but on both pi and odroid i got the same problem. The model.net file won't load, gives "table index is nil" error.
I'll have a look at the jetpacapp.
by mr_indoj
Sun Jul 26, 2015 1:50 pm
Forum: Assistive technology and accessibility
Topic: Sight for the Blind for <100$
Replies: 718
Views: 182086

Re: Sight for the Blind for <100$

Here is the rotary patch in diff form for use with the patch command from the raspivoice directory. diff --git a/rotaryencoder.cpp b/rotaryencoder.cpp index 806d861..0a1e47d 100644 --- a/rotaryencoder.cpp +++ b/rotaryencoder.cpp @@ -12,7 +12,7 @@ https://github.com/astine/rotaryencoder #include <std...
by mr_indoj
Wed Jul 01, 2015 10:29 pm
Forum: Assistive technology and accessibility
Topic: Sight for the Blind for <100$
Replies: 718
Views: 182086

Re: Sight for the Blind for <100$

[quote="mikey11"]good news and bad news.

The good first: The image file compresses using zip down to about 1.1GB


Hi!
where did the actual image go (or is the github source code the current)?
/Mikael

Go to advanced search