{"schemaVersion":1,"id":"relateanything","name":"RelateAnything","locale":"en","canonicalUrl":"https://base.akulich.dev/en/library/relateanything/","officialUrl":"https://github.com/Maelic/RelateAnything","isCatalog":false,"description":"Identifies relationships between specified objects in an image: for example, a person riding a horse or one item behind another. The relationship list can be changed without retraining.","tasks":["Scene graphs and image analysis","Spatial understanding for robotics","Finding object interactions in video"],"categoryIds":["graphics"],"subcategoryIds":["graphics.ai"],"tags":["Computer vision","Object relations"],"aliases":["Maelic/RelateAnything","https://github.com/Maelic/RelateAnything"],"platforms":[],"stack":[],"compatibility":null,"pricing":"free","freeUsage":"AGPL code with additional attribution; AGPL obligations and weight licenses still apply.","paidUsage":"A license without AGPL obligations can be discussed with the author; compute is at your own expense.","license":"AGPL-3.0-only + NOTICE; weights: DINOv3 terms","selectionGuide":{"purpose":"Scene graphs and image analysis","chooseWhen":["Scene graphs and image analysis","Spatial understanding for robotics","Finding object interactions in video"],"considerInstead":[],"requirements":["Provide an image, object regions, and a list of relationship phrases; the Python approach requires Python 3.12+ and PyTorch."],"limitations":["Costs and limits of free use: A license without AGPL obligations can be discussed with the author; compute is at your own expense.","Terms of use: AGPL-3.0-only + NOTICE; weights: DINOv3 terms","The model does not detect objects itself.","CPU/CUDA support and a browser WebGPU/WASM demo are available; demo detectors have separate licenses.","The relationship model does not detect objects itself. ONNX/TensorRT export evaluates boxes; masks belong to the native PyTorch approach."],"faq":[{"question":"What can you use for free in RelateAnything?","answer":"AGPL code with additional attribution; AGPL obligations and weight licenses still apply."},{"question":"What additional costs might arise with RelateAnything?","answer":"A license without AGPL obligations can be discussed with the author; compute is at your own expense."},{"question":"What terms of use matter for RelateAnything?","answer":"AGPL-3.0-only + NOTICE; weights: DINOv3 terms"},{"question":"How do you get started with RelateAnything?","answer":"Prepare the object regions separately: the model itself does not detect them. Provide the image, regions, and relationship names to the selected processing method. Compare the answers with the image, then adjust the relationship list for your task."},{"question":"What should you consider when choosing RelateAnything?","answer":"Inputs are an image, object regions such as bounding boxes, and relationship names."},{"question":"Is an LLM needed for every video frame?","answer":"Relationship phrases are encoded in advance, and the model assesses pairs of specified regions. The README does not require an LLM call for every frame. Add an object detector separately."},{"question":"Can you treat the weights as AGPL-licensed?","answer":"No. NOTICE assigns AGPL-3.0-only with additional attribution to the code, while THIRD_PARTY_NOTICES assigns DINOv3 terms to released weights. RA-4M annotations and demo detectors have additional terms."}],"related":[],"sources":["https://github.com/Maelic/RelateAnything","https://maelic.github.io/RelateAnythingProject/","https://github.com/Maelic/RelateAnything/blob/main/LICENSE","https://github.com/Maelic/RelateAnything/blob/main/NOTICE","https://raw.githubusercontent.com/Maelic/RelateAnything/HEAD/README.md","https://raw.githubusercontent.com/Maelic/RelateAnything/HEAD/LICENSE","https://raw.githubusercontent.com/Maelic/RelateAnything/HEAD/NOTICE","https://raw.githubusercontent.com/Maelic/RelateAnything/HEAD/THIRD_PARTY_NOTICES.md"]},"selectionCheckedAt":null,"applicationGuide":{"inputs":["An image, regions containing the objects of interest, and a list of relationships to check.","One example where the spatial or semantic relationship is known in advance."],"steps":["Prepare the object regions separately: the model itself does not detect them.","Provide the image, regions, and relationship names to the selected processing method.","Compare the answers with the image, then adjust the relationship list for your task."],"checks":["The correct regions are selected; the relationship does not refer to a different object in the image.","Compare the model's estimate with the source; check additional detector licenses separately."],"goal":"Example workflow with RelateAnything: Scene graphs and image analysis."},"sources":["https://github.com/Maelic/RelateAnything","https://maelic.github.io/RelateAnythingProject/","https://github.com/Maelic/RelateAnything/blob/main/LICENSE","https://github.com/Maelic/RelateAnything/blob/main/NOTICE","https://raw.githubusercontent.com/Maelic/RelateAnything/HEAD/README.md","https://raw.githubusercontent.com/Maelic/RelateAnything/HEAD/LICENSE","https://raw.githubusercontent.com/Maelic/RelateAnything/HEAD/NOTICE","https://raw.githubusercontent.com/Maelic/RelateAnything/HEAD/THIRD_PARTY_NOTICES.md"],"checkedAt":"2026-10-03","reviewScope":"Purpose and published terms were reviewed against the cited primary sources. This product page does not confirm execution or testing in every environment.","relatedIds":[],"dataVersion":"cbbe7123b47a5ae80983","type":"ML model for object relationships","kind":"tool","pricingNote":"Code is free under AGPL with additional attribution; a license without AGPL obligations can be discussed separately with the author. DINOv3 weight and data licenses are separate; compute is at your own expense.","notes":"Inputs are an image, object regions such as bounding boxes, and relationship names. The model does not detect objects itself. CPU/CUDA support and a browser WebGPU/WASM demo are available; demo detectors have separate licenses.","labeledSources":[{"url":"https://github.com/Maelic/RelateAnything","label":"Source code"},{"url":"https://maelic.github.io/RelateAnythingProject/","label":"Source: maelic.github.io"},{"url":"https://github.com/Maelic/RelateAnything/blob/main/LICENSE","label":"License"},{"url":"https://github.com/Maelic/RelateAnything/blob/main/NOTICE","label":"Source code"},{"url":"https://raw.githubusercontent.com/Maelic/RelateAnything/HEAD/README.md","label":"Official source"},{"url":"https://raw.githubusercontent.com/Maelic/RelateAnything/HEAD/LICENSE","label":"Official source"},{"url":"https://raw.githubusercontent.com/Maelic/RelateAnything/HEAD/NOTICE","label":"Official source"},{"url":"https://raw.githubusercontent.com/Maelic/RelateAnything/HEAD/THIRD_PARTY_NOTICES.md","label":"Official source"}],"licenseGuides":[{"id":"agpl-3","title":"AGPL 3.0 — copyleft with a network-service condition","scope":"RelateAnything code: AGPL-3.0-only + additional NOTICE terms; separate demo detector components also use AGPL.","summary":"Use, modification, and commercial use cases are permitted. GPL obligations apply to distribution. If you modify an AGPL-covered program and let users interact with it over a network, you must offer them the corresponding source code for that version. This applies to the covered program, not automatically to all your data or independent applications.","url":"https://opensource.org/license/agpl-3.0"},{"id":"custom","title":"Custom license — this product's terms apply","scope":"Released relation/text model checkpoints: DINOv3 terms according to THIRD_PARTY_NOTICES; the AGPL code license does not apply to these weights.","summary":"The license name does not imply standard MIT or GPL rights. Its own text determines permission to modify, work commercially, distribute, and use outputs. Follow the use case stated for the product above and the primary source for its terms.","url":null},{"id":"resource-specific","title":"Each asset has its own rights","scope":"RA-4M annotations/Gemma notices, demo assets, and separate pretrained/demo weights retain their component terms.","summary":"A catalog or gallery does not grant one license for all its content. Check code, fonts, images, models, and templates under the specific resource's license. Studying an idea and creating your own implementation is a different use case from copying source code or assets.","url":null}],"entryIds":[],"composition":null}