Not sure if it's the same product that Cosmo referred to, but a co-worker of mine said he has had good experiences with this stuff:

https://www.bondproducts.com/instabind-carpet-binding-tape/

Depending on the carpet you are using, it may be the way to go.