Martin Petr
Martin Petr
TTCTheo's Typesafe Cult
Created by Kugabi on 12/27/2024 in #questions
Coding from a non-Mac PC while building on a Mac
Honestly wouldn't be surprised if it applied to him
15 replies
TTCTheo's Typesafe Cult
Created by FleetAdmiralJakob 🗕 🗗 🗙 on 12/27/2024 in #questions
use(props.params) vs useParams() in Client Component in Next.js
That's true, didn't think about that
14 replies
TTCTheo's Typesafe Cult
Created by /usr/bin/cat on 12/27/2024 in #questions
how do you create something like background removal!!!!
I was using something like 4:3 ratio for the depth anything using JavaScript xenova pipeline and didn't have a problem
10 replies
TTCTheo's Typesafe Cult
Created by /usr/bin/cat on 12/27/2024 in #questions
how do you create something like background removal!!!!
There is obviously some maximum size, but you can easily work around that and the aspect ratio shouldn't be fixed
10 replies
TTCTheo's Typesafe Cult
Created by /usr/bin/cat on 12/27/2024 in #questions
how do you create something like background removal!!!!
Do they really have fixed input size?
10 replies
TTCTheo's Typesafe Cult
Created by Kugabi on 12/27/2024 in #questions
Coding from a non-Mac PC while building on a Mac
can't you use vscode and then just build the app using xcode or something? I am not interested into mac, ios and similar, so i don't know if that's possible. But if it is, give it a shot, vscode has it's own remote server
15 replies
TTCTheo's Typesafe Cult
Created by /usr/bin/cat on 12/27/2024 in #questions
how do you create something like background removal!!!!
used model Depth anything small
10 replies
TTCTheo's Typesafe Cult
Created by /usr/bin/cat on 12/27/2024 in #questions
how do you create something like background removal!!!!
I have done similar things when making my AI drone, where I selected the person by generating the distance map by AI
10 replies
TTCTheo's Typesafe Cult
Created by /usr/bin/cat on 12/27/2024 in #questions
how do you create something like background removal!!!!
I have never had a reason to solve this problem, but i would probably use some AI model to get the mask of the person and apply it together with some feather effect
10 replies
TTCTheo's Typesafe Cult
Created by FleetAdmiralJakob 🗕 🗗 🗙 on 12/27/2024 in #questions
use(props.params) vs useParams() in Client Component in Next.js
I agree, both should work, but useParams is more clear, so the code is slightly more readable, in my opinion
14 replies