developer0hye / Yolo_Label

GUI for marking bounded boxes of objects in images for training neural network YOLO

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The dll I use to run the existing .exe and the dll in the .exe built by qt are different and I get a lot of disconnections when moving the mouse. Can you see why?

c1jm77 opened this issue · comments

commented
  1. When I run it in debug mode, the dll looks different. Like Qt5cored.dll, d is added. Does this issue affect mouse hangup?

  2. Mouse crosses are very slow to follow. And it got worse when the window was maximized.
    The readme's window and the current window look different and updated, but where is the object name and color part cut off the color part? In other words, is it because the slider bar that pushes it to the side is below it?
    (한국인이시면 한국어로 해주시면 감사하겠습니다.)

commented

debug mode run.............. sorry

commented

There is still stuttering when maximizing the program. And the list of objects is truncated.

해결됐다니 다행입니다 ^^~

commented
  1. 해상도가 어떻게 되나요?
  2. 짤림현상에 대해 사진을 첨부해주시길 바랍니다.
commented

아.. 4k 해상도에서 리사이징에 필요한 연산량이 많은지 버벅이더라고요. 라벨링할땐 fhd 해상도에서 합니다. 네 사진이 안보이네요 ㅜ

commented

@c1jm77
아 안짤리는 게 맞습니다. 시간날때 한 번 수정해보도록 하겠습니다. 아니면 풀리퀘스트 보내주시면 머지하도록 하겠습니다.

commented
commented

@c1jm77

맞습니다. 지금은 리사이징시 종횡비를 고려하지 않고 있습니다. 종횡비를 고려하려면 이미지 리사이즈 방법을 수정해야합니다.

letter box resize method, aspect ratio preserved image resize method 등의 키워드로 검색해보시면 감이 오실듯 합니다.

https://github.com/developer0hye/YOLOv3Tiny/blob/c6df418ca0c5949386412a57423ad4bed691f547/augmentation.py#L25-L72

구현하면 좋은 기능이나 최대한 심플하게 구현하는 걸 목표로 삼았었기에 해당 기능을 구현하지 않았습니다.

commented

mainwindow는 전반적인 ui 구성과 이벤트를 다룹니다. 그중에서 일부가 label_image입니다. 그리고 label_image 클래스는 mainwindow에서 화면이 출력되는 frame 영역내에서 발생하는 마우스 이벤트를 처리하며 그 이벤트에 따라 적절하게 이미지 상에 박스나 크로스라인을 그립니다. 이미지에 대한 data 부분을 접근하려면 label_image내에 m_inputImg 객체를 접근하면 됩니다. 이는 QImage 클래스의 객체로 QImage 를 공부해보시면 될 거 같습니다.

commented

@c1jm77 흠... 저도 언급하신 부분에 대해서는 잘 모르겠네요... KeepAspectRatio로 이미지를 출력했을때 aspect ratio 가 유지된채로 리사이즈가 되던가요?

commented

@c1jm77
아니요 ㅜ 3D는 다뤄보지 못했습니다. 해내셨다니 멋지시네요. 축하드립니다!