ppwwyyxx / OpenPano

Automatic Panorama Stitching From Scratch
MIT License
1.85k stars 552 forks source link

双目AI球型摄像机拼接 #123

Open freebooterish opened 2 years ago

freebooterish commented 2 years ago

您好!感谢您的项目分享,有个问题请教:现在有4个球形摄像头在体育场四角摄像,我用ffmpeg截取了同一时刻的四张图片来拼图,结果显示 error: Image 0 and 1 don't match,config.cfg和4个图片在附件,摄像机参数见4,请您给个参数建议,如何能正确拼接,非常谢谢!

  1. What you did: the command you run / config you use. ./image-stitching m1.jpg m2.jpg m3.jpg m4.jpg

  2. What you observed: full logs, and other relevant information (e.g., images). [init_config@main.cc:250] Run with translation mode. [calc_feature@stitcherbase.cc:22] Image 0 has 2362 features [calc_feature@stitcherbase.cc:22] Image 1 has 2190 features [calc_feature@stitcherbase.cc:22] Image 2 has 2315 features [calc_feature@stitcherbase.cc:22] Image 3 has 2373 features calc_feature(): 2180.726000 milliseconds. BuildTrees: 58.243000 milliseconds. [match_image@stitcher.cc:77] Reject bad match with 12 inlier from 0 to 1 error: Image 0 and 1 don't match

  3. What you expected, if not obvious.

  4. Your environment information. macos, python3.8 摄像机在体育场的四个角,为400万双目AI球型摄像机,参数如下: M6741-10-Z40-E2
    2T 400万双目AI球型摄像机 芯片 Hi3519AV100 Flash SPI NAND FLASH Sensor最大图像尺寸 广角定焦: 4MP 2560(H)1440(V) 变焦: 4MP 2560(H)1440(V) Sensor感光面尺寸 1/1.8" CMOS 镜头焦距 广角定焦:5mm; 变焦:6-240mm 镜头视角 广角定焦:95°(水平);50°(垂直); 变焦:水平:2°(T端)~60.9°(W端);垂直:1.2°(T端)~35.3°(W端) 红外灯补光距离 200m 白光灯补光距离 30m 视频编码格式 MJPEG/H.264/H.265

imgs-config.zip

HparkeY commented 1 year ago

运行image-stitching的时候,你的ram和cpu资源消耗是多少?