Scanner scans but n...
 
Notifications
Clear all

Scanner scans but no image on the monitor  

  RSS
EMW
 EMW
(@emw)
Eminent Member

Hi there,

after seemingly successful calibration, I dared a first scan (in color). First of all, the illuminated image of the scan object was seen in large size on the user interface, as it happily and slowly turned. Then I thought that was it. However, the software would have to report "Scan finishes" right?

After "completely" carefully opening the flap, I saw that the object seemed to be scanning with the laser now (plate rotates step by step, laser flashes in a regular rhythm). Close quickly and wait. Here I am surprised that nothing appears on the screen, except the "X" with which I could abort the scan. After 60 minutes carefully peeked under the hood, the turntable happily moves on. Still nothing to see on the screen.

Hm!!

Where did something go wrong here? Do you have an idea?

(The next try will also have pictures)

Thank you in advance and

beautiful evening

Torsten

Quote
Posted : 19/02/2020 5:51 am
mario
(@mario)
Member Admin

Can you share your calibration values. You can find them in:

/etc/fabscanpi/default.config.json
ReplyQuote
Posted : 19/02/2020 6:30 am
EMW
 EMW
(@emw)
Eminent Member

@mario

This is what he shows me when I

/etc/fabscanpi$ sudo nano default.config.json

entries

