neilenns / node-deepstackai-trigger

Detects motion using Deepstack AI and calls registered triggers based on trigger rules.
MIT License
165 stars 28 forks source link

ARM Support #463

Open v0d0r opened 2 years ago

v0d0r commented 2 years ago

I would like to know if it's possible to run this on ARM/ARM64 at all. I assume there is no existing build with this architecture support. Would it be possible to share some details on how to build should I wish to try out building my own arm version container?

Thanks in advance. ;-)

neilenns commented 2 years ago

I'm not super familiar with how to build for different platforms with Docker unfortunately. The underlying node images used for this project do get published with arm support, so in theory it might work just by building an ARM version of the container using the checked in Dockerfile. I don't know how to do that on a desktop though :)

v0d0r commented 2 years ago

I think I should be fine with just the Dockerfile and running the build on a arm device. I will give it a bash and let you know how it goes.

thanks

Kevin


From: Neil Enns @.> Sent: 18 August 2022 15:03 To: neilenns/node-deepstackai-trigger @.> Cc: Kevin Crous @.>; Author @.> Subject: Re: [neilenns/node-deepstackai-trigger] ARM Support (Issue #463)

I'm not super familiar with how to build for different platforms with Docker unfortunately. The underlying node images used for this project do get published with arm support, so in theory it might work just by building an ARM version of the container using the checked in Dockerfile. I don't know how to do that on a desktop though :)

— Reply to this email directly, view it on GitHubhttps://github.com/neilenns/node-deepstackai-trigger/issues/463#issuecomment-1219467748, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADB3EOKEMHSMKQHJ2M2YHADVZYYDTANCNFSM564HL4WQ. You are receiving this because you authored the thread.Message ID: @.***>

neilenns commented 2 years ago

I double checked the image library I'm using (it's been a while!) and looks like I picked Pure Image which is a 100% javascript implementation. That was the only thing I could think of that might pose a problem off the top of my head but seems like it'll be fine.