Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
L
Lima
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 62
    • Issues 62
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Jira
    • Jira
  • Merge Requests 4
    • Merge Requests 4
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • LimaGroup
  • Lima
  • Issues
  • #131

Closed
Open
Opened Aug 20, 2020 by Perceval Guillou@pguillou
  • Report abuse
  • New issue
Report abuse New issue

"InvalidValue: Roi out of limits" when applying rotation with an image_roi already defined

If a rotation of 90deg is set while a roi is already defined, then Lima tries to recompute the roi but then it checks that the new roi is included in the fullframe rect but it forgets to rotate the fullframe sizes.

example: if rot = 0 => camera fullsize: w=800, h=600

     + set a roi  => proxy.image_roi = 300,50,450,300

then we apply a rotation: proxy.image_rotation = '90' => lima applies rotation and then compute a new_roi => 250,300,300,450 BUT it checks that new_roi is included in fullframe <800, 600> and fails because the new roi is off It should have checked that the new_roi is in the rotated fullframe <600, 800> !

InvalidValue: Roi out of limitsm_max_roi=<0,0>-<800x600>, roi=<250,300>-<300x450>

if current rotation is 90 or 270, limitsm_max_roi should return <0,0>-<600x800> instead of <0,0>-<800x600>

Edited Aug 25, 2020 by Samuel Debionne
Assignee
Assign to
v1.9.6
Milestone
v1.9.6
Assign milestone
Time tracking
None
Due date
None
1
Labels
Testing
Assign labels
  • View project labels
Reference: limagroup/lima#131