cv_raft_dense-optical-flow_things

我要开发同款
匿名用户2024年07月31日
37阅读
所属分类aipytorch、dense optical flow、feature corresponden、pose estimation、3D vision、XR
开源地址https://modelscope.cn/models/Damo_XR_Lab/cv_raft_dense-optical-flow_things
授权协议BSD 3-Clause License

作品详情

基于Transformer的图像稠密光流估计RAFT介绍

任务

输入两张RGB图像,稠密光流估计算法将输出两张图片对应像素的位移量

模型描述

本模型基于RAFT: Recurrent All-Pairs Field Transforms for Optical Flow算法。 技术细节请见:

RAFT: Recurrent All-Pairs Field Transforms for Optical Flow
Zachary Teed, Jia Deng
ECCV 2020

如何使用

代码示例(详见tests/pipelines/testdenseopticalflowestimation.py)

from modelscope.outputs import OutputKeys
from modelscope.pipelines import pipeline
from modelscope.utils.constant import Tasks
from modelscope.utils.test_utils import test_level

task = 'dense-optical-flow-estimation'
model_id = 'Damo_XR_Lab/cv_raft_dense-optical-flow_things'

input_location = [[path to image 1, path to image 2]]

estimator = pipeline(Tasks.dense_optical_flow_estimation, model=model_id)
result = estimator(input_location)
flow = result[0][OutputKeys.FLOWS]
flow_vis = result[0][OutputKeys.FLOWS_COLOR]

Bibtex

``` @misc{teed2020raft, title={RAFT: Recurrent All-Pairs Field Transforms for Optical Flow}, author={Zachary Teed and Jia Deng}, year={2020}, eprint={2003.12039}, archivePrefix={arXiv}, primaryClass={cs.CV} }

声明:本文仅代表作者观点,不代表本站立场。如果侵犯到您的合法权益,请联系我们删除侵权资源!如果遇到资源链接失效,请您通过评论或工单的方式通知管理员。未经允许,不得转载,本站所有资源文章禁止商业使用运营!
下载安装【程序员客栈】APP
实时对接需求、及时收发消息、丰富的开放项目需求、随时随地查看项目状态

评论