Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Distance Measurement #1

Open
hesamira opened this issue Dec 11, 2022 · 25 comments
Open

Distance Measurement #1

hesamira opened this issue Dec 11, 2022 · 25 comments

Comments

@hesamira
Copy link

Hi,

What is the reference for measuring distance to objects by camera? and how do you estimate it?

Please, help me. Thanks

@HassanBinHaroon
Copy link
Owner

HassanBinHaroon commented Dec 11, 2022 via email

@HassanBinHaroon
Copy link
Owner

HassanBinHaroon commented Dec 11, 2022 via email

@maulida16
Copy link

hello, i want to know if i can modify the program to use yolov4 instead of yolov5. is that possible? thank you

@HassanBinHaroon
Copy link
Owner

HassanBinHaroon commented Dec 11, 2022 via email

@HassanBinHaroon
Copy link
Owner

HassanBinHaroon commented Dec 11, 2022 via email

@Ahmedxxhatem
Copy link

hello
i have a problem with the code , i try to retrain the model from scratch to get good result but that error face me
ImportError: cannot import name 'multi_gpu_model' from 'keras.utils'

@HassanBinHaroon
Copy link
Owner

HassanBinHaroon commented Mar 2, 2023

@Ahmedxxhatem

Kindly send me your email, I'll send you the updated file. Try to retrain the model using that script then inform. Thanks!

@shermangugu
Copy link

Hello
I have a problem about distance_estimation.
In the step of Train Pre-Trained Model, where are train.csv and test.csv obtained from?
Thank

@HassanBinHaroon
Copy link
Owner

Hello I have a problem about distance_estimation. In the step of Train Pre-Trained Model, where are train.csv and test.csv obtained from? Thank
Hi!

For training on a new dataset, you have to generate train.csv and test.csv using generate-csv.py.

For mentioned dataset, they are already created using generate-csv.py.

Thanks!

@shermangugu
Copy link

Hello I have a problem about distance_estimation. In the step of Train Pre-Trained Model, where are train.csv and test.csv obtained from? Thank
Hi!

For training on a new dataset, you have to generate train.csv and test.csv using generate-csv.py.

For mentioned dataset, they are already created using generate-csv.py.

Thanks!

First of all thank you for your reply,
but after i use ' python generate-csv.py --input=kitti-dataset/train_annots/ --filename=annotations.csv --results . '
i only got an annotations.csv.

@HassanBinHaroon
Copy link
Owner

HassanBinHaroon commented Apr 19, 2023 via email

@HassanBinHaroon
Copy link
Owner

HassanBinHaroon commented Apr 19, 2023 via email

@Ahmedxxhatem
Copy link

@Ahmedxxhatem

Kindly send me your email, I'll send you the updated file. Try to retrain the model using that script then inform. Thanks!
[email protected] and thank u man

@HassanBinHaroon
Copy link
Owner

HassanBinHaroon commented Apr 23, 2023 via email

@hesamira
Copy link
Author

hesamira commented Apr 23, 2023

Hi,

To measure the distance with the mono camera, should we apply the distance measurement with the camera in collecting images or videos with the camera and training data? If so, how?

Thanks.

@hesamira
Copy link
Author

Could you implement collision avoidance in your code?

@HassanBinHaroon
Copy link
Owner

HassanBinHaroon commented Apr 23, 2023 via email

@HassanBinHaroon
Copy link
Owner

HassanBinHaroon commented Apr 23, 2023 via email

@hesamira
Copy link
Author

hesamira commented Apr 23, 2023

How to measure the distance of every object while data collection? Did you use a special sensor? For example Ultrasonic sensor or ...

@HassanBinHaroon
Copy link
Owner

HassanBinHaroon commented Apr 23, 2023 via email

@HassanBinHaroon
Copy link
Owner

HassanBinHaroon commented Apr 23, 2023 via email

@hesamira
Copy link
Author

Thank you for your guidance.
What is the maximum distance the camera can measure? Does it support a distance of more than 10-20 meters?
Can you share the updated code for measuring the distance with the camera?
Thanks.

@HassanBinHaroon
Copy link
Owner

HassanBinHaroon commented Apr 24, 2023 via email

@Ahmedxxhatem
Copy link

Ahmedxxhatem commented Apr 25, 2023 via email

@HassanBinHaroon
Copy link
Owner

Waiting u my friend On Sun, Apr 23, 2023, 11:46 AM Hassan Bin Haroon @.> wrote:

Hi! Actually there are holidays from 21st to 25th April in my country. I can send you the file after holidays. On Sun, 23 Apr 2023, 5:16 am Ahmedxxhatem, @.
> wrote: > @Ahmedxxhatem https://github.com/Ahmedxxhatem > > Kindly send me your email, I'll send you the updated file. Try to retrain > the model using that script then inform. Thanks! > @.*** and thank u man > > — > Reply to this email directly, view it on GitHub > < #1 (comment) >, > or unsubscribe > < https://github.com/notifications/unsubscribe-auth/AY2GYVRAFDDOVKSGBALJEQLXCRYGHANCNFSM6AAAAAAS25HEEM > > . > You are receiving this because you commented.Message ID: > </issues/1/1518902683 > @github.com> > — Reply to this email directly, view it on GitHub <#1 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYJUBQOZXO6QHMO67MIZTBLXCT26NANCNFSM6AAAAAAS25HEEM . You are receiving this because you were mentioned.Message ID: </issues/1/1519014943 @github.com>
Screenshot 2023-04-26 114042

@Ahmedxxhatem It running at my PC.

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

No branches or pull requests

5 participants