Can I compress it before uploading? I feel like the process of uploading large images takes up time. I don't quite understand collection. I have made a mobile version of h5. After taking pictures, I compress them directly and upload them. The upload is base64
Process and compress images directly after collecting them. Or you can reduce the resolution and size appropriately according to your needs and generate a preview image. Let law enforcement officers see the picture immediately, and then load the large picture.
I think it can be optimized in business. I personally think that only law enforcement personnel need to check illegal vehicles in real time in most cases, so the collection terminal analyzes illegal vehicles in real time (is it an overweight vehicle?), and if it is a vehicle that may be illegal , then these pictures and data have the highest priority, and a message can be sent directly to the law enforcement web program to notify the law enforcement officer. The law enforcement officer app first checks the database, and if there is no such image, it directly connects to the collection application to view the original image. As for storing pictures into the database, you can let the background program do it slowly and sequentially.
Can I compress it before uploading? I feel like the process of uploading large images takes up time. I don't quite understand collection. I have made a mobile version of h5. After taking pictures, I compress them directly and upload them. The upload is base64
If the upload is slow, increase the upload bandwidth.
The data collection application compresses the image before uploading it.
Process and compress images directly after collecting them. Or you can reduce the resolution and size appropriately according to your needs and generate a preview image. Let law enforcement officers see the picture immediately, and then load the large picture.
I think it can be optimized in business. I personally think that only law enforcement personnel need to check illegal vehicles in real time in most cases, so the collection terminal analyzes illegal vehicles in real time (is it an overweight vehicle?), and if it is a vehicle that may be illegal , then these pictures and data have the highest priority, and a message can be sent directly to the law enforcement web program to notify the law enforcement officer. The law enforcement officer app first checks the database, and if there is no such image, it directly connects to the collection application to view the original image. As for storing pictures into the database, you can let the background program do it slowly and sequentially.