Benjamin_Loison commented on issue Benjamin_Loison/linux#28 2024-12-31 04:29:04 +01:00
Get device network name potentially different due to router
nmap -sP 192.168.XXX.XXX
Output:
Starting Nmap 7.94SVN ( https://nmap.org ) at 2024-12-31 04:27 CET
Nmap scan report for benjamin-loison-hp-deb…
Benjamin_Loison opened issue Benjamin_Loison/adb#24 2024-12-31 02:10:31 +01:00
Dump native OS to be able to restore it by adb sideload
Benjamin_Loison commented on issue Benjamin_Loison/adb#22 2024-12-31 01:17:36 +01:00
Set *Restrict USB* > *Deny USB connections*/*Allow USB connections when unlocked* with adb

DuckDuckGo and Google search "adb" "Restrict USB".

Benjamin_Loison commented on issue Benjamin_Loison/linux#55 2024-12-30 19:48:18 +01:00
Decode data matrix

Could investigate the library example images.

Benjamin_Loison commented on issue Benjamin_Loison/linux#55 2024-12-30 19:47:00 +01:00
Decode data matrix
from pylibdmtx.pylibdmtx import decode
from PIL import Image

print(decode(Image.open('1280px-Datamatrix.svg.png')))
Output:
Traceback…
Benjamin_Loison commented on issue Benjamin_Loison/linux#55 2024-12-30 19:40:58 +01:00
Decode data matrix
read_datamatrix --help
Output:
usage: read_datamatrix [-h] [-v] image [image ...]

Reads datamatrix barcodes in images

positional…
Benjamin_Loison commented on issue Benjamin_Loison/linux#55 2024-12-30 19:40:14 +01:00
Decode data matrix
time read_datamatrix 1280px-Datamatrix.svg.png
Output:
Traceback (most recent call last):
  File "/home/benjamin/venv/bin/read_datamatrix",…
Benjamin_Loison commented on issue Benjamin_Loison/linux#55 2024-12-30 19:37:41 +01:00
Decode data matrix
sudo apt install -y libdmtx0t64
Output:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The…
Benjamin_Loison commented on issue Benjamin_Loison/linux#55 2024-12-30 19:37:01 +01:00
Decode data matrix
sudo apt install -y libdmtx0a
Output:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Packag…
Benjamin_Loison commented on issue Benjamin_Loison/linux#55 2024-12-30 19:36:02 +01:00
Decode data matrix

Same error after pip install "Pillow>=3.2.0".

Benjamin_Loison commented on issue Benjamin_Loison/linux#55 2024-12-30 19:35:42 +01:00
Decode data matrix
time read_datamatrix 1280px-Datamatrix.svg.png
Output:
Traceback (most recent call last):
  File "/home/benjamin/venv/bin/read_datamatrix",…
Benjamin_Loison commented on issue Benjamin_Loison/linux#55 2024-12-30 19:35:11 +01:00
Decode data matrix
pip install pylibdmtx
Output:
Collecting pylibdmtx
  Downloading pylibdmtx-0.1.10-py2.py3-none-any.whl.metadata (5.6 kB)
Downloading…
Benjamin_Loison commented on issue Benjamin_Loison/linux#55 2024-12-30 19:34:32 +01:00
Decode data matrix
pip uninstall pylibdmtx
Output:
Found existing installation: pylibdmtx 0.1.11
Uninstalling pylibdmtx-0.1.11:
  Would remove:
    /home/benjam…
Benjamin_Loison commented on issue Benjamin_Loison/linux#55 2024-12-30 19:32:49 +01:00
Decode data matrix

Same error after pip install "Pillow>=3.2.0".

Benjamin_Loison commented on issue Benjamin_Loison/linux#55 2024-12-30 19:32:19 +01:00
Decode data matrix
time read_datamatrix 1280px-Datamatrix.svg.png
Output:
Traceback (most recent call last):
  File "/home/benjamin/venv/bin/read_datamatrix",…
Benjamin_Loison commented on issue Benjamin_Loison/linux#55 2024-12-30 19:31:47 +01:00
Decode data matrix
pip install git+https://github.com/NaturalHistoryMuseum/pylibdmtx.git
Output:
Collecting git+https://github.com/NaturalHistoryMuseum/pylibdmtx.g…
Benjamin_Loison commented on issue Benjamin_Loison/linux#55 2024-12-30 19:31:15 +01:00
Decode data matrix
pip uninstall "Pillow>=3.2.0"
Output:
Found existing installation: pillow 11.0.0
Uninstalling pillow-11.0.0:
  Would remove:
    /home/benjam…