1 (edited by adaptedesigns 2015-05-18 12:47:48)

Topic: Freelss 1.5 update

Hi,

I've just installed the new version of Freelss.

I've notice that the scanning process become very slow. Suspecting my raspian version to be corrupted, I've all reinstalled it from the beginning but get the same result.

As anyone notice this slowdown ?

Edit : downgrade to 1.4 on the same hardware : it works great.

Freelss 1.7
Raspberry Pi 2
Piclop personnal design (check Website)
Direct RJ45 connection

2

Re: Freelss 1.5 update

Can you run a top on your pi and see what its spiking to? I run RPI-Monitor to keep track of CPU and RAM & Swap. I am mostly concerned with swap. One more thing you should probably turn off your desktop on the pi. It frees up the system to an incredible amount.

I suspect your running a pi 1? I can see where it may run out of resources.

Testing my own scanner with the software. So far so good. I also notice WEBGL is behaving better now. With 5MP still mode its initial spike is a bit over 1: then it settles around .6-.8..... I have noticed the memory consumption to be higher though. Around 400MB in total. That could be due to OS updates...... 0% swap though.

3

Re: Freelss 1.5 update

Hi engineerd3d,

Thanks for replying.
Well, I'm running a PI2 with latest updates.
I've noticed that the slow down occur in 1.9M video modes and above, on ssh monitoring I've got plenty of error saying that laser line cannot be detected and so on.
I've tried all the possible threshold value with no success.
What is hard to understand for me is that when I switch in 5M still mode without touching light conditions, all is going right.

Freelss 1.7
Raspberry Pi 2
Piclop personnal design (check Website)
Direct RJ45 connection

4

Re: Freelss 1.5 update

adaptedesigns, what do your test images look like in those modes?

5

Re: Freelss 1.5 update

In regards of slowing down. It takes my scanner nearly 3 hours to scan in 5mp still mode with 3200frames. I consider that acceptable, its been doing that since version 1.2 when I first got a copy of freelss. The processing time I am not sure. However at this point, my question would be what do you mean slow? Is the software taking unreasonable amounts of time to complete the work? Is the gui sluggish? One more thing to note. I am using my scanner via wifi, and wifi is extremely congested where I live in the 2.4ghz spectrum. Therefore the farther away my scanner sits from the access point the worse it seems as far as interface sluggishness. I have taken to leaving my scanner 2-3 feet from the access point in a hallway table to mitigate this. Especially when downloading 180+ MB PLY files from my scanner.

6

Re: Freelss 1.5 update

Here are more informations in images about what happen :

Boot sequence:
http://soliforum.com/i/?HM5ZmcC.jpg

My settings :
http://soliforum.com/i/?DNoScbF.jpg

Object scanned :
http://soliforum.com/i/?SMbIu4d.jpg

Test image :
http://soliforum.com/i/?TpXijFp.jpg

And errors message : as you can see, just after the first scan it announced about 10 hours remaining in 1.9M
http://soliforum.com/i/?m8L4LtR.jpg

Switching threshold to 5

Monitoring :
http://soliforum.com/i/?9kRRDRE.jpg

I switch to 5M still mode and change the threshold to 3 because the test picture seems better : all goes wright scanning speed as usual in this mode.

For completeness I made the test including cutting the mouse stand in settings page : doesn't change anything.

@ engineerd3d : 3 hours seems a lot for me, with 1.4 version I get a full scan in 5M still mode of the mouse you can see above in about 1H30. I guess it will depend on the object size.
For me, slow down means that the scan will take about 10 hours in 1.9M thus it takes about 20mn in 1.4 version for the same object/light/hardware and so on.
I guess 1.4 version given me high performance bad habits...

Freelss 1.7
Raspberry Pi 2
Piclop personnal design (check Website)
Direct RJ45 connection

7

Re: Freelss 1.5 update

I see what you mean.

8

Re: Freelss 1.5 update

adaptedesigns, what are you using as the base object to hold the mouse?  The laser seems to be scattering on the base object and making it hard for the software to detect the laser's location.  This typically happens when the object is too shiny, the laser threshold settings are too low, or things are moving in the background.  As of FreeLSS 1.5, when this condition is detected the scanner will wait a second and then try again.  The idea is to give things moving in the background time to get out of the camera's view.  It will do this up to 5 times, ie: 5 seconds of simply waiting per frame.  This is likely what's causing your performance issues.  You should be able to resolve this issue by increasing your threshold settings until you don't see the scattered red points at the bottom of the test images or by using a non-reflective object as the base.

9

Re: Freelss 1.5 update

I'm seeing the same slowdown. The pattern of the lasers turning on and off is odd too; right laser on, then off, then on again for a much longer time, then off. Then left on for a long time.

I'm also seeing a strange calibration issue with the new 5 MP modes; my camera is perfectly centered on the turntable for 1.9 MP and below, but offset slightly to the left on the two 5 MP settings. Very weird.

10

Re: Freelss 1.5 update

owens-bill wrote:

I'm seeing the same slowdown. The pattern of the lasers turning on and off is odd too; right laser on, then off, then on again for a much longer time, then off. Then left on for a long time.

I'm also seeing a strange calibration issue with the new 5 MP modes; my camera is perfectly centered on the turntable for 1.9 MP and below, but offset slightly to the left on the two 5 MP settings. Very weird.

I was experiencing the offset like you describe in earlier versions of freelss. I too am getting slowdown now, or at least was getting it. My scaner is misbehaving for reasons other than the software at this point (Read self inflicted)

11

Re: Freelss 1.5 update

@ Hairu
The base object is in PLA.
Trying this time with no support for the mouse :
http://soliforum.com/i/?DJShXJr.jpg

Threshold on 2, 1.9M video mode, no other changes : light condition same as yesterday (night with artificial lamp), same position of the scanner, black felt behind the scan.

Test image :
http://soliforum.com/i/?d4SFauX.jpg

Monitoring :
http://soliforum.com/i/?rt9Q8W2.jpg

I've let the scan run during writing this message :
http://soliforum.com/i/?4PmGHSY.jpg

Switching to 5m still mode, test image (threshold on 2) :
http://soliforum.com/i/?6KyUG4J.jpg

Monitoring :
http://soliforum.com/i/?D3uTgNg.jpg

The 5M stays faster than 1.9M in my experiments.

Freelss 1.7
Raspberry Pi 2
Piclop personnal design (check Website)
Direct RJ45 connection