Skip to content

Conversation

@Tirtza-L
Copy link
Collaborator

@Tirtza-L Tirtza-L commented Oct 8, 2024

No description provided.

Copy link
Collaborator

@ChedvaErblich ChedvaErblich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few general comments:

  1. Please make sure not to write commit titles that are too long.
    The title should be short, and if there is additional content, it should be placed in the body of the message.
    There should be a blank line between the title and the body, otherwise, everything will be included as the title.
  2. Please have someone else review the code, and after she approves it, I'll push it in.

{
X sum;
std::vector<T> temp;
for (int i = 0; i < A.size(); i++)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On for the closing bracket should start the loop line

return linesP;
}

bool LaneDetector::drawLanes(std::vector<Vec4i> lines)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you should base your commit on the SHOW_FRAMES flag that will be added soon to main

int Manager::processing(const Mat &newFrame, bool isTravel)
{
// Start measuring time
auto start = high_resolution_clock::now();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it for your tests?
I don't think it's part of your comment, right?


laneDetector.init();

while(true)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On while the closing bracket should start the loop line


laneDetector.manageLaneDetector(sharedFrame);
laneDetector.drawLanesOnImage(sharedFrame);

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this blank line

longTime = duration.count();
}
if(duration.count() < longTime){
int key1 = waitKey( longTime - duration.count());
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's better to have a separate commit for this change

@Tirtza-L Tirtza-L force-pushed the img_processing/add-lane-detection branch 5 times, most recently from 59905e4 to 82c2891 Compare October 9, 2024 12:24
@TziporaGoldshmidt TziporaGoldshmidt force-pushed the img_processing/add-lane-detection branch from 82c2891 to 59905e4 Compare October 9, 2024 12:55
@TziporaGoldshmidt TziporaGoldshmidt force-pushed the img_processing/add-lane-detection branch from 59905e4 to 1abbbb7 Compare October 9, 2024 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants