Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Node-Red
    5. node-red-contrib-face-recognition

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    node-red-contrib-face-recognition

    This topic has been deleted. Only users with topic management privileges can see it.
    • mickym
      mickym Most Active @hohmannc last edited by mickym

      @hohmannc Nutzt Du NodeRed als iobroker Adapter oder Standalone? Am Besten ist in beiden Fällen die Installation über den Palettenmanager und nichts mit npm zu machen - damit machst Du nur Dein System kaputt. Ich würde auch alle npm Befehle über remove wieder rückgängig machen. Werden die module mehrfach gefunden bekommst Du unter Umständen ganz komische Effekte.

      H 1 Reply Last reply Reply Quote 0
      • H
        hohmannc @mickym last edited by

        @mickym ah super danke. kann ich auch TensorFlow über den Palettenmanager installieren?

        mickym 1 Reply Last reply Reply Quote 0
        • mickym
          mickym Most Active @hohmannc last edited by

          @hohmannc sagte in node-red-contrib-face-recognition:

          TensorFlow

          Nein Tensor Flow ist ja keine Node-Red Node, sondern eine externe NodeJS Bibliothek. Die müsstest Du über npm installieren. Wo, das kann ich Dir nur sagen, ob Du NodeRed mit dem iobroker Adapter nutzt oder als Standalone Lösung.

          H 1 Reply Last reply Reply Quote 0
          • H
            hohmannc @mickym last edited by

            @mickym ich benutz es als adapter!

            mickym 1 Reply Last reply Reply Quote 0
            • mickym
              mickym Most Active @hohmannc last edited by

              @hohmannc Ich würde wie folgt vorgehen:

              sudo -su iobroker
              cd /opt/iobroker/iobroker-data/node-red
              npm install @tensorflow/tfjs-node
              exit
              
              H 1 Reply Last reply Reply Quote 0
              • H
                hohmannc @mickym last edited by hohmannc

                @mickym danke! dann bekomme ich

                
                > > @tensorflow/tfjs-node@3.15.0 install /opt/iobroker/iobroker-data/node-red/node_modules/@tensorflow/tfjs-node
                > > node scripts/install.js
                > 
                > CPU-linux-3.15.0.tar.gz
                > * Downloading libtensorflow
                > (node:82949) UnhandledPromiseRejectionWarning: Error: Unsupported system: cpu-linux-arm64
                >     at getPlatformLibtensorflowUri (/opt/iobroker/iobroker-data/node-red/node_modules/@tensorflow/tfjs-node/scripts/install.js:106:11)
                >     at downloadLibtensorflow (/opt/iobroker/iobroker-data/node-red/node_modules/@tensorflow/tfjs-node/scripts/install.js:139:15)
                >     at async run (/opt/iobroker/iobroker-data/node-red/node_modules/@tensorflow/tfjs-node/scripts/install.js:208:5)
                > (Use `node --trace-warnings ...` to show where the warning was created)
                > (node:82949) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
                > (node:82949) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
                > npm WARN node-red-contrib-face-recognition@2.0.4 requires a peer of @tensorflow/tfjs-node@1.2.11 but none is installed. You must install peer dependencies yourself.
                > npm WARN @tensorflow/tfjs-backend-webgl@3.15.0 requires a peer of @tensorflow/tfjs-core@3.15.0 but none is installed. You must install peer dependencies yourself.
                > npm WARN @tensorflow/tfjs-backend-cpu@3.15.0 requires a peer of @tensorflow/tfjs-core@3.15.0 but none is installed. You must install peer dependencies yourself.
                > npm WARN @tensorflow/tfjs-data@3.15.0 requires a peer of @tensorflow/tfjs-core@3.15.0 but none is installed. You must install peer dependencies yourself.
                > npm WARN @tensorflow/tfjs-converter@3.15.0 requires a peer of @tensorflow/tfjs-core@3.15.0 but none is installed. You must install peer dependencies yourself.
                > npm WARN @tensorflow/tfjs-layers@3.15.0 requires a peer of @tensorflow/tfjs-core@3.15.0 but none is installed. You must install peer dependencies yourself.
                > npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents):
                > npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm64"})
                > 
                > + @tensorflow/tfjs-node@3.15.0
                > updated 1 package and audited 410 packages in 27.976s
                > 
                > 59 packages are looking for funding
                >   run `npm fund` for details
                > 
                > found 4 vulnerabilities (2 low, 2 high)
                >   run `npm audit fix` to fix them, or `npm audit` for details
                

                mist offensichtlich funktioniert es nicht mit 64 bit, die habe ich installiert, da ich auf DeepStack gewechselt bin und er dieses benötigt.

                mickym 1 Reply Last reply Reply Quote 0
                • mickym
                  mickym Most Active @hohmannc last edited by

                  @hohmannc sagte in node-red-contrib-face-recognition:

                  (node:82949) UnhandledPromiseRejectionWarning: Error: Unsupported system: cpu-linux-arm64

                  Na wenn das so steht - dann wird es wohl so sein und kann da nicht weiterhelfen.

                  H 1 Reply Last reply Reply Quote 0
                  • H
                    hohmannc @mickym last edited by

                    @mickym danke für deine mühe

                    F 1 Reply Last reply Reply Quote 0
                    • F
                      frankyboy73 @hohmannc last edited by frankyboy73

                      @hohmannc Hi, hast du die Node "node-red-contrib-face-recognition" überhaupt zum laufen bekommen, laut Beschreibung brauchst du TensorFlow ja nur um die ganze Sache schneller zu machen, für die Funktion ist es aber nicht unbedingt nötig.
                      https://flows.nodered.org/node/node-red-contrib-face-recognition

                      You can also optionally install TensorFlow for Node.js to make this package run faster. If you do not, the node will still run albeit much slower. To install TensorFlow navigate to your .node-red folder and run the following command. This will install TensorFlow in your Node-Red directory for use by the node.

                      Mit der arm64 V8 soll TensorFlow übrigens kompatibel sein.

                      Tenser.jpg

                      H 1 Reply Last reply Reply Quote 0
                      • H
                        hohmannc @frankyboy73 last edited by

                        @frankyboy73 jo läuft:)

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post

                        Support us

                        ioBroker
                        Community Adapters
                        Donate

                        1.0k
                        Online

                        31.7k
                        Users

                        79.7k
                        Topics

                        1.3m
                        Posts

                        3
                        11
                        591
                        Loading More Posts
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes
                        Reply
                        • Reply as topic
                        Log in to reply
                        Community
                        Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                        The ioBroker Community 2014-2023
                        logo