{
   "folders": {
       "www": "/usr/share/fabscanpi/",
       "scans": "/home/pi/scans/"
   },
   "online_lookup_ip": "8.8.8.8",
   "laser": {
       "color": "R (RGB)",
       "numbers": 1,
       "interleaved": "False"
   },
   "scanner_type": "laserscanner",
   "calibration": {
       "weight_matrix": [],
       "dist_camera_matrix": [],
       "pattern": {
           "square_size": 10,
           "rows": 6,
           "columns": 8,
           "origin_distance": 37.2
       },
       "camera_matrix": [
           [
               1326.541,
               0.0,
               610.689
           ],
           [
               0.0,
               1329.86,
               842.761
           ],
           [
               0.0,
               0.0,
               1.0
           ]
       ],
       "distortion_vector": [
           -0.004,
           2.529,

 

ReplyQuote
Posted : 19/02/2020 3:20 pm
mario
(@mario)
Member Admin

I am missing the most important part of the calibration section. Try to use 

cat /etc/fabscanpi/default.config.json

That will output the whole config in the terminal and that is the best way to copy and paste it.

ReplyQuote
Posted : 19/02/2020 8:42 pm
EMW
 EMW
(@emw)
Eminent Member

@mario

here the Log-Dates:

Linux fabscanpi 4.19.75-v7+ #1270 SMP Tue Sep 24 18:45:11 BST 2019 armv7l

The programs included with the Debian GNU/Linux system are free software;

the exact distribution terms for each program are described in the

individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent

permitted by applicable law.

Last login: Wed Jan 1 21:17:58 2020 from 169.254.43.115

pi@fabscanpi:~ $ cat /var/log/fabscanpi/fabscanpi.txt

cat: /var/log/fabscanpi/fabscanpi.txt: No such file or directory

pi@fabscanpi:~ $ cat /var/log/fabscanpi/fabscanpi.log

2020-01-01 22:01:02,555 - fabscan.worker.FSImageWorker - DEBUG - Killed Worker Process with PID 650

2020-01-01 21:17:30,940 - fabscan.server.FSScanServer - INFO - FabScanPi-Server 0.8.2

2020-01-01 21:17:30,945 - fabscan.scanner.interfaces - DEBUG - Scanner Type is: laserscanner

2020-01-01 21:17:32,891 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - Port in Config found

2020-01-01 21:17:32,897 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - Latest available firmware version is: v.20190811

2020-01-01 21:17:35,280 - fabscan.lib.util.FSUtil - INFO - avrdude-original: Using autoreset DTR on GPIO Pin 7

2020-01-01 21:17:35,831 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - Trying to connect Arduino on port: /dev/ttyAMA0

2020-01-01 21:17:38,841 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - Installed firmware version: v.20190811

2020-01-01 21:17:38,842 - fabscan.scanner.laserscanner.driver.FSSerial - INFO - FabScanPi is connected to FabScanPi HAT or compatible on port: /dev/ttyAMA0

2020-01-01 21:17:40,850 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - Connection baudrate is: 57600

2020-01-01 21:17:40,850 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - Firmware flashing baudrate is: 115200

2020-01-01 21:17:40,851 - fabscan.scanner.laserscanner.FSHardwareController - DEBUG - Reset FabScanPi HAT...

2020-01-01 21:17:41,174 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - M18;

2020-01-01 21:17:41,504 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - G07;

2020-01-01 21:17:42,005 - fabscan.scanner.laserscanner.driver.FSCamera - DEBUG - Cam Stream with Resolution (800, 600) stopped

2020-01-01 21:17:42,006 - fabscan.scanner.laserscanner.FSHardwareController - DEBUG - Reset FabScanPi HAT...

2020-01-01 21:17:42,334 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - M18;

2020-01-01 21:17:42,664 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - G07;

2020-01-01 21:17:42,664 - fabscan.scanner.laserscanner.FSHardwareController - DEBUG - Hardware controller initialized...

2020-01-01 21:17:42,941 - fabscan.scanner.laserscanner.FSScanProcessor - INFO - Laser Scan Processor initilized...FSScanProcessor (urn:uuid:af6227ec-77d7-4f8f-8c93-2c6088fbb5ae)

2020-01-01 21:17:42,942 - fabscan.server.FSWebServer - DEBUG - /usr/share/fabscanpi/

2020-01-01 21:17:42,972 - fabscan.FSScanner - INFO - Job scheduler started.

2020-01-01 21:17:42,972 - fabscan.FSScanner - INFO - Scanner initialized...

2020-01-01 21:17:42,973 - fabscan.FSScanner - INFO - Number of cpu cores: 4

2020-01-01 21:17:42,974 - fabscan.lib.util.FSDiscovery - INFO - Registering ip 169.254.31.58 to discovery service.

2020-01-01 21:17:53,000 - fabscan - CRITICAL - Fatal error: HTTPSConnectionPool(host='find.fabscan.org', port=443): Max retries exceeded with url: /register.php (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x63dbded0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',))

2020-01-01 21:17:31,067 - fabscan.server.FSScanServer - INFO - FabScanPi-Server 0.8.2

2020-01-01 21:17:31,072 - fabscan.scanner.interfaces - DEBUG - Scanner Type is: laserscanner

2020-01-01 21:17:32,952 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - Port in Config found

2020-01-01 21:17:32,955 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - Latest available firmware version is: v.20190811

2020-01-01 21:17:35,129 - fabscan.lib.util.FSUtil - INFO - avrdude-original: Using autoreset DTR on GPIO Pin 7

2020-01-01 21:17:35,681 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - Trying to connect Arduino on port: /dev/ttyAMA0

2020-01-01 21:17:38,691 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - Installed firmware version: v.20190811

2020-01-01 21:17:38,692 - fabscan.scanner.laserscanner.driver.FSSerial - INFO - FabScanPi is connected to FabScanPi HAT or compatible on port: /dev/ttyAMA0

2020-01-01 21:17:40,699 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - Connection baudrate is: 57600

2020-01-01 21:17:40,700 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - Firmware flashing baudrate is: 115200

2020-01-01 21:17:40,701 - fabscan.scanner.laserscanner.FSHardwareController - DEBUG - Reset FabScanPi HAT...

2020-01-01 21:17:41,030 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - M18;

2020-01-01 21:17:41,359 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - G07;

2020-01-01 21:17:41,861 - fabscan.scanner.laserscanner.driver.FSCamera - DEBUG - Cam Stream with Resolution (800, 600) stopped

2020-01-01 21:17:41,862 - fabscan.scanner.laserscanner.FSHardwareController - DEBUG - Reset FabScanPi HAT...

2020-01-01 21:17:42,189 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - M18;

2020-01-01 21:17:42,519 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - G07;

2020-01-01 21:17:42,520 - fabscan.scanner.laserscanner.FSHardwareController - DEBUG - Hardware controller initialized...

2020-01-01 21:17:42,800 - fabscan.scanner.laserscanner.FSScanProcessor - INFO - Laser Scan Processor initilized...FSScanProcessor (urn:uuid:c17b4903-66e5-4343-a29a-546c43d3b119)

2020-01-01 21:17:42,801 - fabscan.server.FSWebServer - DEBUG - /usr/share/fabscanpi/

2020-01-01 21:17:42,831 - fabscan.FSScanner - INFO - Job scheduler started.

2020-01-01 21:17:42,831 - fabscan.FSScanner - INFO - Scanner initialized...

2020-01-01 21:17:42,832 - fabscan.FSScanner - INFO - Number of cpu cores: 4

2020-01-01 21:17:42,833 - fabscan.lib.util.FSDiscovery - INFO - Registering ip 169.254.31.58 to discovery service.

2020-01-01 21:17:52,859 - fabscan - CRITICAL - Fatal error: HTTPSConnectionPool(host='find.fabscan.org', port=443): Max retries exceeded with url: /register.php (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x63ccbed0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',))

2020-01-01 21:17:32,543 - fabscan.server.FSScanServer - INFO - FabScanPi-Server 0.8.2

2020-01-01 21:17:32,548 - fabscan.scanner.interfaces - DEBUG - Scanner Type is: laserscanner

2020-01-01 21:17:34,409 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - Port in Config found

2020-01-01 21:17:34,413 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - Latest available firmware version is: v.20190811

2020-01-01 21:17:36,617 - fabscan.lib.util.FSUtil - INFO - avrdude-original: Using autoreset DTR on GPIO Pin 7

2020-01-01 21:17:37,169 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - Trying to connect Arduino on port: /dev/ttyAMA0

2020-01-01 21:17:40,178 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - Installed firmware version: v.20190811

2020-01-01 21:17:40,179 - fabscan.scanner.laserscanner.driver.FSSerial - INFO - FabScanPi is connected to FabScanPi HAT or compatible on port: /dev/ttyAMA0

2020-01-01 21:17:42,187 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - Connection baudrate is: 57600

2020-01-01 21:17:42,188 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - Firmware flashing baudrate is: 115200

2020-01-01 21:17:42,189 - fabscan.scanner.laserscanner.FSHardwareController - DEBUG - Reset FabScanPi HAT...

2020-01-01 21:17:42,518 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - M18;

2020-01-01 21:17:42,848 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - G07;

2020-01-01 21:17:43,349 - fabscan.scanner.laserscanner.driver.FSCamera - DEBUG - Cam Stream with Resolution (800, 600) stopped

2020-01-01 21:17:43,350 - fabscan.scanner.laserscanner.FSHardwareController - DEBUG - Reset FabScanPi HAT...

2020-01-01 21:17:43,678 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - M18;

2020-01-01 21:17:44,008 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - G07;

2020-01-01 21:17:44,009 - fabscan.scanner.laserscanner.FSHardwareController - DEBUG - Hardware controller initialized...

2020-01-01 21:17:44,279 - fabscan.scanner.laserscanner.FSScanProcessor - INFO - Laser Scan Processor initilized...FSScanProcessor (urn:uuid:fa6a1f44-b118-4f0c-affa-713f963f1947)

2020-01-01 21:17:44,280 - fabscan.server.FSWebServer - DEBUG - /usr/share/fabscanpi/

2020-01-01 21:17:44,310 - fabscan.FSScanner - INFO - Job scheduler started.

2020-01-01 21:17:44,311 - fabscan.FSScanner - INFO - Scanner initialized...

2020-01-01 21:17:44,311 - fabscan.FSScanner - INFO - Number of cpu cores: 4

2020-01-01 21:17:44,312 - fabscan.lib.util.FSDiscovery - INFO - Registering ip 169.254.31.58 to discovery service.

2020-01-01 21:17:54,338 - fabscan - CRITICAL - Fatal error: HTTPSConnectionPool(host='find.fabscan.org', port=443): Max retries exceeded with url: /register.php (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x63e42ed0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',))

2020-01-01 21:17:31,679 - fabscan.server.FSScanServer - INFO - FabScanPi-Server 0.8.2

2020-01-01 21:17:31,683 - fabscan.scanner.interfaces - DEBUG - Scanner Type is: laserscanner

2020-01-01 21:17:33,540 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - Port in Config found

2020-01-01 21:17:33,544 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - Latest available firmware version is: v.20190811

2020-01-01 21:17:35,780 - fabscan.lib.util.FSUtil - INFO - avrdude-original: Using autoreset DTR on GPIO Pin 7

2020-01-01 21:17:36,332 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - Trying to connect Arduino on port: /dev/ttyAMA0

2020-01-01 21:17:39,341 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - Installed firmware version: v.20190811

2020-01-01 21:17:39,342 - fabscan.scanner.laserscanner.driver.FSSerial - INFO - FabScanPi is connected to FabScanPi HAT or compatible on port: /dev/ttyAMA0

2020-01-01 21:17:41,350 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - Connection baudrate is: 57600

2020-01-01 21:17:41,351 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - Firmware flashing baudrate is: 115200

2020-01-01 21:17:41,352 - fabscan.scanner.laserscanner.FSHardwareController - DEBUG - Reset FabScanPi HAT...

2020-01-01 21:17:41,678 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - M18;

2020-01-01 21:17:42,008 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - G07;

2020-01-01 21:17:42,509 - fabscan.scanner.laserscanner.driver.FSCamera - DEBUG - Cam Stream with Resolution (800, 600) stopped

2020-01-01 21:17:42,510 - fabscan.scanner.laserscanner.FSHardwareController - DEBUG - Reset FabScanPi HAT...

2020-01-01 21:17:42,838 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - M18;

2020-01-01 21:17:43,168 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - G07;

2020-01-01 21:17:43,169 - fabscan.scanner.laserscanner.FSHardwareController - DEBUG - Hardware controller initialized...

2020-01-01 21:17:43,444 - fabscan.scanner.laserscanner.FSScanProcessor - INFO - Laser Scan Processor initilized...FSScanProcessor (urn:uuid:b0955bdd-9a5f-47d1-bd56-6fa2fd43c8fb)

2020-01-01 21:17:43,445 - fabscan.server.FSWebServer - DEBUG - /usr/share/fabscanpi/

2020-01-01 21:17:43,475 - fabscan.FSScanner - INFO - Job scheduler started.

2020-01-01 21:17:43,476 - fabscan.FSScanner - INFO - Scanner initialized...

2020-01-01 21:17:43,476 - fabscan.FSScanner - INFO - Number of cpu cores: 4

2020-01-01 21:17:43,477 - fabscan.lib.util.FSDiscovery - INFO - Registering ip 169.254.31.58 to discovery service.

2020-01-01 21:17:53,503 - fabscan - CRITICAL - Fatal error: HTTPSConnectionPool(host='find.fabscan.org', port=443): Max retries exceeded with url: /register.php (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x63e9bed0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',))

pi@fabscanpi:~ $

and here the Calibrationdates:

pi@fabscanpi:~ $ cat /etc/fabscanpi/default.config.json

{

"folders": {

"www": "/usr/share/fabscanpi/",

"scans": "/home/pi/scans/"

},

"online_lookup_ip": "8.8.8.8",

"laser": {

"color": "R (RGB)",

"numbers": 1,

"interleaved": "False"

},

"scanner_type": "laserscanner",

"calibration": {

"weight_matrix": [],

"dist_camera_matrix": [],

"pattern": {

"square_size": 10,

"rows": 6,

"columns": 8,

"origin_distance": 37.2

},

"camera_matrix": [

[

1326.541,

0.0,

610.689

],

[

0.0,

1329.86,

842.761

],

[

0.0,

0.0,

1.0

]

],

"distortion_vector": [

-0.004,

2.529,

0.003,

-0.001,

-11.666

],

"laser_planes": [

{

"deviation": 0.04705595945170907,

"distance": 97.47608489573248,

"normal": [

0.7625113039223779,

-0.024240297467678133,

0.6465206256332995

]

}

],

"platform_translation": [

-1.7867734221543479,

48.199557237488776,

155.03472267181365

],

"platform_rotation": [

[

0.0,

0.9999506863105508,

-0.009931009367558837

],

[

0.033918616592544096,

-0.009925295046700236,

-0.9993753128663345

],

[

-0.9994245981805971,

-0.000336846099115192,

-0.0339169439404189

]

]

},

"keep_raw_images": "True",

"meshlab": {

"path": "/usr/bin/"

},

"process_numbers": 3,

"turntable": {

"steps": 6400,

"radius": 70,

"height": 155

},

"camera": {

"rotate": "True",

"resolution": {

"width": 1640,

"height": 1232

},

"vflip": "False",

"undistort": "False",

"preview_resolution": {

"width": 800,

"height": 600

},

"hflip": "True",

"type": "PICAM"

},

"discoverable": "True",

"serial": {

"plattform_type": "fabscanpi",

"baudrate": 57600,

"autoflash": "True",

"port": "/dev/ttyAMA0",

"flash_baudrate": 115200

},

"texture_illumination": 40

I hope you can find a mistake here. For me, as a programming dyslexic, it looks more like an Egyptian account statement (; o)).

Thanks in advance

Torsten

 

 

ReplyQuote
Posted : 02/03/2020 5:55 am
EMW
 EMW
(@emw)
Eminent Member

@mario

could you see anything from the above data? After several calibrations, shutting down and restarting, the most different resolution, color / b / w and other settings, I am now at the end of my Latin.

The scanner appears to be running (as described above), but nothing is visible on the screen. I then put the thing on a LapTop fan pad because it was often talked about too high temperatures. No result either.

I would be grateful for any further information as it would be time to start working with the Fabscan.

Thanks in advance

Torsten

 

ReplyQuote
Posted : 02/03/2020 5:57 am
moop
 moop
(@moop)
Active Member

@emw

From the log it looks like the scanner is not connecting to the internet. If the scanner can't connect to the internet then: 

workaround would be to change 

"discoverable": "True",

to

"discoverable": "False"

in the config. That prevents that the Fabscan tries to connect to the discovery service.

 

per mario in forum topic:

https://fabscan.org/community/latest-release/fabscan-requires-internet-connection-to-work-or-will-hang-after-scan/#post-718

 

 

ReplyQuote
Posted : 08/03/2020 1:29 am
EMW
 EMW
(@emw)
Eminent Member

@moop

Thank you very much.
How can I change this in the config file?
Best wishes
Torsten

 

ReplyQuote
Posted : 08/03/2020 11:41 am
EMW
 EMW
(@emw)
Eminent Member

@moop

it cannot be the solution to the problem.
I changed it in the config, calibrated it again but still nothing appears on the monitor.
The scan seems to start (see pictures)

fab01
fab02
fab03
fab04

Here again the current config after calibration

i@fabscanpi:/etc/fabscanpi $ sudo nano default.config.json

GNU nano 3.2 default.config.json

{

"folders": {

"www": "/usr/share/fabscanpi/",

"scans": "/home/pi/scans/"

},

"online_lookup_ip": "8.8.8.8",

"laser": {

"color": "R (RGB)",

"numbers": 1,

"interleaved": "False"

},

"scanner_type": "laserscanner",

"calibration": {

"weight_matrix": [],

"dist_camera_matrix": [],

"pattern": {

"square_size": 10,

"rows": 6,

"columns": 8,

"origin_distance": 37.2

},

"camera_matrix": [

[

1318.53,

0.0,

618.483

],

[

0.0,

1322.146,

840.033

],

[

0.0,

0.0,

1.0

]

],

"distortion_vector": [

0.063,

1.257,

0.003,

0.002,

-5.354

],

"laser_planes": [

{

"deviation": 0.050370020756551726,

"distance": 87.88206255999735,

"normal": [

0.8028542912580486,

0.0016121849860623125,

0.5961731190418665

]

}

],

"platform_translation": [

-1.83629976777013,

46.96613364483353,

153.97759832162026

],

"platform_rotation": [

[

0.0,

0.9999466149815339,

-0.010332820862283596

],

[

0.024340735555797903,

-0.010329759458308503,

-0.9996503512039278

],

[

-0.9997037204055024,

-0.00025150846015427667,

-0.024339436125180774

]

]

},

"keep_raw_images": "True",

"meshlab": {

"path": "/usr/bin/"

}, "process_numbers": 3,

"turntable": {

"steps": 6400,

"radius": 70,

"height": 155

},

"camera": {

"rotate": "True",

"resolution": {

"width": 1640,

"height": 1232

},

"vflip": "False",

"undistort": "False",

"preview_resolution": {

"width": 800,

"height": 600

},

"hflip": "True",

"type": "PICAM"

}, "discoverable": "False",

"serial": {

"plattform_type": "fabscanpi",

"baudrate": 57600,

"autoflash": "True",

"port": "/dev/ttyAMA0",

"flash_baudrate": 115200

},

"texture_illumination": 40

Are there any other solutions?

Thanks in advance

Torsten

 

ReplyQuote
Posted : 10/03/2020 4:05 pm
mario
(@mario)
Member Admin

I think we should stop double posting this issue in two languages. I suggest to solve this in the german thread and when we found the solution we will also post the solution in english here.

ReplyQuote
Posted : 10/03/2020 6:27 pm
EMW
 EMW
(@emw)
Eminent Member

@mario

Excuse me, I didn't know which forum was the preferred forum, so I thought it would be safer to post it in both languages.

 

ReplyQuote
Posted : 23/03/2020 5:41 am
Share: