-
Notifications
You must be signed in to change notification settings - Fork 207
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
metashape-scripts - detect_objects.py error #58
Comments
Hi, please share a project-reproducer to [email protected] with steps to reproduce (f.e. "open project -> run script with such parameters ..."), so we were able to reproduce and investigate the problem. Probably small part of the project will be enough - just make sure that it can reproduce the problem. |
hey ok |
Yes, it will be helpful in addition to project-reproducer. |
Hi, cv2 only accepts ASCII encoding, check encoding of your path in line 655 |
Hi I am also getting an error. What I am doing wrong? |
Hi, @arpitpara, please try the latest version of the script in Metashape 2.1. Does it work? |
I haven't checked it yet. I can't change the version due to some official issues. If it doesn't work then I will try to upgrade. |
Please share a project-reproducer to [email protected] with steps to reproduce (f.e. "open project -> run script with such parameters ..."), so we were able to reproduce and investigate the problem. Probably small part of the project will be enough - just make sure that it can reproduce the problem. |
Also, please specify - do you have any shapes with attached markers in shape layers used for training zones? |
Thanks @PolarNick239 !! |
Nice!
Please tell me more details - what question do you have? |
Well |
You can use File->Import Shapes..., just make sure that your data is in compatible format (objects annotations are in different layer from train zone and so on). Also, it is a good idea to evaluate your workflow with couple train objects, because it can take some attempts to refine workflow (to find proper format and so on), so don't annotate all objects until you ensured that your workflow works on small data. |
Hi I want to use - metashape-scripts - detect_objects.py
I installed everything properly, built an orthophoto and marked the cars with the name you wrote.
When I run the code I get an error.
@PolarNick239
The text was updated successfully, but these errors were encountered: