Viewing 4 reply threads
  • Author
    Posts
    • #4101 Score: 0
      米色猫猫
      Participant
      -1 pt

      只加了三个插值,运行了一下结果,结果显示OpenCV error,Assertion failed(scn == 3 || scn == 4) in cvtColor,不知道哪里出现问题,求帮忙。。

      Attachments:
      You must be logged in to view attached files.
    • #4107 Score: 0
      Bear
      Participant
      -11 pt

      你 view_pos 没赋值

      • #4155 Score: 0
        米色猫猫
        Participant
        -1 pt

        还是不行。。。我加了view_pos 和shadingcoords插值

        Attachments:
        You must be logged in to view attached files.
    • #4154 Score: 0
      Songsong
      Participant
      4 pts

      楼主这个问题解决了吗

      • #4157 Score: 0
        米色猫猫
        Participant
        -1 pt

        没有。。。。

        • #4160 Score: 1
          Songsong
          Participant
          4 pts

          在其他帖子说有可能是路径里未加载到,我这边显示是有该文件的

          This post has received 1 vote up.
          • #4161 Score: 0
            米色猫猫
            Participant
            -1 pt

            谢谢,我再去查查

            • #4171 Score: 0
              Songsong
              Participant
              4 pts

              有方法了也告知下哈

              • #4175 Score: 0
                米色猫猫
                Participant
                -1 pt

                你也是这个问题吗

                • #4176 Score: 0
                  Songsong
                  Participant
                  4 pts

                  是的,提示这个cvcolor错误

                  • #4436 Score: 0
                    米色猫猫
                    Participant
                    -1 pt

                    换成绝对路径已经好使了,我的Ubuntu炸了。。刚能用VS试

                    Attachments:
                    You must be logged in to view attached files.
    • #4180 Score: 0
      sQ
      Participant
      2 pts

      在set texture里面,imread前面输出读取路径。然后看看读取的img size是什么。有该文件的时候需要确定程序运行路径。
      可以先把相对路径改成绝对路径试试

      • #4438 Score: 0
        米色猫猫
        Participant
        -1 pt

        换成绝对路径好使了,太感谢了

    • #4218 Score: 0
      zycliao
      Participant

      应该是imread出错了,你看看model里面的文件位置都对不对。

Viewing 4 reply threads
  • You must be logged in to reply to this topic.