Comments (3)
Thanks for the kind words about aXeleRate.
Object detection models are more tricky than image classification models and their output need to be properly decoded to get bounding boxes. Different object detection architectures process the output of neural network differently - so as a rule of thumb, you cannot just take any example script and use it with any object detection network.
Fortunately I made example scripts for inference with Raspberry Pi, you can find them here
https://github.com/AIWintermuteAI/aXeleRate/tree/master/example_scripts/raspberry_pi
You can check this example and see if it works for you - if there are problems, do report here :)
Which board are you using? I mean for MaixPy. For rotated image, it is better to avoid rotating image, since this operation consumes memory and slows down the image processing pipeline. Can you just rotate the camera properly?
There are no readily available solutions for OCR on MaixPy - I've trained number detection model myself and it works pretty good, I think it is possible to add letters to the model as well. Anyhow, that will be two stage detection problem - first detect license place, then detect numbers/letters in cropped plate image. Maybe even make it three stage, if two stage doesn't work reliably - then it will be plate detection - character detection in cropped plate image - character recognition in cropped character image.
from axelerate.
Hi @AIWintermuteAI, thanks for the quick reply. Well I'm still learning (I'm a newbie) about this and didn't realize that I would have issues with the model itself depending on the type of training. For the example scripts I need the .tflite provide by Axelerate and I supposeed that I need to create a .txt file with the labels for the arguments in the detector_video.py , right?
I'm using MaixGo and I don't know how to explain the camera error properly but I'll do my best : The image in the screen (on the board) is always in rotation mode, I mean , I can't handle it properly because if I rotate the board the image is rotated too, so the image on the screen will always be upside down. About the OCR on the Maix, Can I combine two models ? like I said I'm still learning and right now I don't know how to do that , Can u give some advices to look information about that?.
Thanks for all the help , I really appreciate it.
from axelerate.
Sorry for delayed reply, got busy with other things and could continue working on aXeleRate only in December. I just published a new release.
For the example scripts I need the .tflite provide by Axelerate and I supposeed that I need to create a .txt file with the labels for the arguments in the detector_video.py , right?
yes, correct.
I'm using MaixGo and I don't know how to explain the camera error properly but I'll do my best : The image in the screen (on the board) is always in rotation mode, I mean , I can't handle it properly because if I rotate the board the image is rotated too, so the image on the screen will always be upside down.
I think you need to set vflip and horizontal flip for the sensor.
About the OCR on the Maix, Can I combine two models ?
You can have a look at example of two stage inference in MaixPy face recognition script here
https://github.com/sipeed/MaixPy_scripts/blob/master/machine_vision/face_recognization/demo_face_recognization.py
It's fairly easy - just perform object detection, crop the original image and feed the cropped image to the second network. If you have three stages (as in face recognition example), then repeat the process one more time.
If you have any other issues, please create a separate thread!
from axelerate.
Related Issues (20)
- 是否支持把没有目标的空背景和标签输入训练? HOT 2
- Does training with negative samples(pictures without objects of interest) increase accuracy? HOT 6
- Can the aXeleRate support the format? HOT 1
- k210 segnet HOT 1
- json.decoder.JSONDecodeError: Expecting ',' delimiter: line 35 column 2 (char 1325) HOT 5
- Run in Sipeed Maix Bit HOT 6
- Cannot convert tf to onnx in object detection HOT 2
- Training person detector with pascal_20_detection dataset error HOT 9
- tensorflow 2.5 error! HOT 1
- Support for custom input_size no work in kmodel HOT 4
- [unstable branch] validation frequency adding to config.json HOT 1
- [unstable branch] yolo training quantize or not can be switched by config.json HOT 1
- [unstable branch] yolo k210 converter failed while nncase compile and YOLOv3 convert incorrectly HOT 1
- Threads Error HOT 1
- The loss is not converge when training detector on VOC 2012 HOT 2
- When class names more than one, the mAP is false? HOT 5
- How calculate anchors by kmeans? HOT 2
- Multi Object Detect Is Wrong! HOT 2
- Loading kmodel on MaixPy crashing device HOT 25
- ValueError: Invalid value for argument filters. Expected a strictly positive value. Received filters=0. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from axelerate.